NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VirtualBiosMultiboot Class Reference

Provide Multiboot support for the virtual BIOS. More...

Inheritance diagram for VirtualBiosMultiboot:
StaticReceiver< VirtualBiosMultiboot > BiosCommon Device

Classes

struct  Mbi
struct  MbiMmap
struct  Module

Public Types

enum  mbi_enum {
  MBI_MAGIC = 0x2badb002, MBI_FLAG_MEM = 1 << 0, MBI_FLAG_CMDLINE = 1 << 2, MBI_FLAG_MODS = 1 << 3,
  MBI_FLAG_MMAP = 1 << 6, MBI_FLAG_BOOT_LOADER_NAME = 1 << 9, MBI_FLAG_VBE = 1 << 11
}

Public Member Functions

bool receive (MessageBios &msg)
 VirtualBiosMultiboot (Motherboard &mb, unsigned long modaddr, unsigned lowmem)
- Public Member Functions inherited from StaticReceiver< VirtualBiosMultiboot >
 StaticReceiver ()
- Public Member Functions inherited from Device
void debug_dump ()
 Device (const char *debug_name)

Private Member Functions

unsigned long init_mbi (unsigned long &rip)
 Initialize an MBI from the hip.

Private Attributes

unsigned long _modaddr
unsigned _lowmem
- Private Attributes inherited from BiosCommon
Motherboard_mb

Additional Inherited Members

- Static Public Member Functions inherited from StaticReceiver< VirtualBiosMultiboot >
static bool receive_static (Device *o, M &msg)
- Private Types inherited from BiosCommon
enum  { RESET_VECTOR = 0x100, MAX_VECTOR }
- Static Private Member Functions inherited from DiscoveryHelper< BiosCommon >
static bool discover (Device *o, MessageDiscovery &msg)

Detailed Description

Provide Multiboot support for the virtual BIOS.

State: unstable Features: CPU init, elf-decoding, MBI creation, memory-map, request modules from sigma0, modaddr

Member Enumeration Documentation

Enumerator:
MBI_MAGIC 
MBI_FLAG_MEM 
MBI_FLAG_CMDLINE 
MBI_FLAG_MODS 
MBI_FLAG_MMAP 
MBI_FLAG_BOOT_LOADER_NAME 
MBI_FLAG_VBE 

Constructor & Destructor Documentation

VirtualBiosMultiboot::VirtualBiosMultiboot ( Motherboard mb,
unsigned long  modaddr,
unsigned  lowmem 
)
inline

Member Function Documentation

unsigned long VirtualBiosMultiboot::init_mbi ( unsigned long &  rip)
inlineprivate

Initialize an MBI from the hip.

bool VirtualBiosMultiboot::receive ( MessageBios msg)
inline

Member Data Documentation

unsigned VirtualBiosMultiboot::_lowmem
private
unsigned long VirtualBiosMultiboot::_modaddr
private

The documentation for this class was generated from the following file: