android_kernel_xiaomi_sm8350/arch/i386/boot
Christian Ehrhardt ce29a1f8bd [x86 setup] Work around bug in Xen HVM
Apparently XEN does not keep the contents of the 48-bit gdt_48 data
structure that is passed to lgdt in the XEN machine state. Instead it
appears to save the _address_ of the 48-bit descriptor
somewhere. Unfortunately this data happens to reside on the stack and
is probably no longer availiable at the time of the actual protected
mode jump.

This is Xen bug but given that there is a one-line patch to work
around this problem, the linux kernel should probably do this.  My fix
is to make the gdt_48 description in setup_gdt static (in setup_idt
this is already the case). This allows the kernel to boot under
Xen HVM again.

Signed-off-by: Christian Ehrhardt <lk@c--e.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2007-09-05 02:37:57 +01:00
..
compressed xen: disable vdso "nosegneg" on native boot 2007-07-20 08:44:19 -07:00
tools [x86 setup] build/tools.c: fix comment 2007-07-18 11:36:17 -07:00
.gitignore Update .gitignore for arch/i386/boot 2007-07-19 14:32:38 -07:00
a20.c A20 handling code 2007-07-12 10:55:55 -07:00
apm.c [x86 setup] APM: BX should be zero when disconnecting 2007-07-25 12:02:21 -07:00
bitops.h Simple bitops for the new x86 setup code. 2007-07-12 10:55:54 -07:00
boot.h [x86 setup] Volatilize asm() statements 2007-08-23 13:03:25 -07:00
cmdline.c Command-line parsing code for the new x86 setup code 2007-07-12 10:55:55 -07:00
code16gcc.h x86 boot code comments typos 2007-07-31 16:18:05 -04:00
copy.S String-handling functions for the new x86 setup code. 2007-07-12 10:55:55 -07:00
cpu.c CPU features verification for the new x86 setup code 2007-07-12 10:55:55 -07:00
cpucheck.c [x86 setup] Volatilize asm() statements 2007-08-23 13:03:25 -07:00
edd.c [x86 setup] Volatilize asm() statements 2007-08-23 13:03:25 -07:00
header.S [x86 setup] Newline after setup signature failure message 2007-07-31 16:18:05 -04:00
install.sh broken lilo check on make install 2007-07-31 15:39:42 -07:00
main.c [x86 setup] Make struct ist_info cross-architecture, and use in setup code 2007-07-25 12:02:21 -07:00
Makefile [PATCH] x86: do not recompile boot for each build 2007-07-18 11:36:17 -07:00
mca.c [x86 setup] Fix assembly constraints 2007-07-18 11:36:17 -07:00
memory.c Memory probing support for the new x86 setup code 2007-07-12 10:55:55 -07:00
mtools.conf.in Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pm.c [x86 setup] Work around bug in Xen HVM 2007-09-05 02:37:57 +01:00
pmjump.S Code for actual protected-mode entry 2007-07-12 10:55:55 -07:00
printf.c Console-writing code for the new x86 setup code 2007-07-12 10:55:55 -07:00
setup.ld Linker script for the new x86 setup code 2007-07-12 10:55:55 -07:00
string.c String-handling functions for the new x86 setup code. 2007-07-12 10:55:55 -07:00
tty.c [x86 setup] Volatilize asm() statements 2007-08-23 13:03:25 -07:00
version.c Version string for the new x86 setup code 2007-07-12 10:55:55 -07:00
vesa.h Video mode probing support for the new x86 setup code 2007-07-12 10:55:55 -07:00
video-bios.c x86 boot code comments typos 2007-07-31 16:18:05 -04:00
video-vesa.c [x86 setup] Don't rely on the VESA BIOS being register-clean 2007-08-31 11:52:35 -07:00
video-vga.c [x86 setup] Make sure AH=00h when setting a video mode 2007-08-23 13:03:25 -07:00
video.c [x86 setup] The current display page is returned in %bh, not %bl 2007-08-14 14:12:44 -07:00
video.h [x86 setup] Save/restore DS around invocations of INT 10h 2007-07-18 11:36:17 -07:00
voyager.c [x86 setup] Fix assembly constraints 2007-07-18 11:36:17 -07:00