VIRTUTECH CONFIDENTIAL Previous - Up - Next
extended_serial
- Implemented By
-
text-console
- Description
-
This interface extends the SERIAL_DEVICE_INTERFACE with
a write_at() function. It is similar to the write()
function of the mentioned interface, but accepts an on-screen character
position. This interface is implemented by text consoles allowing them
to be connected to text oriented frame buffers, such as VGA in text mode.
typedef struct {
void (*write_at)(conf_object_t *obj,
int value, int x, int y, int fg, int bg);
void (*graphics_mode)(conf_object_t *obj, int in_graphics_mode);
} extended_serial_interface_t;
#define EXTENDED_SERIAL_INTERFACE "extended-serial"
VIRTUTECH CONFIDENTIAL Previous - Up - Next