From 2c08f6ade4ac904e9eb762c71f95daa372be0072 Mon Sep 17 00:00:00 2001 From: zbao Date: Mon, 2 Jul 2012 15:32:58 +0800 Subject: AGESA F15 wrapper for Trinity The wrapper for Trinity. Support S3. Parme is a example board. Change-Id: Ib4f653b7562694177683e1e1ffdb27ea176aeaab Signed-off-by: Zheng Bao Signed-off-by: zbao Reviewed-on: http://review.coreboot.org/1156 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/include/cpu/amd/amdfam15.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/include/cpu') diff --git a/src/include/cpu/amd/amdfam15.h b/src/include/cpu/amd/amdfam15.h index 3d300de511..d09bf19b50 100644 --- a/src/include/cpu/amd/amdfam15.h +++ b/src/include/cpu/amd/amdfam15.h @@ -35,7 +35,16 @@ #define CPU_ID_FEATURES_MSR 0xC0011004 #define CPU_ID_EXT_FEATURES_MSR 0xC0011005 -static msr_t rdmsr_amd(u32 index); -static void wrmsr_amd(u32 index, msr_t msr); +msr_t rdmsr_amd(u32 index); +void wrmsr_amd(u32 index, msr_t msr); + +#if defined(__PRE_RAM__) +void wait_all_core0_started(void); +void wait_all_other_cores_started(u32 bsp_apicid); +void wait_all_aps_started(u32 bsp_apicid); +void allow_all_aps_stop(u32 bsp_apicid); +#endif +u32 get_initial_apicid(void); +void get_bus_conf(void); #endif /* CPU_AMD_FAM15_H */ -- cgit v1.2.3