MCPcopy 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>
2extern "C"{
3void outportb(uint16_t port, uint8_t value){
4 asm volatile ("outb %1, %0" : : "dN" (port), "a" (value));
5}
6
7uint8_t inportb(uint16_t port){
8 uint8_t value;

Callers 14

InitializeFunction · 0.85
DisablePICFunction · 0.85
laihost_outbFunction · 0.85
WriteFunction · 0.85
InstallFunction · 0.85
initialize_serialFunction · 0.85
write_serialFunction · 0.85
write_serial_nFunction · 0.85
InstallFunction · 0.85
InitializeFunction · 0.85
ConfigWriteByteFunction · 0.85
WriteRegisterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected