kernel/inc/utils/io.h

14 lines
301 B
C

// This file is part of noxos and licensed under the MIT open source license
#ifndef NOX_IO_H
#define NOX_IO_H
#include "stdtypes.h"
// sends one byte to a port
void io_out_byte (uint16_t port, uint8_t data);
uint8_t io_in_byte (uint16_t port);
void io_wait ();
#endif //NOX_IO_H