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,10 +1,11 @@
|
|||
// Definitions needed by both host and target
|
||||
|
||||
// CSRs 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
|
||||
// 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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue