The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
boot_info.h File Reference
#include "common/stdint.h"
#include "memory_map.h"

Go to the source code of this file.

Data Structures

struct  boot_info_t
 information the bootloader hands to the kernel. More...

Macros

#define BOOT_PROTOCOL_STAGE2   0
#define BOOT_PROTOCOL_MULTIBOOT2   1
#define BOOT_PROTOCOL_LIMINE   2
#define BOOT_INFO_STAGE2_SIZE   __builtin_offsetof(boot_info_t, _fb_pad)

Macro Definition Documentation

◆ BOOT_PROTOCOL_STAGE2

#define BOOT_PROTOCOL_STAGE2   0

◆ BOOT_PROTOCOL_MULTIBOOT2

#define BOOT_PROTOCOL_MULTIBOOT2   1

◆ BOOT_PROTOCOL_LIMINE

#define BOOT_PROTOCOL_LIMINE   2

◆ BOOT_INFO_STAGE2_SIZE

#define BOOT_INFO_STAGE2_SIZE   __builtin_offsetof(boot_info_t, _fb_pad)