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 <fredrik.holmqvist@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
This commit is contained in:
David Karoly 2022-07-19 19:33:36 +02:00 committed by Adrien Destugues
parent f0ee02b25e
commit 91ee0332c3
9 changed files with 7 additions and 12 deletions

View File

@ -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 */

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. */

View File

@ -17,7 +17,7 @@
#include <KernelExport.h>
#include <boot_item.h>
#include <arch/x86/arch_acpi.h>
#include <acpi.h>
//#define TRACE_ACPI

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>

View File

@ -17,8 +17,6 @@
#include <KernelExport.h>
#include <arch/x86/arch_acpi.h>
//#define TRACE_ACPI
#ifdef TRACE_ACPI

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" {

View File

@ -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>

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>

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" {