shithub: purgatorio

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