diff options
| author | Miguel <m.i@gmx.at> | 2018-09-13 14:40:09 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-13 14:40:09 +0200 |
| commit | 3bba2df34be1680777ff85ad4fbc43717609ec75 (patch) | |
| tree | 983e3c2b5667e3aa150502f59453ecebeeeba63a /interface/syscall.h | |
| parent | f844fafd324fbf4c7a986df2f0814f2e2d93bcd8 (diff) | |
thinking about syscalls and newlib ...
Diffstat (limited to 'interface/syscall.h')
| -rw-r--r-- | interface/syscall.h | 11 |
1 files changed, 11 insertions, 0 deletions
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); |
