Lines Matching +full:real +full:-
1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <asm/processor-flags.h>
7 #include <asm/msr-index.h>
11 * The following code and data reboots the machine by switching to real
47 /* Set up the IDT for real mode. */
51 * Set up a GDT from which we can load segment descriptors for real
52 * mode. The GDT is not used in real mode; it is just needed here to
58 * Load the data segment registers with 16-bit compatible values
70 * This is 16-bit protected mode code to disable paging and the cache,
71 * switch to real mode and jump to the BIOS reset code.
73 * The instruction that switches to real mode by writing to CR0 must be
75 * valid value for real mode, and flushes the prefetch queue to avoid
80 * (protected-mode enable) and TS (task switch for coprocessor state
87 * occurred; hopefully real BIOSs don't assume much. This is not the
105 testl $0x60000000, %edx /* If no cache bits -> no wbinvd */
133 .word 0xffff /* Length - real mode default value */
134 .long 0 /* Base - real mode default value */
139 /* Self-pointer */
140 .word 0xffff /* Length - real mode default value */
145 * 16-bit code segment pointing to real_mode_seg
153 * 16-bit data segment with the selector value 16 = 0x10 and
154 * base value 0x100; since this is consistent with real mode