1 /*
2  * Copyright (c) 2019 Intel Corp.
3  * SPDX-License-Identifier: Apache-2.0
4  */
5 
6 #include <zephyr/kernel.h>
7 #include <kernel_arch_data.h>
8 #include <gen_offset.h>
9 #include <kernel_offsets.h>
10 
11 #ifdef CONFIG_X86_64
12 #include "intel64_offsets.c"
13 #else
14 #include "ia32_offsets.c"
15 #endif
16 
17 #ifdef CONFIG_MULTIBOOT_INFO
18 #include <zephyr/arch/x86/multiboot_info.h>
19 #endif
20 
21 GEN_OFFSET_SYM(x86_boot_arg_t, boot_type);
22 GEN_OFFSET_SYM(x86_boot_arg_t, arg);
23 
24 GEN_OFFSET_SYM(_thread_arch_t, flags);
25 
26 #ifdef CONFIG_MULTIBOOT_INFO
27 GEN_OFFSET_SYM(multiboot_info_t, flags);
28 GEN_OFFSET_SYM(multiboot_info_t, cmdline);
29 #endif
30 
31 GEN_ABS_SYM_END
32