diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/cpu/amd/multicore.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/include/cpu/amd/multicore.h b/src/include/cpu/amd/multicore.h index b8680933ae..79bea66f68 100644 --- a/src/include/cpu/amd/multicore.h +++ b/src/include/cpu/amd/multicore.h @@ -17,6 +17,7 @@ #define CPU_AMD_QUADCORE_H #include <stdint.h> +#include <device/device.h> u32 read_nb_cfg_54(void); @@ -29,17 +30,14 @@ struct node_core_id { struct node_core_id get_node_core_id(u32 nb_cfg_54); struct node_core_id get_node_core_id_x(void); -#if !defined(__PRE_RAM__) -struct device; u32 get_apicid_base(u32 ioapic_num); void amd_sibling_init(struct device *cpu); -#else + void wait_all_core0_started(void); void wait_all_other_cores_started(u32 bsp_apicid); void wait_all_aps_started(u32 bsp_apicid); void wait_all_other_cores_stopped(uint32_t bsp_apicid); void allow_all_aps_stop(u32 bsp_apicid); -#endif u32 get_initial_apicid(void); #endif /* CPU_AMD_QUADCORE_H */ |