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