drm/rockchip: vop2: Fix the windows switch between different layers
[drm/drm-misc.git] / arch / x86 / realmode / rm / realmode.h
blobc76041a353970de221b7a60526b0434b1a6d47e7
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ARCH_X86_REALMODE_RM_REALMODE_H
3 #define ARCH_X86_REALMODE_RM_REALMODE_H
5 #ifdef __ASSEMBLY__
7 /*
8 * 16-bit ljmpw to the real_mode_seg
10 * This must be open-coded since gas will choke on using a
11 * relocatable symbol for the segment portion.
13 #define LJMPW_RM(to) .byte 0xea ; .word (to), real_mode_seg
15 #endif /* __ASSEMBLY__ */
18 * Signature at the end of the realmode region
20 #define REALMODE_END_SIGNATURE 0x65a22c82
22 #endif /* ARCH_X86_REALMODE_RM_REALMODE_H */