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

Method GetMinMemoryPageSize

Kernel/include/nvme.h:331–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329 }
330
331 __attribute__((always_inline)) inline uint32_t GetMinMemoryPageSize(){
332 return 0x1000 /*(1 << 12)*/ << NVME_CAP_MPSMIN(cRegs->cap);
333 }
334
335 __attribute__((always_inline)) inline uint32_t GetDoorbellStride(){
336 return NVME_CAP_DSTRD(cRegs->cap);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected