Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ outportb
Function
outportb
Kernel/src/arch/x86_64/system.cpp:3–5 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#include <system.h>
2
extern
"C"
{
3
void outportb(uint16_t port, uint8_t value){
4
asm volatile (
"outb %1, %0"
: :
"dN"
(port),
"a"
(value));
5
}
6
7
uint8_t inportb(uint16_t port){
8
uint8_t value;
Callers
14
Initialize
Function · 0.85
DisablePIC
Function · 0.85
laihost_outb
Function · 0.85
Write
Function · 0.85
Install
Function · 0.85
initialize_serial
Function · 0.85
write_serial
Function · 0.85
write_serial_n
Function · 0.85
Install
Function · 0.85
Initialize
Function · 0.85
ConfigWriteByte
Function · 0.85
WriteRegister
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected