switch-coreboot/arch/x86
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
..
geodelx 1. move early_* names to stage1.c 2007-06-29 00:09:24 +00:00
archelfboot.c Move include/console/console.h to include/console.h in order to 2007-05-05 20:18:28 +00:00
archtables.c Massive file rename and moving orgy: 2007-05-05 21:36:52 +00:00
i8259.c Massive file rename and moving orgy: 2007-05-05 21:36:52 +00:00
isa-dma.c Ron's arch code., slightly changed. Another one will follow 2007-06-27 21:01:01 +00:00
Kconfig Various Kconfig file fixes (trivial). 2007-06-29 13:28:33 +00:00
keyboard.c Massive file rename and moving orgy: 2007-05-05 21:36:52 +00:00
ldscript.ld Add x86emu support. This adds initial x86emu/vm86 support to LinuxBIOSv3 2007-03-12 23:47:26 +00:00
linuxbios_table.c Add an ARRAY_SIZE() macro which returns the size of an array, regardless 2007-06-29 14:36:03 +00:00
macros.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
Makefile mv cachemain.c to stage1.c, so that people can tell when it runs. 2007-06-29 14:20:02 +00:00
mc146818rtc.c Massive file rename and moving orgy: 2007-05-05 21:36:52 +00:00
mtrr.h Use the same naming convention and placement for "include guards" in 2007-05-21 06:48:47 +00:00
pci_ops_auto.c Massive file rename and moving orgy: 2007-05-05 21:36:52 +00:00
pci_ops_conf1.c Massive file rename and moving orgy: 2007-05-05 21:36:52 +00:00
pci_ops_conf2.c Massive file rename and moving orgy: 2007-05-05 21:36:52 +00:00
pci_ops_mmconf.c Massive file rename and moving orgy: 2007-05-05 21:36:52 +00:00
serial.c Fix various license headers. 2007-05-20 20:35:59 +00:00
speaker.c Massive file rename and moving orgy: 2007-05-05 21:36:52 +00:00
stage0_i586.S Fix various license headers. 2007-05-20 20:35:59 +00:00
stage1.c mv cachemain.c to stage1.c, so that people can tell when it runs. 2007-06-29 14:20:02 +00:00
udelay_io.c Fix various license headers. 2007-05-20 20:35:59 +00:00