switch-coreboot/include
Carl-Daniel Hailfinger 82ea8a8b1e Consolidate all multiple segment handling into
lib/lar.c:load_file_segments() and greatly simplify arch/x86/stage1.c
code as a result. While I'm at it, improve the LAR segmentation
abstraction. Stage 1 code should not have to care about internal
representation of segments, that knowledge belongs into lib/lar.c.
Constification of most function parameters in lib/lar.c led to a few
other now obvious code removals.

Build tested and runtime tested in Qemu.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>


git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@530 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-11-28 22:50:00 +00:00
..
arch/x86 Constify structs which can be const. 2007-11-26 13:28:52 +00:00
device Constify structs which can be const. 2007-11-26 13:28:52 +00:00
console.h Only post_code.h should have the prototype for post_code() from 2007-11-20 19:06:03 +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 Consolidate all multiple segment handling into 2007-11-28 22:50:00 +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 Stage0 and Stage1 improvements. Gets Geode LX into initram. Use LAR XIP. Add disable_CAR(). 2007-07-19 15:15:57 +00:00
post_code.h Only post_code.h should have the prototype for post_code() from 2007-11-20 19:06:03 +00:00
shared.h The introduction of the _SHARED macros had one flaw: If multiple files 2007-11-22 22:54:11 +00:00
spd.h Add an spd_read_byte prototype to spd.h. This is because I am going to 2007-11-27 16:24:57 +00:00
spinlock.h Document origin of include/arch/x86/arch/spinlock.h and use proper 2007-07-03 16:58:16 +00:00
string.h Move the code from strings.h to a C file. We should really avoid 2007-11-24 22:17:26 +00:00
tables.h Add a pointer to the root device to the LinuxBIOS table. Used for 2007-09-25 00:22:18 +00:00
uart8250.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00