shithub: purgatorio

ref: ad5a80bfb081dc954be03836cc65090e0f6c7e4f
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;
}