MCPcopy Create free account
hub / github.com/Infinity-OS/infinity / set

Method set

src/memory/paging/entry.rs:27–30  ·  view source on GitHub ↗
(&mut self, frame: Frame, flags: EntryFlags)

Source from the content-addressed store, hash-verified

25 }
26
27 pub fn set(&mut self, frame: Frame, flags: EntryFlags) {
28 assert!(frame.start_address() & !0x000fffff_fffff000 == 0);
29 self.0 = (frame.start_address() as u64) | flags.bits();
30 }
31}
32
33bitflags! {

Callers 4

withMethod · 0.80
newMethod · 0.80
map_toMethod · 0.80
next_table_createMethod · 0.80

Calls 1

start_addressMethod · 0.45

Tested by

no test coverage detected