1 #ifndef _ARCH_X86_REALMODE_H
2 #define _ARCH_X86_REALMODE_H
4 #include <linux/types.h>
7 /* This must match data at realmode.S */
8 struct real_mode_header
{
13 u32 trampoline_status
;
14 u32 trampoline_header
;
19 #ifdef CONFIG_ACPI_SLEEP
24 u32 machine_real_restart_asm
;
26 u32 machine_real_restart_seg
;
30 /* This must match data at trampoline_32/64.S */
31 struct trampoline_header
{
44 extern struct real_mode_header
*real_mode_header
;
45 extern unsigned char real_mode_blob_end
[];
47 extern unsigned long init_rsp
;
48 extern unsigned long initial_code
;
49 extern unsigned long initial_gs
;
51 extern unsigned char real_mode_blob
[];
52 extern unsigned char real_mode_relocs
[];
55 extern unsigned char startup_32_smp
[];
56 extern unsigned char boot_gdt
[];
58 extern unsigned char secondary_startup_64
[];
61 void reserve_real_mode(void);
62 void setup_real_mode(void);
64 #endif /* _ARCH_X86_REALMODE_H */