Line data Source code
1 0 : /*
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 0 : struct multiboot_info {
19 0 : uint32_t flags;
20 0 : uint32_t mem_lower;
21 0 : uint32_t mem_upper;
22 0 : uint32_t unused0;
23 0 : uint32_t cmdline;
24 0 : uint32_t unused1[6];
25 0 : uint32_t mmap_length;
26 0 : uint32_t mmap_addr;
27 0 : uint32_t unused2[9];
28 0 : uint32_t fb_addr_lo;
29 0 : uint32_t fb_addr_hi;
30 0 : uint32_t fb_pitch;
31 0 : uint32_t fb_width;
32 0 : uint32_t fb_height;
33 0 : uint8_t fb_bpp;
34 0 : uint8_t fb_type;
35 0 : uint8_t fb_color_info[6];
36 : };
37 :
38 0 : typedef struct multiboot_info multiboot_info_t;
39 :
40 : #endif
|