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
.gitignore Update .gitignore for arch/i386/boot 2007-07-19 14:32:38 -07:00
a20.c
apm.c [x86 setup] APM: BX should be zero when disconnecting 2007-07-25 12:02:21 -07:00
bitops.h
boot.h [x86 setup] Volatilize asm() statements 2007-08-23 13:03:25 -07:00
cmdline.c
code16gcc.h x86 boot code comments typos 2007-07-31 16:18:05 -04:00
copy.S
cpu.c
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
mtools.conf.in
pm.c [x86 setup] Work around bug in Xen HVM 2007-09-05 02:37:57 +01:00
pmjump.S
printf.c
setup.ld
string.c
tty.c [x86 setup] Volatilize asm() statements 2007-08-23 13:03:25 -07:00
version.c
vesa.h
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