The Pedigree Project 0.1
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
BootstrapStruct_t Class Reference
+ Collaboration diagram for BootstrapStruct_t:

Classes

struct  FramebufferInfo
 
struct  MemoryMapEntry
 
struct  PACKED
 

Public Types

typedef uint64_t bootstrap_uintptr_t
 

Public Member Functions

bool isInitrdLoaded () const
 
uint8_t * getInitrdAddress () const
 
size_t getInitrdSize () const
 
char * getCommandLine () const
 
size_t getSectionHeaderCount () const
 
size_t getSectionHeaderEntrySize () const
 
size_t getSectionHeaderStringTableIndex () const
 
uintptr_t getSectionHeaders () const
 
void * getMemoryMap () const
 
uint64_t getMemoryMapEntryAddress (void *opaque) const
 
uint64_t getMemoryMapEntryLength (void *opaque) const
 
uint32_t getMemoryMapEntryType (void *opaque) const
 
void * nextMemoryMapEntry (void *opaque) const
 
size_t getModuleCount () const
 
void * getModuleBase () const
 
void setMemoryMap (const MemoryMapEntry *entries, size_t count)
 
void setModules (const Module *modules, size_t count)
 
void setCommandLine (const char *text)
 
void setUefi ()
 
void setAcpiRsdp (uintptr_t address)
 
const Module * getModuleArray () const
 
uintptr_t getAcpiRsdp () const
 
uintptr_t getSmbios () const
 
bool isUefi () const
 
bool getFramebuffer (FramebufferInfo &info) const
 

Private Attributes

uint32_t flags
 
uint32_t reserved
 
uint32_t mods_count
 
bootstrap_uintptr_t mods_addr
 
uint32_t num
 
uint32_t size
 
uint32_t shndx
 
bootstrap_uintptr_t addr
 
bootstrap_uintptr_t mmap_addr
 
uint32_t mmap_length
 
uint32_t mmap_entry_size
 
bootstrap_uintptr_t cmdline
 
bootstrap_uintptr_t acpi_rsdp
 
bootstrap_uintptr_t smbios
 
bootstrap_uintptr_t framebuffer
 
uint32_t framebuffer_width
 
uint32_t framebuffer_height
 
uint32_t framebuffer_pitch
 
uint32_t framebuffer_bpp
 
uint32_t framebuffer_format
 

Detailed Description

Definition at line 55 of file BootstrapInfo.h.

Member Typedef Documentation

◆ bootstrap_uintptr_t

typedef uint64_t BootstrapStruct_t::bootstrap_uintptr_t

Definition at line 83 of file BootstrapInfo.h.

Constructor & Destructor Documentation

◆ BootstrapStruct_t()

BootstrapStruct_t::BootstrapStruct_t ( )

Definition at line 28 of file BootstrapInfo.cc.

Member Function Documentation

◆ getAcpiRsdp()

uintptr_t BootstrapStruct_t::getAcpiRsdp ( ) const

Definition at line 178 of file BootstrapInfo.cc.

◆ getCommandLine()

char * BootstrapStruct_t::getCommandLine ( ) const

Definition at line 83 of file BootstrapInfo.cc.

◆ getFramebuffer()

bool BootstrapStruct_t::getFramebuffer ( FramebufferInfo &  info) const

Definition at line 190 of file BootstrapInfo.cc.

◆ getInitrdAddress()

uint8_t * BootstrapStruct_t::getInitrdAddress ( ) const

Definition at line 67 of file BootstrapInfo.cc.

◆ getInitrdSize()

size_t BootstrapStruct_t::getInitrdSize ( ) const

Definition at line 75 of file BootstrapInfo.cc.

◆ getMemoryMap()

void * BootstrapStruct_t::getMemoryMap ( ) const

Definition at line 118 of file BootstrapInfo.cc.

◆ getMemoryMapEntryAddress()

uint64_t BootstrapStruct_t::getMemoryMapEntryAddress ( void *  opaque) const

Definition at line 125 of file BootstrapInfo.cc.

◆ getMemoryMapEntryLength()

uint64_t BootstrapStruct_t::getMemoryMapEntryLength ( void *  opaque) const

Definition at line 133 of file BootstrapInfo.cc.

◆ getMemoryMapEntryType()

uint32_t BootstrapStruct_t::getMemoryMapEntryType ( void *  opaque) const

Definition at line 141 of file BootstrapInfo.cc.

◆ getModuleArray()

const Module * BootstrapStruct_t::getModuleArray ( ) const
inline

Definition at line 105 of file BootstrapInfo.h.

◆ getModuleBase()

void * BootstrapStruct_t::getModuleBase ( ) const

Definition at line 171 of file BootstrapInfo.cc.

◆ getModuleCount()

size_t BootstrapStruct_t::getModuleCount ( ) const

Definition at line 164 of file BootstrapInfo.cc.

◆ getSectionHeaderCount()

size_t BootstrapStruct_t::getSectionHeaderCount ( ) const

