switch-coreboot/include/arch/x86
Uwe Hermann b636ab9cf1 Bring the file cpu.h in sync with the current version of the code in
the Linux kernel (as far as possible). The code is a lot simpler
and shorter now.

Also, add cpu_relax() (which is also part of the Linux file) which
could be useful for busy-loops (but is currently not used).
Drop the cpu_relax() from spinlock.h as it's not spinlock related in any way.

The code builds, and works in QEMU, but is not tested on hardware.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@423 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-06-30 16:57:33 +00:00
..
arch Bring the file cpu.h in sync with the current version of the code in 2007-06-30 16:57:33 +00:00
amd_geodelx.h Change case and improve comments. 2007-06-28 15:19:30 +00:00
byteorder.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
cpu.h Bring the file cpu.h in sync with the current version of the code in 2007-06-30 16:57:33 +00:00
div64.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
hlt.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
io.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
msr.h two more unsigned! 2007-06-29 00:23:18 +00:00
pci_ops.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
pciconf.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
swab.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
types.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00