FreeNOS
Data Fields
BootImage Struct Reference

BootImage contains executable programs to be loaded at system bootup. More...

#include <BootImage.h>

Data Fields

u32 magic [2]
 Magic numbers to detect a valid boot image. More...
 
u8 layoutRevision
 Version of the boot image layout. More...
 
u32 bootImageSize
 Total size of the boot image in bytes. More...
 
u32 symbolTableOffset
 Offset of the symbol table. More...
 
u16 symbolTableCount
 Number of entries in the symbols table. More...
 
u32 segmentsTableOffset
 Offset of the segments table. More...
 
u16 segmentsTableCount
 Number of entries in the segments table. More...
 

Detailed Description

BootImage contains executable programs to be loaded at system bootup.

Definition at line 44 of file BootImage.h.

Field Documentation

◆ bootImageSize

u32 BootImage::bootImageSize

Total size of the boot image in bytes.

Definition at line 53 of file BootImage.h.

Referenced by BootImageStorage::capacity(), BootImageCreate::exec(), and kernel_main().

◆ layoutRevision

u8 BootImage::layoutRevision

Version of the boot image layout.

Definition at line 50 of file BootImage.h.

Referenced by BootImageCreate::exec(), and BootImageStorage::initialize().

◆ magic

u32 BootImage::magic[2]

Magic numbers to detect a valid boot image.

Definition at line 47 of file BootImage.h.

Referenced by BootImageCreate::exec(), and BootImageStorage::initialize().

◆ segmentsTableCount

u16 BootImage::segmentsTableCount

Number of entries in the segments table.

Definition at line 65 of file BootImage.h.

Referenced by BootImageCreate::exec().

◆ segmentsTableOffset

u32 BootImage::segmentsTableOffset

Offset of the segments table.

Definition at line 62 of file BootImage.h.

Referenced by BootImageCreate::exec(), Kernel::loadBootProgram(), and BootSymbolStorage::loadSegment().

◆ symbolTableCount

u16 BootImage::symbolTableCount

Number of entries in the symbols table.

Definition at line 59 of file BootImage.h.

Referenced by BootImageCreate::exec(), Kernel::loadBootImage(), and BootSymbolStorage::loadSymbol().

◆ symbolTableOffset

u32 BootImage::symbolTableOffset

Offset of the symbol table.

Definition at line 56 of file BootImage.h.

Referenced by BootImageCreate::exec(), Kernel::loadBootImage(), and BootSymbolStorage::loadSymbol().


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