From 3bba2df34be1680777ff85ad4fbc43717609ec75 Mon Sep 17 00:00:00 2001 From: Miguel Date: Thu, 13 Sep 2018 14:40:09 +0200 Subject: thinking about syscalls and newlib ... --- interface/syscall.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 interface/syscall.h (limited to 'interface/syscall.h') diff --git a/interface/syscall.h b/interface/syscall.h new file mode 100644 index 0000000..43a06fd --- /dev/null +++ b/interface/syscall.h @@ -0,0 +1,11 @@ +/* + * Issue a System Call from Ring 3 / User Space + * + * Syscalls Have up to 3 parameters. Unused Parameters are just ignored. + * Check syscalls.h for details. + */ + +uint32_t syscall(uint32_t code, + uint32_t param_1, + uint32_t param_2, + uint32_t param_3); -- cgit v1.2.3