Initial Commit
This commit is contained in:
706 files changed
+135430
No files matched your search
@@ -0,0 +1,20 @@
|
||||
#! @file linux_x86_64.sakura
|
||||
#! @author John Christman (sorakatadzuma@gmail.com)
|
||||
#! @copyright Malunal Studios, LLC.
|
||||
#! @license MIT
|
||||
#!
|
||||
#! Contains the numbers of the system calls the runtime makes on Linux, on
|
||||
#! x86-64.
|
||||
#!
|
||||
#! What the runtime needs to know of Linux on x86-64: the numbers of the system
|
||||
#! calls it makes. Another platform declares these names in a section of its
|
||||
#! own.
|
||||
|
||||
module runtime when backend == native && os == linux && arch == x86_64;
|
||||
|
||||
val call_write: i64 = 1;
|
||||
val call_mmap: i64 = 9;
|
||||
val call_mprotect: i64 = 10;
|
||||
val call_munmap: i64 = 11;
|
||||
val call_mremap: i64 = 25;
|
||||
val call_exit_group: i64 = 231;
|
||||
Reference in new issue
Block a user