2022-11-16 21:12:19 +01:00
|
|
|
#ifndef TSOS_DRV_PORTS_H
|
|
|
|
#define TSOS_DRV_PORTS_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "kernel/ktypes.h"
|
|
|
|
|
|
|
|
|
2022-11-17 12:42:45 +01:00
|
|
|
byte readByte(u16 port);
|
|
|
|
void writeByte(u16 port, byte data);
|
|
|
|
u16 readWord(u16 port);
|
|
|
|
void writeWord(u16 port, u16 data);
|
2022-11-16 21:12:19 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|