C# Class Mosa.Kernel.x86.Multiboot

Static class of helpful memory functions
Datei anzeigen Open project: tgiphil/MOSA-Project Class Usage Examples

Public Properties

Property Type Description
MultibootAddress uint

Public Methods

Method Description
GetMemoryMapBase ( uint index ) : uint

Gets the memory map base.

GetMemoryMapLength ( uint index ) : uint

Gets the length of the memory map.

GetMemoryMapType ( uint index ) : byte

Gets the type of the memory map.

SetMultibootLocation ( uint address ) : void

Sets the multiboot location.

SetMultibootLocation ( uint address, uint magic ) : void

Sets the multiboot location, if given the proper magic value

Setup ( ) : void

Setups this multiboot.

Private Methods

Method Description
CountMemoryMap ( ) : void

Counts the memory map.

GetMemoryMapIndexLocation ( uint index ) : MultiBootMemoryMap*

Gets the memory map index location.

Method Details

GetMemoryMapBase() public static method

Gets the memory map base.
public static GetMemoryMapBase ( uint index ) : uint
index uint The index.
return uint

GetMemoryMapLength() public static method

Gets the length of the memory map.
public static GetMemoryMapLength ( uint index ) : uint
index uint The index.
return uint

GetMemoryMapType() public static method

Gets the type of the memory map.
public static GetMemoryMapType ( uint index ) : byte
index uint The index.
return byte

SetMultibootLocation() public static method

Sets the multiboot location.
public static SetMultibootLocation ( uint address ) : void
address uint The address.
return void

SetMultibootLocation() public static method

Sets the multiboot location, if given the proper magic value
public static SetMultibootLocation ( uint address, uint magic ) : void
address uint The address.
magic uint The magic value.
return void

Setup() public static method

Setups this multiboot.
public static Setup ( ) : void
return void

Property Details

MultibootAddress public_oe static_oe property

public static uint MultibootAddress
return uint