mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-06 06:53:39 +00:00
All code needs uvm32_sys.h, but uvm32_common_custom.h is optional (and has defs needed for demos)
15 lines
407 B
C
15 lines
407 B
C
#ifndef UVM32_SYS_H
|
|
#define UVM32_SYS_H 1
|
|
|
|
// Common definitions used by both uvm32.c and any code running inside VM
|
|
|
|
// System provided UVM32_SYSCALLs, start at 0x10000000
|
|
#define UVM32_SYSCALL_HALT 0x1000000
|
|
#define UVM32_SYSCALL_YIELD 0x1000001
|
|
#define UVM32_SYSCALL_STACKPROTECT 0x1000002
|
|
|
|
// Address of External RAM, when offered by host
|
|
#define UVM32_EXTRAM_BASE 0x10000000
|
|
|
|
#endif
|
|
|