Friedrich-Alexander-Universität Erlangen-Nürnberg  /   Technische Fakultät  /   Department Informatik
Multiboot::Module Class Reference

Boot Module (also known as initrd = initial Ramdisk) More...

#include <boot/multiboot/data.h>

Public Member Functions

void * getStartAddress () const
 Get start of this boot module. More...
 
void * getEndAddress () const
 Get end of this boot module. More...
 
size_t getSize () const
 Get the size of this boot module. More...
 
char * getCommandLine () const
 Get the command line for this module. More...
 

Detailed Description

Boot Module (also known as initrd = initial Ramdisk)

See also
[1.7 Boot modules]{multiboot}
[3.3 Boot information format]{multiboot}

Member Function Documentation

◆ getStartAddress()

void* Multiboot::Module::getStartAddress ( ) const
inline

Get start of this boot module.

Returns
Pointer to begin of modules physical address

◆ getEndAddress()

void* Multiboot::Module::getEndAddress ( ) const
inline

Get end of this boot module.

Returns
Pointer beyond the modules physical address

◆ getSize()

size_t Multiboot::Module::getSize ( ) const
inline

Get the size of this boot module.

Returns
Module size in bytes (difference of end and start address)

◆ getCommandLine()

char* Multiboot::Module::getCommandLine ( ) const
inline

Get the command line for this module.

Returns
pointer to zero terminated string

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