1 /*
2  * Copyright (c) 2019 Intel Corporation
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef ZEPHYR_INCLUDE_ARCH_X86_MULTIBOOT_INFO_H_
8 #define ZEPHYR_INCLUDE_ARCH_X86_MULTIBOOT_INFO_H_
9 
10 #include <stdint.h>
11 
12 /*
13  * Multiboot (version 1) boot information structure.
14  *
15  * Only fields/values of interest to Zephyr are enumerated
16  */
17 
18 struct multiboot_info {
19 	uint32_t flags;
20 	uint32_t mem_lower;
21 	uint32_t mem_upper;
22 	uint32_t unused0;
23 	uint32_t cmdline;
24 	uint32_t unused1[6];
25 	uint32_t mmap_length;
26 	uint32_t mmap_addr;
27 	uint32_t unused2[9];
28 	uint32_t fb_addr_lo;
29 	uint32_t fb_addr_hi;
30 	uint32_t fb_pitch;
31 	uint32_t fb_width;
32 	uint32_t fb_height;
33 	uint8_t  fb_bpp;
34 	uint8_t  fb_type;
35 	uint8_t  fb_color_info[6];
36 };
37 
38 typedef struct multiboot_info multiboot_info_t;
39 
40 #endif
41