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