move acpi headers from x86 to non-arch

Change-Id: Ida6186af7a40fb7d91b4da92c36d25db30dadb33
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5484
Reviewed-by: Fredrik Holmqvist <[email protected]>
Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
David Karoly
2022-07-20 08:28:53 +00:00
committed by Adrien Destugues
parent f0ee02b25e
commit 91ee0332c3
9 changed files with 7 additions and 12 deletions
@@ -3,8 +3,8 @@
* Copyright 2007, Michael Lotz, mmlr@mlotz.ch. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _KERNEL_ARCH_x86_ARCH_ACPI_H
#define _KERNEL_ARCH_x86_ARCH_ACPI_H
#ifndef _KERNEL_ACPI_H
#define _KERNEL_ACPI_H
#define ACPI_RSDP_SIGNATURE "RSD PTR "
#define ACPI_RSDT_SIGNATURE "RSDT"
@@ -203,4 +203,4 @@ typedef struct acpi_local_x2_apic_nmi {
} _PACKED acpi_local_x2_apic_nmi;
#endif /* _KERNEL_ARCH_x86_ARCH_ACPI_H */
#endif /* _KERNEL_ACPI_H */
+1 -1
View File
@@ -5,7 +5,7 @@
#ifndef _KERNEL_ARCH_x86_HPET_H
#define _KERNEL_ARCH_x86_HPET_H
#include <arch/x86/arch_acpi.h>
#include <acpi.h>
/* All masks are 32 bits wide to represent relative bit locations */
/* Doing it this way is Required since the HPET only supports 32/64-bit aligned reads. */
@@ -17,7 +17,7 @@
#include <KernelExport.h>
#include <boot_item.h>
#include <arch/x86/arch_acpi.h>
#include <acpi.h>
//#define TRACE_ACPI
-1
View File
@@ -17,7 +17,6 @@
#include <boot/stage2.h>
#include <boot/arch/x86/arch_cpu.h>
#include <boot/arch/x86/arch_hpet.h>
#include <kernel/arch/x86/arch_acpi.h>
#include <kernel/arch/x86/arch_hpet.h>
#include <string.h>
@@ -17,8 +17,6 @@
#include <KernelExport.h>
#include <arch/x86/arch_acpi.h>
//#define TRACE_ACPI
#ifdef TRACE_ACPI
+1 -1
View File
@@ -6,7 +6,7 @@
#define ACPI_H
#include <SupportDefs.h>
#include <arch/x86/arch_acpi.h>
#include <kernel/acpi.h>
#ifdef __cplusplus
extern "C" {
@@ -19,7 +19,6 @@
#include <boot/stage2.h>
#include <boot/menu.h>
#include <arch/x86/apic.h>
#include <arch/x86/arch_acpi.h>
#include <arch/x86/arch_cpu.h>
#include <arch/x86/arch_smp.h>
#include <arch/x86/arch_system_info.h>
-1
View File
@@ -17,7 +17,6 @@
#include <KernelExport.h>
#include <SupportDefs.h>
#include <arch/x86/arch_acpi.h>
#include <boot/stage2.h>
#include <boot/platform.h>
#include <boot/stdio.h>
+1 -1
View File
@@ -6,7 +6,7 @@
#define ACPI_H
#include <SupportDefs.h>
#include <arch/x86/arch_acpi.h>
#include <kernel/acpi.h>
#ifdef __cplusplus
extern "C" {