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

Method WriteMem32

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

Source from the content-addressed store, hash-verified

49 }
50
51 void Intel8254x::WriteMem32(uintptr_t address, uint32_t data){
52 if(useIO){
53 outportl(ioBase + address, data);
54 } else {
55 *((uint32_t*)(reinterpret_cast<uintptr_t>(memBaseVirt) + address)) = data;
56 }
57 }
58
59 uint32_t Intel8254x::ReadMem32(uintptr_t address){
60 if(useIO){

Callers

nothing calls this directly

Calls 1

outportlFunction · 0.85

Tested by

no test coverage detected