Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ init
Function
init
os/src/trap/mod.rs:19–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
global_asm!(include_str!(
"trap.S"
));
18
19
pub fn init() {
20
set_kernel_trap_entry();
21
}
22
23
fn set_kernel_trap_entry() {
24
extern
"C"
{
Callers
nothing calls this directly
Calls
1
set_kernel_trap_entry
Function · 0.85
Tested by
no test coverage detected