Author: yhlu Date: 2006-10-04 23:00:01 +0200 (Wed, 04 Oct 2006) New Revision: 2436
Added: trunk/LinuxBIOSv2/src/include/cpu/amd/amdk8_sysconf.h Log: amdk8_sysconf
Added: trunk/LinuxBIOSv2/src/include/cpu/amd/amdk8_sysconf.h =================================================================== --- trunk/LinuxBIOSv2/src/include/cpu/amd/amdk8_sysconf.h (rev 0) +++ trunk/LinuxBIOSv2/src/include/cpu/amd/amdk8_sysconf.h 2006-10-04 21:00:01 UTC (rev 2436) @@ -0,0 +1,28 @@ +#ifndef AMDK8_SYSCONF_H + +#define AMDK8_SYSINFO_H + +#define HC_POSSIBLE_NUM 8 + +struct amdk8_sysconf_t { + //ht + unsigned nodes; + unsigned hc_possible_num; + unsigned pci1234[HC_POSSIBLE_NUM]; + unsigned hcdn[HC_POSSIBLE_NUM]; + unsigned sbdn; + unsigned sblk; + + unsigned hcdn_reg[4]; // it will be used by get_sblk_pci1234 + + int enabled_apic_ext_id; + unsigned lift_bsp_apicid; + int apicid_offset; + + void *mb; // pointer for mb releated struct + +}; + +extern struct amdk8_sysconf_t sysconf; + +#endif