10 lines
165 B
C
10 lines
165 B
C
|
#pragma once
|
||
|
|
||
|
#include "cpu_context.h"
|
||
|
|
||
|
|
||
|
#define SYSCALL_ID_EXIT 1
|
||
|
#define SYSCALL_ID_WRITE 2
|
||
|
|
||
|
int syscallExecute(int syscallId, const struct cpu_state *user_ctx);
|