xref: /openbmc/linux/arch/x86/realmode/rm/realmode.h (revision 151f4e2b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ARCH_X86_REALMODE_RM_REALMODE_H
3 #define ARCH_X86_REALMODE_RM_REALMODE_H
4 
5 #ifdef __ASSEMBLY__
6 
7 /*
8  * 16-bit ljmpw to the real_mode_seg
9  *
10  * This must be open-coded since gas will choke on using a
11  * relocatable symbol for the segment portion.
12  */
13 #define LJMPW_RM(to)	.byte 0xea ; .word (to), real_mode_seg
14 
15 #endif /* __ASSEMBLY__ */
16 
17 /*
18  * Signature at the end of the realmode region
19  */
20 #define REALMODE_END_SIGNATURE	0x65a22c82
21 
22 #endif /* ARCH_X86_REALMODE_RM_REALMODE_H */
23