7#ifndef ZEPHYR_INCLUDE_ARCH_X86_MULTIBOOT_H_
8#define ZEPHYR_INCLUDE_ARCH_X86_MULTIBOOT_H_
41#ifdef CONFIG_MULTIBOOT_INFO
68#define MULTIBOOT_BOOT_TYPE 1
75#define MULTIBOOT_MMAP_RAM 1
76#define MULTIBOOT_MMAP_ACPI 3
77#define MULTIBOOT_MMAP_NVS 4
78#define MULTIBOOT_MMAP_DEFECTIVE 5
87#define MULTIBOOT_HEADER_MAGIC 0x1BADB002
88#define MULTIBOOT_EAX_MAGIC 0x2BADB002
96#define MULTIBOOT_HEADER_FLAG_MEM BIT(1)
97#define MULTIBOOT_HEADER_FLAG_FB BIT(2)
99#ifdef CONFIG_INTEL_MULTIBOOTFB_DISPLAY
100#define MULTIBOOT_HEADER_FLAGS \
101 (MULTIBOOT_HEADER_FLAG_FB | MULTIBOOT_HEADER_FLAG_MEM)
103#define MULTIBOOT_HEADER_FLAGS MULTIBOOT_HEADER_FLAG_MEM
108#define MULTIBOOT_INFO_FLAGS_MEM (1 << 0)
109#define MULTIBOOT_INFO_FLAGS_MMAP (1 << 6)
110#define MULTIBOOT_INFO_FLAGS_FB (1 << 12)
114#define MULTIBOOT_INFO_FB_TYPE_RGB 1
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT64_TYPE__ uint64_t
Definition stdint.h:91
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Definition multiboot.h:21
uint8_t fb_bpp
Definition multiboot.h:34
uint32_t fb_pitch
Definition multiboot.h:31
uint32_t fb_height
Definition multiboot.h:33
uint8_t fb_type
Definition multiboot.h:35
uint32_t flags
Definition multiboot.h:22
uint32_t fb_addr_lo
Definition multiboot.h:29
uint32_t fb_addr_hi
Definition multiboot.h:30
uint32_t unused1[9]
Definition multiboot.h:28
uint32_t mmap_length
Definition multiboot.h:26
uint32_t unused0[8]
Definition multiboot.h:25
uint8_t fb_color_info[6]
Definition multiboot.h:36
uint32_t mem_lower
Definition multiboot.h:23
uint32_t mem_upper
Definition multiboot.h:24
uint32_t fb_width
Definition multiboot.h:32
uint32_t mmap_addr
Definition multiboot.h:27
Definition multiboot.h:58
uint32_t type
Definition multiboot.h:62
uint64_t length
Definition multiboot.h:61
uint64_t base
Definition multiboot.h:60
uint32_t size
Definition multiboot.h:59