From be7f79867e4d989fc9cb7fb9e8b0b8ec55956875 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 13 Mar 2009 15:42:27 +0000 Subject: This, ladies and gentlement, is commit #4000. Use the (almost) same strict CFLAGS in v2 that we use on v3. And fix a few include files and missing prototypes. Also, fix up the Config-abuild.lb files to properly work for cross compiling. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4000 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/include/arch/acpi.h | 6 +++--- src/arch/i386/include/arch/pci_ops.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/arch/i386') diff --git a/src/arch/i386/include/arch/acpi.h b/src/arch/i386/include/arch/acpi.h index 4d2cedd10f..1fccd62a7b 100644 --- a/src/arch/i386/include/arch/acpi.h +++ b/src/arch/i386/include/arch/acpi.h @@ -5,9 +5,7 @@ * (C) 2004 SUSE LINUX AG * * The ACPI table structs are based on the Linux kernel sources. - * - */ -/* ACPI FADT & FACS added by Nick Barker + * ACPI FADT & FACS added by Nick Barker * those parts (C) 2004 Nick Barker */ @@ -331,6 +329,8 @@ void acpi_create_facs(acpi_facs_t *facs); void acpi_write_rsdt(acpi_rsdt_t *rsdt); void acpi_write_rsdp(acpi_rsdp_t *rsdp, acpi_rsdt_t *rsdt); +unsigned long acpi_add_ssdt_pstates(acpi_rsdt_t *rsdt, unsigned long current); + #define ACPI_WRITE_MADT_IOAPIC(dev,id) \ do { \ struct resource *res; \ diff --git a/src/arch/i386/include/arch/pci_ops.h b/src/arch/i386/include/arch/pci_ops.h index 5972df1d72..04b93196aa 100644 --- a/src/arch/i386/include/arch/pci_ops.h +++ b/src/arch/i386/include/arch/pci_ops.h @@ -1,11 +1,11 @@ #ifndef ARCH_I386_PCI_OPS_H #define ARCH_I386_PCI_OPS_H -const struct pci_bus_operations pci_cf8_conf1; -const struct pci_bus_operations pci_cf8_conf2; +extern const struct pci_bus_operations pci_cf8_conf1; +extern const struct pci_bus_operations pci_cf8_conf2; #if MMCONF_SUPPORT==1 -const struct pci_bus_operations pci_ops_mmconf; +extern const struct pci_bus_operations pci_ops_mmconf; #endif void pci_set_method(device_t dev); -- cgit v1.2.3