Public Types | Public Attributes | Protected Member Functions

BiosCommon Class Reference

#include <bios.h>

Inheritance diagram for BiosCommon:
DiscoveryHelper< BiosCommon > Vga VirtualBiosDisk VirtualBiosKeyboard VirtualBiosMem VirtualBiosMultiboot VirtualBiosReset VirtualBiosTime

List of all members.

Public Types

enum  { RESET_VECTOR = 0x100, MAX_VECTOR }

Public Attributes

Motherboard_mb

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)

Member Enumeration Documentation

anonymous enum
Enumerator:
RESET_VECTOR 
MAX_VECTOR 

Constructor & Destructor Documentation

BiosCommon::BiosCommon ( Motherboard mb  )  [inline, protected]

Member Function Documentation

void BiosCommon::error ( MessageBios msg,
unsigned char  errorcode 
) [inline, protected]

Set the usual error indication.

bool BiosCommon::jmp_hlt ( MessageBios msg  )  [inline, protected]
bool BiosCommon::jmp_int ( MessageBios msg,
unsigned char  number 
) [inline, protected]

Jump to another realmode INT handler.

void BiosCommon::outb ( unsigned short  port,
unsigned  value 
) [inline, protected]

Out to IO-port.

unsigned BiosCommon::read_bda ( unsigned  offset  )  [inline, protected]

Read bios data helper.

void BiosCommon::write_bda ( unsigned short  offset,
unsigned  value,
unsigned  len 
) [inline, protected]

Write bios data helper.


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines