|
NOVA User-Level Environment
Version testbox/changed-memory-timing-317-g320d8b5
|
Virtual Bios keyboard routines. More...
Public Member Functions | |
| bool | receive (MessageInput &msg) |
| Handle messages from the keyboard host driver. | |
| bool | receive (MessageHostOp &msg) |
| Answer HostRequests from DummyHostDevices. | |
| bool | receive (MessageIOIn &msg) |
| Forward IO messages to the device models and vice-versa. | |
| bool | receive (MessageIOOut &msg) |
| bool | receive (MessageBios &msg) |
| bool | receive (MessageDiscovery &msg) |
| VirtualBiosKeyboard (Motherboard &mb) | |
Public Member Functions inherited from StaticReceiver< VirtualBiosKeyboard > | |
| StaticReceiver () | |
Public Member Functions inherited from Device | |
| void | debug_dump () |
| Device (const char *debug_name) | |
Private Member Functions | |
| void | check_key (unsigned &status, unsigned key, unsigned bit, unsigned keycode) |
| void | update_status (unsigned key) |
| bool | handle_int09 (CpuState *cpu) |
| Handle the Keyboard IRQ. | |
| bool | handle_int16 (MessageBios &msg) |
| Keyboard INT handler. | |
Static Private Member Functions | |
| static unsigned | keycode2bios (unsigned value) |
| Converts our internal keycode format into the BIOS one. | |
Private Attributes | |
| Motherboard * | _hostmb |
| unsigned | _lastkey |
Additional Inherited Members | |
Public Types inherited from BiosCommon | |
| enum | { RESET_VECTOR = 0x100, MAX_VECTOR } |
Static Public Member Functions inherited from StaticReceiver< VirtualBiosKeyboard > | |
| static bool | receive_static (Device *o, M &msg) |
Static Public Member Functions inherited from DiscoveryHelper< BiosCommon > | |
| static bool | discover (Device *o, MessageDiscovery &msg) |
Public Attributes inherited from BiosCommon | |
| Motherboard & | _mb |
Protected Member Functions inherited from BiosCommon | |
| void | write_bda (unsigned short offset, unsigned value, unsigned len) |
| Write bios data helper. | |
| unsigned | read_bda (unsigned offset) |
| Read bios data helper. | |
| bool | jmp_int (MessageBios &msg, unsigned char number) |
| Jump to another realmode INT handler. | |
| bool | jmp_hlt (MessageBios &msg) |
| void | error (MessageBios &msg, unsigned char errorcode) |
| Set the usual error indication. | |
| void | outb (unsigned short port, unsigned value) |
| Out to IO-port. | |
| BiosCommon (Motherboard &mb) | |
Virtual Bios keyboard routines.
Features: keybuffer Missing: shift state in bda.
|
inline |
|
inlineprivate |
|
inlineprivate |
Handle the Keyboard IRQ.
|
inlineprivate |
Keyboard INT handler.
|
inlinestaticprivate |
Converts our internal keycode format into the BIOS one.
|
inline |
Handle messages from the keyboard host driver.
|
inline |
Answer HostRequests from DummyHostDevices.
|
inline |
Forward IO messages to the device models and vice-versa.
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
private |
|
private |