Initial Commit

This commit is contained in:
SoraKatadzuma committed 2026-12-06 13:52:57 -06:00
commit 528ccf1523
782 files changed
+145156

No files matched your search

+20
View File
@@ -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;