Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ outportw
Function
outportw
Kernel/src/arch/x86_64/system.cpp:13–15 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
11
}
12
13
void outportw(uint16_t port, uint16_t value){
14
asm volatile (
"outw %1, %0"
: :
"dN"
(port),
"a"
(value));
15
}
16
17
uint16_t inportw(uint16_t port){
18
uint16_t value;
Callers
1
laihost_outw
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected