Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef ARCH_X86_REALMODE_RM_REALMODE_H
0003 #define ARCH_X86_REALMODE_RM_REALMODE_H
0004 
0005 #ifdef __ASSEMBLY__
0006 
0007 /*
0008  * 16-bit ljmpw to the real_mode_seg
0009  *
0010  * This must be open-coded since gas will choke on using a
0011  * relocatable symbol for the segment portion.
0012  */
0013 #define LJMPW_RM(to)    .byte 0xea ; .word (to), real_mode_seg
0014 
0015 #endif /* __ASSEMBLY__ */
0016 
0017 /*
0018  * Signature at the end of the realmode region
0019  */
0020 #define REALMODE_END_SIGNATURE  0x65a22c82
0021 
0022 #endif /* ARCH_X86_REALMODE_RM_REALMODE_H */