blob: d74cff6350edc2208fcb6321f63ec7d5966f8c44 [file] [log] [blame]
H. Peter Anvine5684ec2012-05-08 21:22:37 +03001#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
H. Peter Anvin61f54462012-05-21 00:02:45 -070016/*
17 * Signature at the end of the realmode region
18 */
19#define REALMODE_END_SIGNATURE 0x65a22c82
20
H. Peter Anvine5684ec2012-05-08 21:22:37 +030021#endif /* ARCH_X86_REALMODE_RM_REALMODE_H */