MCPcopy Create free account
hub / github.com/chyyuu/os_kernel_lab / kernel_token

Function kernel_token

os/src/mm/memory_set.rs:32–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32pub fn kernel_token() -> usize {
33 KERNEL_SPACE.exclusive_access().token()
34}
35
36pub struct MemorySet {
37 page_table: PageTable,

Callers 2

virt_to_physMethod · 0.85
sys_thread_createFunction · 0.85

Calls 2

exclusive_accessMethod · 0.80
tokenMethod · 0.45

Tested by

no test coverage detected