@@ -2,6 +2,7 @@
all: directories test_cases
+cflatobjs += lib/acpi.o
cflatobjs += lib/pci.o
cflatobjs += lib/pci-edu.o
cflatobjs += lib/alloc.o
@@ -18,7 +19,6 @@ cflatobjs += lib/x86/apic.o
cflatobjs += lib/x86/atomic.o
cflatobjs += lib/x86/desc.o
cflatobjs += lib/x86/isr.o
-cflatobjs += lib/x86/acpi.o
cflatobjs += lib/x86/stack.o
cflatobjs += lib/x86/fault_test.o
cflatobjs += lib/x86/delay.o
@@ -4,7 +4,7 @@
unsigned long setup_tss(u8 *stacktop);
#ifdef CONFIG_EFI
-#include "x86/acpi.h"
+#include "acpi.h"
#include "x86/apic.h"
#include "x86/processor.h"
#include "x86/smp.h"
similarity index 99%
rename from lib/x86/acpi.h
rename to lib/acpi.h
@@ -1,5 +1,5 @@
-#ifndef _X86_ACPI_H_
-#define _X86_ACPI_H_
+#ifndef _ACPI_H_
+#define _ACPI_H_
#include "libcflat.h"
similarity index 100%
rename from lib/x86/acpi.c
rename to lib/acpi.c
@@ -1,5 +1,5 @@
#include "libcflat.h"
-#include "x86/acpi.h"
+#include "acpi.h"
#include "asm/io.h"
static u32* find_resume_vector_addr(void)
@@ -1,9 +1,9 @@
#include "libcflat.h"
+#include "acpi.h"
#include "smp.h"
#include "pci.h"
#include "x86/vm.h"
#include "x86/desc.h"
-#include "x86/acpi.h"
#include "x86/apic.h"
#include "x86/isr.h"