switch-coreboot/include
Uwe Hermann 872be1d31b Add a simple strncmp() implementation in include/string.h.
Change lib/lar.c to use strncmp() for magic check. Current code
depends on that the len field will never hold a value bigger than
0xffffff, which is a working assumption given current flash sizes, but
my next patch might affect this.

Signed-off-by: Alex Beregszaszi <alex@rtfs.hu>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@496 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-09-08 19:36:35 +00:00
..
arch/x86 Various code cleanups: 2007-07-23 23:18:41 +00:00
device Add (and use) the new PCI IDs: 2007-07-12 01:03:05 +00:00
console.h fix somw printk calls and print warnings for those that still need to be fixed. 2007-07-21 19:22:40 +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 Make the load address and entry 64 bits. 2007-08-29 22:27:31 +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 * move post_code() to a seperate file 2007-07-23 16:49:00 +00:00
spd.h we need spd.h 2007-06-14 17:50:58 +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 Add a simple strncmp() implementation in include/string.h. 2007-09-08 19:36:35 +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