shithub: purgatorio

ref: 41e27b2d10c6a60c49931332e8677438736a1e36
dir: /os/js/iob.c/

View raw version
#include "u.h"

void
outb(ulong addr, uchar val)
{
	*(uchar*)addr = val;
}

uchar
inb(ulong addr)
{
	return *(uchar*)addr;
}