Revision: linuxbios@linuxbios.org--devel/freebios--devel--2.0--patch-34
[coreboot.git] / src / include / cpu / amd / dualcore.h
1 #ifndef CPU_AMD_DUALCORE_H
2 #define CPU_AMD_DUALCORE_H
3
4 struct device;
5 void amd_sibling_init(struct device *cpu);
6
7 int is_e0_later_in_bsp(int nodeid);
8 unsigned int read_nb_cfg_54(void);
9
10 struct node_core_id {
11         unsigned nodeid;
12         unsigned coreid;
13 };
14
15 // it can be used to get unitid and coreid it running only
16 struct node_core_id get_node_core_id(unsigned int nb_cfg_54);
17 unsigned get_apicid_base(unsigned ioapic_num);
18
19 #endif /* CPU_AMD_DUALCORE_H */