summaryrefslogtreecommitdiff
path: root/kernel/portio.h
blob: 06e0802f07466e5f3728f81e75fc5256b2dfcf4d (plain)
1
2
3
4
5
6
#ifndef PORTIO_H
#define PORTIO_H

#define outb(port, value) asm volatile("out %b0,%w1" : : "a" (value), "d" (port));

#endif