Definition at line 90 of file BootstrapInfo.cc.

◆ getSectionHeaderEntrySize()

size_t BootstrapStruct_t::getSectionHeaderEntrySize ( ) const

Definition at line 97 of file BootstrapInfo.cc.

◆ getSectionHeaders()

uintptr_t BootstrapStruct_t::getSectionHeaders ( ) const

Definition at line 111 of file BootstrapInfo.cc.

◆ getSectionHeaderStringTableIndex()

size_t BootstrapStruct_t::getSectionHeaderStringTableIndex ( ) const

Definition at line 104 of file BootstrapInfo.cc.

◆ getSmbios()

uintptr_t BootstrapStruct_t::getSmbios ( ) const

Definition at line 182 of file BootstrapInfo.cc.

◆ isInitrdLoaded()

bool BootstrapStruct_t::isInitrdLoaded ( ) const

Definition at line 60 of file BootstrapInfo.cc.

◆ isUefi()

bool BootstrapStruct_t::isUefi ( ) const

Definition at line 186 of file BootstrapInfo.cc.

◆ nextMemoryMapEntry()

void * BootstrapStruct_t::nextMemoryMapEntry ( void *  opaque) const

Definition at line 149 of file BootstrapInfo.cc.

◆ setAcpiRsdp()

void BootstrapStruct_t::setAcpiRsdp ( uintptr_t  address)

Definition at line 55 of file BootstrapInfo.cc.

◆ setCommandLine()

void BootstrapStruct_t::setCommandLine ( const char *  text)

Definition at line 46 of file BootstrapInfo.cc.

◆ setMemoryMap()

void BootstrapStruct_t::setMemoryMap ( const MemoryMapEntry *  entries,
size_t  count 
)

Definition at line 33 of file BootstrapInfo.cc.

◆ setModules()

void BootstrapStruct_t::setModules ( const Module *  modules,
size_t  count 
)

Definition at line 40 of file BootstrapInfo.cc.

◆ setUefi()

void BootstrapStruct_t::setUefi ( )

Definition at line 51 of file BootstrapInfo.cc.

Member Data Documentation

◆ acpi_rsdp

bootstrap_uintptr_t BootstrapStruct_t::acpi_rsdp
private

Definition at line 133 of file BootstrapInfo.h.

◆ addr

bootstrap_uintptr_t BootstrapStruct_t::addr
private

Definition at line 128 of file BootstrapInfo.h.

◆ cmdline

bootstrap_uintptr_t BootstrapStruct_t::cmdline
private

Definition at line 132 of file BootstrapInfo.h.

◆ flags

uint32_t BootstrapStruct_t::flags
private

Definition at line 121 of file BootstrapInfo.h.

◆ framebuffer

bootstrap_uintptr_t BootstrapStruct_t::framebuffer
private

Definition at line 135 of file BootstrapInfo.h.

◆ framebuffer_bpp

uint32_t BootstrapStruct_t::framebuffer_bpp
private

Definition at line 139 of file BootstrapInfo.h.

◆ framebuffer_format

uint32_t BootstrapStruct_t::framebuffer_format
private

Definition at line 140 of file BootstrapInfo.h.

◆ framebuffer_height

uint32_t BootstrapStruct_t::framebuffer_height
private

Definition at line 137 of file BootstrapInfo.h.

◆ framebuffer_pitch

uint32_t BootstrapStruct_t::framebuffer_pitch
private

Definition at line 138 of file BootstrapInfo.h.

◆ framebuffer_width

uint32_t BootstrapStruct_t::framebuffer_width
private

Definition at line 136 of file BootstrapInfo.h.

◆ mmap_addr

bootstrap_uintptr_t BootstrapStruct_t::mmap_addr
private

Definition at line 129 of file BootstrapInfo.h.

◆ mmap_entry_size

uint32_t BootstrapStruct_t::mmap_entry_size
private

Definition at line 131 of file BootstrapInfo.h.

◆ mmap_length

uint32_t BootstrapStruct_t::mmap_length
private

Definition at line 130 of file BootstrapInfo.h.

◆ mods_addr

bootstrap_uintptr_t BootstrapStruct_t::mods_addr
private

Definition at line 124 of file BootstrapInfo.h.

◆ mods_count

uint32_t BootstrapStruct_t::mods_count
private

Definition at line 123 of file BootstrapInfo.h.

◆ num

uint32_t BootstrapStruct_t::num
private

Definition at line 125 of file BootstrapInfo.h.

◆ reserved

uint32_t BootstrapStruct_t::reserved
private

Definition at line 122 of file BootstrapInfo.h.

◆ shndx

uint32_t BootstrapStruct_t::shndx
private

Definition at line 127 of file BootstrapInfo.h.

◆ size

uint32_t BootstrapStruct_t::size
private

Definition at line 126 of file BootstrapInfo.h.

◆ smbios

bootstrap_uintptr_t BootstrapStruct_t::smbios
private

Definition at line 134 of file BootstrapInfo.h.


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