switch-coreboot/include
Uwe Hermann c81aa82942 Add an ARRAY_SIZE() macro which returns the size of an array, regardless
of the data types of the individual array elements.

The macro is defined in lib.h, so code which uses it must include lib.h.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@413 f3766cd6-281f-0410-b1cd-43a5c92072e9
2007-06-29 14:36:03 +00:00
..
arch/x86 two more unsigned! 2007-06-29 00:23:18 +00:00
device Make dtsname a static part of the device structure. 2007-06-28 20:09:41 +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 Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +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
stdlib.h Fix various license headers. 2007-05-20 20:35:59 +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