linux/arch/x86/boot
H. Peter Anvin acd644bb4a x86 setup: guard the heap against invalid stack setups
If we use the bootloader-provided stack pointer, we might end up in a
situation where the bootloader (incorrectly) pointed the stack in the
middle of our heap.  Catch this by simply comparing the computed heap
end value to the stack pointer minus the defined stack size.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:33:04 +01:00
..
compressed x86: hlt on early crash 2008-01-30 13:32:31 +01:00
tools i386: move boot 2007-10-11 11:16:41 +02:00
.gitignore i386: move boot 2007-10-11 11:16:45 +02:00
a20.c i386: move boot 2007-10-11 11:16:45 +02:00
apm.c x86: compile apm and voyager module only when selected in Kconfig 2008-01-30 13:32:49 +01:00
bitops.h i386: move boot 2007-10-11 11:16:45 +02:00
boot.h x86 setup: add missing prototype; formatting fix 2008-01-30 13:33:03 +01:00
cmdline.c x86 setup: add missing prototype; formatting fix 2008-01-30 13:33:03 +01:00
code16gcc.h i386: move boot 2007-10-11 11:16:45 +02:00
copy.S i386: move boot 2007-10-11 11:16:45 +02:00
cpu.c i386: move boot 2007-10-11 11:16:45 +02:00
cpucheck.c x86: arch/x86/Kconfig.cpu unification 2007-11-12 21:02:19 +01:00
edd.c x86 setup: add note to use edd=off on EDD probing hangs 2008-01-30 13:33:03 +01:00
header.S i386: handle an initrd in highmem (version 2) 2008-01-30 13:32:51 +01:00
install.sh i386: move boot 2007-10-11 11:16:45 +02:00
main.c x86 setup: guard the heap against invalid stack setups 2008-01-30 13:33:04 +01:00
Makefile x86: compile apm and voyager module only when selected in Kconfig 2008-01-30 13:32:49 +01:00
mca.c i386: move boot 2007-10-11 11:16:45 +02:00
memory.c i386: move boot 2007-10-11 11:16:45 +02:00
mtools.conf.in i386: move boot 2007-10-11 11:16:45 +02:00
pm.c x86 setup: initialize LDTR and TR to make life easier to Intel VT 2008-01-30 13:33:02 +01:00
pmjump.S x86 setup: use X86_CR0_PE macro instead of hard-coded constant 2008-01-30 13:33:02 +01:00
printf.c i386: move boot 2007-10-11 11:16:45 +02:00
setup.ld i386: move boot 2007-10-11 11:16:45 +02:00
string.c i386: move boot 2007-10-11 11:16:45 +02:00
tty.c i386: move boot 2007-10-11 11:16:45 +02:00
version.c i386: move boot 2007-10-11 11:16:45 +02:00
vesa.h i386: move boot 2007-10-11 11:16:45 +02:00
video-bios.c x86 setup: display VESA graphics modes in vga=ask menu 2008-01-30 13:33:02 +01:00
video-vesa.c x86 setup: display VESA graphics modes in vga=ask menu 2008-01-30 13:33:02 +01:00
video-vga.c x86 setup: display VESA graphics modes in vga=ask menu 2008-01-30 13:33:02 +01:00
video.c x86 setup: display VESA graphics modes in vga=ask menu 2008-01-30 13:33:02 +01:00
video.h x86 setup: display VESA graphics modes in vga=ask menu 2008-01-30 13:33:02 +01:00
voyager.c x86: compile apm and voyager module only when selected in Kconfig 2008-01-30 13:32:49 +01:00