switch-coreboot/include
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/x86 Bring the file cpu.h in sync with the current version of the code in 2007-06-30 16:57:33 +00:00
device * start using arch/foo.h again instead of archfoo.h (trivial) 2007-06-29 16:57:23 +00:00
console.h no more linker hacks in v3, except for the .S parts. 2007-06-04 15:15:05 +00:00
elf.h * start using arch/foo.h again instead of archfoo.h (trivial) 2007-06-29 16:57:23 +00:00
elf_boot.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
ip_checksum.h Update compute_ip_checksum.c and ip_checksum.h to the versions from 2007-03-06 14:46:57 +00:00
isa-dma.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
keyboard.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
lar.h - Extend lar format to support compression (incompatible format change!) 2007-06-26 11:55:06 +00:00
lib.h Add an ARRAY_SIZE() macro which returns the size of an array, regardless 2007-06-29 14:36:03 +00:00
mc146818rtc.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
post_code.h Various cosmetic license header fixes (trivial). 2007-06-28 14:06:39 +00:00
spd.h we need spd.h 2007-06-14 17:50:58 +00:00
spinlock.h Bring the file cpu.h in sync with the current version of the code in 2007-06-30 16:57:33 +00:00
string.h Massive file rename and moving orgy: 2007-05-05 21:36:52 +00:00
tables.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
uart8250.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00