From 180f81e9a98047839e5887ed45966cb0be22e6c2 Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Tue, 28 Jun 2011 08:06:18 +0200 Subject: SMM: add guard and include types.h in cpu/x86/smm.h Change-Id: I002845cf7a37cd6885456131826ae0ba681823ef Signed-off-by: Sven Schnelle Reviewed-on: http://review.coreboot.org/64 Tested-by: build bot (Jenkins) --- src/include/cpu/x86/smm.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/include/cpu/x86/smm.h b/src/include/cpu/x86/smm.h index 07a9cae30e..49ee2be514 100644 --- a/src/include/cpu/x86/smm.h +++ b/src/include/cpu/x86/smm.h @@ -20,6 +20,11 @@ /* AMD64 SMM State-Save Area * starts @ 0x7e00 */ + +#ifndef CPU_X86_SMM_H +#define CPU_X86_SMM_H + +#include typedef struct { u16 es_selector; u16 es_attributes; @@ -273,3 +278,5 @@ void __attribute__((weak)) southbridge_smi_handler(unsigned int node, smm_state_ void __attribute__((weak)) mainboard_smi_gpi(u16 gpi_sts); int __attribute__((weak)) mainboard_apm_cnt(u8 data); void smi_release_lock(void); + +#endif -- cgit v1.2.3