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]; |
| 13 | unsigned sbdn; |
| 14 | unsigned sblk; |
| 15 | |
| 16 | unsigned hcdn_reg[4]; // it will be used by get_sblk_pci1234 |
| 17 | |
| 18 | int enabled_apic_ext_id; |
| 19 | unsigned lift_bsp_apicid; |
| 20 | int apicid_offset; |
| 21 | |
| 22 | void *mb; // pointer for mb releated struct |
| 23 | |
| 24 | }; |
| 25 | |
| 26 | extern struct amdk8_sysconf_t sysconf; |
| 27 | |
| 28 | #endif |