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

Method ReadMem32

Kernel/src/net/8254x.cpp:59–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 }
58
59 uint32_t Intel8254x::ReadMem32(uintptr_t address){
60 if(useIO){
61 return inportl(ioBase + address);
62 } else {
63 return *((uint32_t*)(reinterpret_cast<uintptr_t>(memBaseVirt) + address));
64 }
65 }
66
67 uint16_t Intel8254x::ReadEEPROM(uint8_t addr) {
68 uint32_t temp = 0;

Callers

nothing calls this directly

Calls 1

inportlFunction · 0.85

Tested by

no test coverage detected