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

Function IsPageTableEntryValid

tests/unit_test/mocks/cpu_io.h:170–172  ·  view source on GitHub ↗

页表项操作函数

Source from the content-addressed store, hash-verified

168
169// 页表项操作函数
170inline auto IsPageTableEntryValid(uint64_t pte) -> bool {
171 return (pte & kValid) != 0;
172}
173
174inline auto PageTableEntryToPhysical(uint64_t pte) -> uint64_t {
175 return pte & 0x000FFFFFFFFFF000ULL;

Callers 6

MapPageMethod · 0.85
UnmapPageMethod · 0.85
GetMappingMethod · 0.85
FindPageTableEntryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected