summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-05-14 19:11:44 +0000
committerStefan Reinauer <stepan@openbios.org>2010-05-14 19:11:44 +0000
commit2f4b7f6cb1be61f4c36a85cbf3cb12822375a4f0 (patch)
tree778c427f347d9ef819b5abf8f6014d521638d6f0 /src
parentbf264e940e3c97b3924a2361b7149f8533f400b4 (diff)
downloadcoreboot-2f4b7f6cb1be61f4c36a85cbf3cb12822375a4f0.tar.xz
clean up some prototypes
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5553 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/arch/i386/include/arch/acpi.h4
-rw-r--r--src/include/cpu/x86/smm.h2
-rw-r--r--src/southbridge/intel/i82801gx/i82801gx_smihandler.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/src/arch/i386/include/arch/acpi.h b/src/arch/i386/include/arch/acpi.h
index 9b1e1a5d9e..bc7b082f7d 100644
--- a/src/arch/i386/include/arch/acpi.h
+++ b/src/arch/i386/include/arch/acpi.h
@@ -399,6 +399,10 @@ void acpi_create_mcfg(acpi_mcfg_t *mcfg);
void acpi_create_facs(acpi_facs_t *facs);
+#if CONFIG_HAVE_ACPI_SLIC
+unsigned long acpi_create_slic(unsigned long current);
+#endif
+
void acpi_write_rsdt(acpi_rsdt_t *rsdt);
void acpi_write_xsdt(acpi_xsdt_t *xsdt);
void acpi_write_rsdp(acpi_rsdp_t *rsdp, acpi_rsdt_t *rsdt, acpi_xsdt_t *xsdt);
diff --git a/src/include/cpu/x86/smm.h b/src/include/cpu/x86/smm.h
index 155f666b3c..c05536488e 100644
--- a/src/include/cpu/x86/smm.h
+++ b/src/include/cpu/x86/smm.h
@@ -262,3 +262,5 @@ void __attribute__((weak)) cpu_smi_handler(unsigned int node, smm_state_save_are
void __attribute__((weak)) northbridge_smi_handler(unsigned int node, smm_state_save_area_t *state_save);
void __attribute__((weak)) southbridge_smi_handler(unsigned int node, smm_state_save_area_t *state_save);
+void __attribute__((weak)) mainboard_smi_gpi(u16 gpi_sts);
+
diff --git a/src/southbridge/intel/i82801gx/i82801gx_smihandler.c b/src/southbridge/intel/i82801gx/i82801gx_smihandler.c
index b478dbaa90..997ec0fd5c 100644
--- a/src/southbridge/intel/i82801gx/i82801gx_smihandler.c
+++ b/src/southbridge/intel/i82801gx/i82801gx_smihandler.c
@@ -431,8 +431,6 @@ static void southbridge_smi_gpe0(unsigned int node, smm_state_save_area_t *state
dump_gpe0_status(gpe0_sts);
}
-void __attribute__((weak)) mainboard_smi_gpi(u16 gpi_sts);
-
static void southbridge_smi_gpi(unsigned int node, smm_state_save_area_t *state_save)
{
u16 reg16;