Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
multiboot.h File Reference
#include "multiboot_info.h"

Go to the source code of this file.

Data Structures

struct  multiboot_mmap
 

Macros

#define MULTIBOOT_BOOT_TYPE   1
 
#define MULTIBOOT_MMAP_RAM   1 /* available RAM */
 
#define MULTIBOOT_MMAP_ACPI   3 /* reserved for ACPI */
 
#define MULTIBOOT_MMAP_NVS   4 /* ACPI non-volatile */
 
#define MULTIBOOT_MMAP_DEFECTIVE   5 /* defective RAM module */
 
#define MULTIBOOT_HEADER_MAGIC   0x1BADB002
 
#define MULTIBOOT_EAX_MAGIC   0x2BADB002
 
#define MULTIBOOT_HEADER_FLAG_MEM   BIT(1) /* want mem_/mmap_* info */
 
#define MULTIBOOT_HEADER_FLAG_FB   BIT(2) /* want fb_* info */
 
#define MULTIBOOT_HEADER_FLAGS   MULTIBOOT_HEADER_FLAG_MEM
 
#define MULTIBOOT_INFO_FLAGS_MEM   BIT(0) /* mem_* valid */
 
#define MULTIBOOT_INFO_FLAGS_CMDLINE   BIT(2) /* cmdline* valid */
 
#define MULTIBOOT_INFO_FLAGS_MMAP   BIT(6) /* mmap_* valid */
 
#define MULTIBOOT_INFO_FLAGS_FB   BIT(12) /* fb_* valid */
 
#define MULTIBOOT_INFO_FB_TYPE_RGB   1
 

Variables

struct multiboot_info multiboot_info
 

Macro Definition Documentation

◆ MULTIBOOT_BOOT_TYPE

#define MULTIBOOT_BOOT_TYPE   1

◆ MULTIBOOT_EAX_MAGIC

#define MULTIBOOT_EAX_MAGIC   0x2BADB002

◆ MULTIBOOT_HEADER_FLAG_FB

#define MULTIBOOT_HEADER_FLAG_FB   BIT(2) /* want fb_* info */

◆ MULTIBOOT_HEADER_FLAG_MEM

#define MULTIBOOT_HEADER_FLAG_MEM   BIT(1) /* want mem_/mmap_* info */

◆ MULTIBOOT_HEADER_FLAGS

#define MULTIBOOT_HEADER_FLAGS   MULTIBOOT_HEADER_FLAG_MEM

◆ MULTIBOOT_HEADER_MAGIC

#define MULTIBOOT_HEADER_MAGIC   0x1BADB002

◆ MULTIBOOT_INFO_FB_TYPE_RGB

#define MULTIBOOT_INFO_FB_TYPE_RGB   1

◆ MULTIBOOT_INFO_FLAGS_CMDLINE

#define MULTIBOOT_INFO_FLAGS_CMDLINE   BIT(2) /* cmdline* valid */

◆ MULTIBOOT_INFO_FLAGS_FB

#define MULTIBOOT_INFO_FLAGS_FB   BIT(12) /* fb_* valid */

◆ MULTIBOOT_INFO_FLAGS_MEM

#define MULTIBOOT_INFO_FLAGS_MEM   BIT(0) /* mem_* valid */

◆ MULTIBOOT_INFO_FLAGS_MMAP

#define MULTIBOOT_INFO_FLAGS_MMAP   BIT(6) /* mmap_* valid */

◆ MULTIBOOT_MMAP_ACPI

#define MULTIBOOT_MMAP_ACPI   3 /* reserved for ACPI */

◆ MULTIBOOT_MMAP_DEFECTIVE

#define MULTIBOOT_MMAP_DEFECTIVE   5 /* defective RAM module */

◆ MULTIBOOT_MMAP_NVS

#define MULTIBOOT_MMAP_NVS   4 /* ACPI non-volatile */

◆ MULTIBOOT_MMAP_RAM

#define MULTIBOOT_MMAP_RAM   1 /* available RAM */

Variable Documentation

◆ multiboot_info

struct multiboot_info multiboot_info
extern