18#ifndef __SERVER_SERIAL_I8250_H
19#define __SERVER_SERIAL_I8250_H
Abstract Input/Output buffer.
Provides sequential byte stream of incoming (RX) and outgoing (TX) data.
Constants
Constants used to communicate with the UART.
virtual FileSystem::Result read(IOBuffer &buffer, Size &size, const Size offset)
Read bytes from the device.
virtual FileSystem::Result initialize()
Initializes the i8250 serial UART.
virtual FileSystem::Result write(IOBuffer &buffer, Size &size, const Size offset)
Write bytes to the device.
virtual FileSystem::Result interrupt(const Size vector)
Called when an interrupt has been triggered for this device.
unsigned int u32
Unsigned 32-bit number.
unsigned short u16
Unsigned 16-bit number.
unsigned int Size
Any sane size indicator cannot go negative.
Result
Result code for filesystem Actions.