Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/arch/x86/realmode/rm/realmode.h
26490 views
1
/* SPDX-License-Identifier: GPL-2.0 */
2
#ifndef ARCH_X86_REALMODE_RM_REALMODE_H
3
#define ARCH_X86_REALMODE_RM_REALMODE_H
4
5
#ifdef __ASSEMBLER__
6
7
/*
8
* 16-bit ljmpw to the real_mode_seg
9
*
10
* This must be open-coded since gas will choke on using a
11
* relocatable symbol for the segment portion.
12
*/
13
#define LJMPW_RM(to) .byte 0xea ; .word (to), real_mode_seg
14
15
#endif /* __ASSEMBLER__ */
16
17
/*
18
* Signature at the end of the realmode region
19
*/
20
#define REALMODE_END_SIGNATURE 0x65a22c82
21
22
#endif /* ARCH_X86_REALMODE_RM_REALMODE_H */
23
24