[coreboot] New patch to review: 284d358 SMM: add guard and include types.h in cpu/x86/smm.h

Sven Schnelle (svens@stackframe.org) gerrit at coreboot.org
Tue Jun 28 08:50:08 CEST 2011


Sven Schnelle (svens at stackframe.org) just uploaded a new patch set to gerrit, which you can find at
http://review.coreboot.org/64

-gerrit

commit 284d35814a8b70c7bb995e00710fe7a61cf7f9e7
Author: Sven Schnelle <svens at stackframe.org>
Date:   Tue Jun 28 08:06:18 2011 +0200

    SMM: add guard and include types.h in cpu/x86/smm.h
    
    Change-Id: I002845cf7a37cd6885456131826ae0ba681823ef
    Signed-off-by: Sven Schnelle <svens at stackframe.org>
---
 src/include/cpu/x86/smm.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/include/cpu/x86/smm.h b/src/include/cpu/x86/smm.h
index 07a9cae..49ee2be 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 <types.h>
 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




More information about the coreboot mailing list