mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
We need the sys_info struct in the global variables struct for cache as ram on k8. The sys_info struct is generally very useful so it makes sense to start accomodating it. This patch adds an (empty for now) sys_info struct for geode. It add sys_info to the global variables struct. It removes global variables from console.h to a new file, globalvars.h. Very little code needs to include this file. This patch is tested on the dbe62 and simnow with no problems. k8 compilation is now broken but I'm working on it. I'm going through the eyeballs-bleed code on k8 startup to document it and with any luck we'll have more functionality by the end of today. But it's hard ... Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://coreboot.org/repository/coreboot-v3@828 f3766cd6-281f-0410-b1cd-43a5c92072e9 |
||
---|---|---|
.. | ||
arch/x86 | ||
device | ||
console.h | ||
elf.h | ||
elf_boot.h | ||
globalvars.h | ||
ip_checksum.h | ||
isa-dma.h | ||
keyboard.h | ||
lar.h | ||
lib.h | ||
mc146818rtc.h | ||
post_code.h | ||
shared.h | ||
spd.h | ||
spd_ddr2.h | ||
spinlock.h | ||
string.h | ||
tables.h | ||
uart8250.h |