dualcore.h and quadcore.h are almost exactly the same.
Only have multicore.h for both of them. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5311 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
e9f3258e0b
commit
9a16e3e5a6
@@ -1,24 +0,0 @@
|
||||
#ifndef CPU_AMD_DUALCORE_H
|
||||
#define CPU_AMD_DUALCORE_H
|
||||
|
||||
#if defined(__GNUC__)
|
||||
unsigned int read_nb_cfg_54(void);
|
||||
#endif
|
||||
|
||||
struct node_core_id {
|
||||
unsigned nodeid;
|
||||
unsigned coreid;
|
||||
};
|
||||
|
||||
#if defined(__GNUC__)
|
||||
// it can be used to get unitid and coreid it running only
|
||||
struct node_core_id get_node_core_id(unsigned int nb_cfg_54);
|
||||
#endif
|
||||
|
||||
#if !defined(__PRE_RAM__)
|
||||
struct device;
|
||||
unsigned get_apicid_base(unsigned ioapic_num);
|
||||
void amd_sibling_init(struct device *cpu);
|
||||
#endif
|
||||
|
||||
#endif /* CPU_AMD_DUALCORE_H */
|
||||
@@ -21,7 +21,7 @@
|
||||
#define CPU_AMD_QUADCORE_H
|
||||
|
||||
#if defined(__GNUC__)
|
||||
unsigned int read_nb_cfg_54(void);
|
||||
u32 read_nb_cfg_54(void);
|
||||
#endif
|
||||
|
||||
struct node_core_id {
|
||||
Reference in New Issue
Block a user