1 #ifndef AMDK8_SYSCONF_H
2 #define AMDK8_SYSCONF_H
4 #define HC_POSSIBLE_NUM 8
6 struct amdk8_sysconf_t {
9 unsigned hc_possible_num;
10 unsigned pci1234[HC_POSSIBLE_NUM];
11 unsigned hcdn[HC_POSSIBLE_NUM];
12 unsigned hcid[HC_POSSIBLE_NUM]; //record ht chain type
16 unsigned hcdn_reg[4]; // it will be used by get_sblk_pci1234
18 int enabled_apic_ext_id;
19 unsigned lift_bsp_apicid;
22 void *mb; // pointer for mb releated struct
26 extern struct amdk8_sysconf_t sysconf;
28 void get_sblk_pci1234(void);
29 void get_bus_conf(void);