aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorYinghai Lu <yinghailu@gmail.com>2006-10-04 21:00:01 +0000
committerYinghai Lu <yinghailu@gmail.com>2006-10-04 21:00:01 +0000
commit8d22a5dc69f018f2861410e8628623537f009e2c (patch)
tree3c6409f437101951063ff59ed583b9da1b81ba70 /src/include
parentd4b278c02c1da92219ebeb34204b9768934aeca3 (diff)
amdk8_sysconf
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2436 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cpu/amd/amdk8_sysconf.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/include/cpu/amd/amdk8_sysconf.h b/src/include/cpu/amd/amdk8_sysconf.h
new file mode 100644
index 0000000000..932647a22e
--- /dev/null
+++ b/src/include/cpu/amd/amdk8_sysconf.h
@@ -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