mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
Cleanup syscall numbers
This commit is contained in:
parent
61fe0e8647
commit
9d6e6790e1
19 changed files with 32 additions and 32 deletions
|
|
@ -1,11 +1,11 @@
|
|||
// Definitions needed by both host and target
|
||||
|
||||
// syscalls for exposed host functions
|
||||
#define UVM32_SYSCALL_PRINT 0x13A
|
||||
#define UVM32_SYSCALL_PRINTLN 0x13B
|
||||
#define UVM32_SYSCALL_PRINTD 0x13C
|
||||
#define UVM32_SYSCALL_PRINTX 0x13D
|
||||
#define UVM32_SYSCALL_MILLIS 0x13F
|
||||
#define UVM32_SYSCALL_PRINTC 0x140
|
||||
#define UVM32_SYSCALL_GETC 0x141
|
||||
// syscalls for exposed host functions, start at 0
|
||||
#define UVM32_SYSCALL_PRINTC 0x00000000
|
||||
#define UVM32_SYSCALL_GETC 0x00000001
|
||||
#define UVM32_SYSCALL_PRINT 0x00000002
|
||||
#define UVM32_SYSCALL_PRINTLN 0x00000003
|
||||
#define UVM32_SYSCALL_PRINTD 0x00000004
|
||||
#define UVM32_SYSCALL_PRINTX 0x00000005
|
||||
#define UVM32_SYSCALL_MILLIS 0x00000006
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// System provided UVM32_SYSCALLs
|
||||
#define UVM32_SYSCALL_HALT 0x138
|
||||
#define UVM32_SYSCALL_YIELD 0x139
|
||||
// System provided UVM32_SYSCALLs, start at 0x10000000
|
||||
#define UVM32_SYSCALL_HALT 0x1000000
|
||||
#define UVM32_SYSCALL_YIELD 0x1000001
|
||||
|
||||
#include "uvm32_common_custom.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue