diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2023-01-03 12:21:18 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2023-01-03 12:35:31 +0800 |
commit | d809b69cf43c632c8fe5b42372a891216fdd9223 (patch) | |
tree | 61e797eebbc91e48f198140374169d4c31ab47d9 | |
parent | d9a0d78fb737445fd69ecf752ea219eda86ce6b9 (diff) | |
download | acpica-d809b69cf43c632c8fe5b42372a891216fdd9223.tar.gz |
Add support for 64 bit LoongArch compilation
Add 64 bit LoongArch architecture by defining ACPI_MACHINE_WIDTH to 64.
Useful for acpica tools and incorporating ACPICA into the Firmware Test
Suite.
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
-rw-r--r-- | source/include/platform/aclinux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/include/platform/aclinux.h b/source/include/platform/aclinux.h index 1c55c659f..e9c1954d3 100644 --- a/source/include/platform/aclinux.h +++ b/source/include/platform/aclinux.h @@ -329,7 +329,7 @@ #if defined(__ia64__) || (defined(__x86_64__) && !defined(__ILP32__)) ||\ defined(__aarch64__) || defined(__PPC64__) ||\ - defined(__s390x__) ||\ + defined(__s390x__) || defined(__loongarch__) ||\ (defined(__riscv) && (defined(__LP64__) || defined(_LP64))) #define ACPI_MACHINE_WIDTH 64 #define COMPILER_DEPENDENT_INT64 long |