H. Peter Anvin | e5684ec | 2012-05-08 21:22:37 +0300 | [diff] [blame^] | 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 | #endif /* ARCH_X86_REALMODE_RM_REALMODE_H */ |