From 2f4b7f6cb1be61f4c36a85cbf3cb12822375a4f0 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 14 May 2010 19:11:44 +0000 Subject: clean up some prototypes Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5553 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/include/arch/acpi.h | 4 ++++ src/include/cpu/x86/smm.h | 2 ++ src/southbridge/intel/i82801gx/i82801gx_smihandler.c | 2 -- 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; -- cgit v1.2.3