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

Function inportl

Kernel/src/arch/x86_64/system.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37uint32_t inportl(uint16_t port){
38 uint32_t value;
39 asm volatile("inl %1, %0" : "=a" (value) : "dN" (port));
40 return value;
41}
42}

Callers 6

ConfigReadDwordFunction · 0.85
ConfigReadWordFunction · 0.85
ConfigReadByteFunction · 0.85
ConfigWriteWordFunction · 0.85
ConfigWriteByteFunction · 0.85
ReadMem32Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected