drop some unused files and fix warnings on i945 based systems.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5267 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer
2010-03-22 11:50:52 +00:00
committed by Stefan Reinauer
parent c02b4fc9db
commit 53b0ea4bf2
40 changed files with 76 additions and 311 deletions

View File

@@ -30,6 +30,7 @@
#include "dmi.h"
extern unsigned char AmlCode[];
void *amlcodeptr = &AmlCode;
#if CONFIG_HAVE_ACPI_SLIC
unsigned long acpi_create_slic(unsigned long current);
#endif
@@ -203,10 +204,10 @@ unsigned long write_acpi_tables(unsigned long start)
ALIGN_CURRENT;
acpi_create_facs(facs);
int len = ((acpi_header_t *) amlcodeptr)->length;
dsdt = (acpi_header_t *) current;
current += ((acpi_header_t *) AmlCode)->length;
memcpy((void *) dsdt, (void *) AmlCode,
((acpi_header_t *) AmlCode)->length);
current += len;
memcpy((void *) dsdt, amlcodeptr, len);
ALIGN_CURRENT;