Yinghai Lu | 8d22a5d | 2006-10-04 21:00:01 +0000 | [diff] [blame] | 1 | #ifndef AMDK8_SYSCONF_H |
| 2 | |
| 3 | #define AMDK8_SYSINFO_H |
| 4 | |
| 5 | #define HC_POSSIBLE_NUM 8 |
| 6 | |
| 7 | struct amdk8_sysconf_t { |
| 8 | //ht |
| 9 | unsigned nodes; |
| 10 | unsigned hc_possible_num; |
| 11 | unsigned pci1234[HC_POSSIBLE_NUM]; |
| 12 | unsigned hcdn[HC_POSSIBLE_NUM]; |
Yinghai Lu | 5f9624d | 2006-10-04 22:56:21 +0000 | [diff] [blame^] | 13 | unsigned hcid[HC_POSSIBLE_NUM]; //record ht chain type |
Yinghai Lu | 8d22a5d | 2006-10-04 21:00:01 +0000 | [diff] [blame] | 14 | unsigned sbdn; |
| 15 | unsigned sblk; |
| 16 | |
| 17 | unsigned hcdn_reg[4]; // it will be used by get_sblk_pci1234 |
| 18 | |
| 19 | int enabled_apic_ext_id; |
| 20 | unsigned lift_bsp_apicid; |
| 21 | int apicid_offset; |
| 22 | |
| 23 | void *mb; // pointer for mb releated struct |
| 24 | |
| 25 | }; |
| 26 | |
| 27 | extern struct amdk8_sysconf_t sysconf; |
| 28 | |
| 29 | #endif |