StuBS
data.cc File Reference
Include dependency graph for data.cc:

Classes

struct  multiboot_info.__unnamed2__.elf_section_header_table
 Section header table for kernel in ELF. More...
 

Namespaces

namespace  Multiboot
 Interface for Multiboot.
 

Functions

 assert_size (multiboot_info, 116)
 
ModuleMultiboot::getModule (unsigned i)
 Retrieve a certain boot module.
 
unsigned Multiboot::getModuleCount ()
 Get the number of modules.
 
MemoryMultiboot::getMemoryMap ()
 Retrieve the first entry of the memory map.
 
char * Multiboot::getCommandLine ()
 Get the kernel command line.
 
char * Multiboot::getBootLoader ()
 Get the name of the boot loader.
 
VBEMultiboot::getVesaBiosExtensionInfo ()
 Get pointer to Vesa BIOS Extension information.
 
FramebufferMultiboot::getFramebufferInfo ()
 Get pointer to framebuffer information.
 

Constants

struct multiboot_infomultiboot_addr = 0
 The pointer to the multiboot structures will be assigned in the assembler startup code (boot/startup.asm)
 

Class Documentation

◆ multiboot_info.__unnamed2__.elf_section_header_table

struct multiboot_info.__unnamed2__.elf_section_header_table

Section header table for kernel in ELF.

Class Members
uint32_t num Number of entries.
uint32_t size Size per entry.
uint32_t addr Start of the header table.
uint32_t shndx String table index.

Function Documentation

◆ assert_size()

assert_size ( multiboot_info  ,
116   
)

Variable Documentation

◆ multiboot_addr

struct multiboot_info* multiboot_addr = 0

The pointer to the multiboot structures will be assigned in the assembler startup code (boot/startup.asm)