From 2c605cff1b1814cd2303163480406c78c3c3feb8 Mon Sep 17 00:00:00 2001 From: antifallobst Date: Mon, 29 May 2023 02:13:52 +0200 Subject: [PATCH] added more information on how to call a syscall --- kernel/sysabi.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/sysabi.md b/kernel/sysabi.md index f9139e7..13eefe1 100644 --- a/kernel/sysabi.md +++ b/kernel/sysabi.md @@ -12,6 +12,10 @@ To perform a syscall, you need to populate the following registers: | rdx | Argument 3 | | rcx | Argument 4 | +Then you need to call interrupt `0x80`. + +libnx provides abstractions for all syscalls. + --- The following calls should be implemented to some degree in noxos 1.0.