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

Method GetMaxMemoryPageSize

Kernel/include/nvme.h:327–329  ·  view source on GitHub ↗

Capabilities

Source from the content-addressed store, hash-verified

325
326 // Capabilities
327 __attribute__((always_inline)) inline uint32_t GetMaxMemoryPageSize(){
328 return 0x1000 /*(1 << 12)*/ << NVME_CAP_MPSMAX(cRegs->cap);
329 }
330
331 __attribute__((always_inline)) inline uint32_t GetMinMemoryPageSize(){
332 return 0x1000 /*(1 << 12)*/ << NVME_CAP_MPSMIN(cRegs->cap);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected