android_kernel_samsung_msm8976/arch/i386/boot
H. Peter Anvin b015124e56 [x86 setup] Volatilize asm() statements
asm() statements need to be volatile when:

a. They have side effects (other than value returned).
b. When the value returned can vary over time.
c. When they have ordering constraints that cannot be expressed to gcc.

In particular, the keyboard and timer reads were violating constraint (b),
which resulted in the keyboard/timeout poll getting
loop-invariant-removed when compiling with gcc 4.2.0.

Thanks to an anonymous bug reporter for pointing this out.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2007-08-23 13:03:25 -07: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 boot code comments typos 2007-07-31 16:18:05 -04: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] video setup: Fix VBE DDC reading 2007-08-02 11:08:27 -04:00
video-vga.c [x86 setup] Volatilize asm() statements 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