GitOS
Loading...
Searching...
No Matches
Multiboot Class Reference

#include <Multiboot.hpp>

Inherits Bootloader.

Data Structures

struct  multiboot2_header

Public Member Functions

void init (uint32_t magic, void *info_ptr) override
const char * get_cmdline () const override
const char * get_bootloader_name () const override
uint64_t get_heap_base_address () const override
uint64_t get_heap_size () const override
bool is_multiboot () const
struct Multiboot::multiboot2_header __attribute__ ((packed))

Data Fields

uint64_t m_base_address = 0
uint64_t m_len = 0

Member Function Documentation

◆ __attribute__()

struct Multiboot::multiboot2_header __attribute__ ( (packed) )

◆ get_bootloader_name()

const char * get_bootloader_name ( ) const
override

◆ get_cmdline()

const char * get_cmdline ( ) const
override

◆ get_heap_base_address()

uint64_t get_heap_base_address ( ) const
override

References m_base_address.

◆ get_heap_size()

uint64_t get_heap_size ( ) const
override

References m_len.

◆ init()

void init ( uint32_t magic,
void * info_ptr )
override

◆ is_multiboot()

bool is_multiboot ( ) const

Field Documentation

◆ m_base_address

uint64_t m_base_address = 0

◆ m_len

uint64_t m_len = 0

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