Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YatSenOS/YatSenOS-Tutorial-Volume-1
/ setSystemCall
Method
setSystemCall
lab8/src/7/src/kernel/syscall.cpp:21–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
}
20
21
bool SystemService::setSystemCall(int index, int function)
22
{
23
system_call_table[index] = function;
24
return true;
25
}
26
27
int write(const char *str) {
28
return asm_system_call(1, (int)str);
Callers
1
setup_kernel
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected