[zion] Handle syscall cases by macro as well.

This commit is contained in:
Drew Galbraith 2023-06-20 13:50:18 -07:00
parent 5fc7296b20
commit 76107b7db7
3 changed files with 23 additions and 17 deletions

View file

@ -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