From 5a4cb53dab56faef505cef7f9c6da1a033b4fc2f Mon Sep 17 00:00:00 2001 From: Diego Nieto Cid Date: Thu, 9 Jan 2025 22:40:55 +0000 Subject: make hwcaps_t a pointer to uint64_t * aarch64/include/mach/aarch64/mach_aarch64.defs: (hwcaps_t) make type an array of uint64_t. * aarch64/include/mach/aarch64/mach_aarch64_types.h (hwcaps_t) make type a pointer to uint64_t Acked-by: Sergey Bugaev Message-ID: <20250109224057.1652-1-dnietoc@gmail.com> --- aarch64/include/mach/aarch64/mach_aarch64.defs | 2 +- aarch64/include/mach/aarch64/mach_aarch64_types.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aarch64/include/mach/aarch64/mach_aarch64.defs b/aarch64/include/mach/aarch64/mach_aarch64.defs index 0fe1eb62..da1e9498 100644 --- a/aarch64/include/mach/aarch64/mach_aarch64.defs +++ b/aarch64/include/mach/aarch64/mach_aarch64.defs @@ -43,7 +43,7 @@ import ; * versions can add more items and more bits (HWCAP3_* and * so forth). */ -type hwcaps_t = array[*:16] of uint32_t; +type hwcaps_t = array[*:16] of uint64_t; routine aarch64_get_hwcaps( host : host_t; diff --git a/aarch64/include/mach/aarch64/mach_aarch64_types.h b/aarch64/include/mach/aarch64/mach_aarch64_types.h index 98fd6c4b..efb9f897 100644 --- a/aarch64/include/mach/aarch64/mach_aarch64_types.h +++ b/aarch64/include/mach/aarch64/mach_aarch64_types.h @@ -25,7 +25,7 @@ #ifndef __ASSEMBLER__ #include -typedef uint32_t *hwcaps_t; +typedef uint64_t *hwcaps_t; #endif /* These definitions are meant to match those in -- cgit v1.2.3