[zion] Handle syscall cases by macro as well.
This commit is contained in:
parent
5fc7296b20
commit
76107b7db7
3 changed files with 23 additions and 17 deletions
|
|
@ -30,12 +30,12 @@ typedef uint64_t z_err_t;
|
|||
* ------------------------------*/
|
||||
|
||||
// Process Calls.
|
||||
#define Z_PROCESS_EXIT 0x01
|
||||
const uint64_t kZionProcessExit = 0x1;
|
||||
#define Z_PROCESS_SPAWN 0x02
|
||||
#define Z_PROCESS_START 0x03
|
||||
|
||||
// Thread Calls.
|
||||
#define Z_THREAD_CREATE 0x10
|
||||
const uint64_t kZionThreadCreate = 0x10;
|
||||
#define Z_THREAD_START 0x11
|
||||
#define Z_THREAD_EXIT 0x12
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue