#include <bios.h>
Protected Member Functions |
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) |
bool | discovery_write_st (const char *resource, unsigned offset, const void *value, unsigned count) |
bool | discovery_write_dw (const char *resource, unsigned offset, unsigned value, unsigned count=4) |
| Write a dword or less than it.
|
bool | discovery_read_dw (const char *resource, unsigned offset, unsigned &value) |
| Read a dword.
|
unsigned | discovery_length (const char *resource, unsigned minlen) |
| Return the length of an ACPI table or minlen if it is smaller.
|
Member Enumeration Documentation
Constructor & Destructor Documentation
Member Function Documentation
void BiosCommon::error |
( |
MessageBios & |
msg, |
|
|
unsigned char |
errorcode |
|
) |
| |
|
inlineprotected |
Set the usual error indication.
bool BiosCommon::jmp_int |
( |
MessageBios & |
msg, |
|
|
unsigned char |
number |
|
) |
| |
|
inlineprotected |
Jump to another realmode INT handler.
void BiosCommon::outb |
( |
unsigned short |
port, |
|
|
unsigned |
value |
|
) |
| |
|
inlineprotected |
unsigned BiosCommon::read_bda |
( |
unsigned |
offset | ) |
|
|
inlineprotected |
void BiosCommon::write_bda |
( |
unsigned short |
offset, |
|
|
unsigned |
value, |
|
|
unsigned |
len |
|
) |
| |
|
inlineprotected |
Member Data Documentation
The documentation for this class was generated from the following file:
- vancouver/include/executor/bios.h