MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / SetPageFlags

Function SetPageFlags

Kernel/include/arch/x86_64/paging.h:128–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126 }
127
128 inline void SetPageFlags(uint64_t* page, uint64_t flags){
129 *page |= flags;
130 }
131
132 inline uint32_t GetPageFrame(uint64_t p) {
133 return (p & PAGE_FRAME) >> 12;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected