MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / SyscallHandler

Function SyscallHandler

src/arch/riscv64/interrupt_main.cpp:68–72  ·  view source on GitHub ↗

系统调用处理

Source from the content-addressed store, hash-verified

66
67// 系统调用处理
68auto SyscallHandler(uint64_t /*cause*/, cpu_io::TrapContext* context)
69 -> uint64_t {
70 Syscall(0, context);
71 return 0;
72}
73
74// 软中断 (IPI) 处理
75auto IpiHandler(uint64_t /*cause*/, cpu_io::TrapContext* /*context*/)

Callers

nothing calls this directly

Calls 1

SyscallFunction · 0.70

Tested by

no test coverage detected