diff options
author | Diego Nieto Cid <dnietoc@gmail.com> | 2025-01-09 22:40:55 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-01-14 02:25:07 +0100 |
commit | 5a4cb53dab56faef505cef7f9c6da1a033b4fc2f (patch) | |
tree | c991ebc4d7906e31fb66f12bba50329f76f0bc31 | |
parent | d197bdc629b2ce5e1b4377e74fb0b63b0bbe5a8e (diff) | |
download | gnumach-5a4cb53dab56faef505cef7f9c6da1a033b4fc2f.tar.gz gnumach-5a4cb53dab56faef505cef7f9c6da1a033b4fc2f.tar.bz2 gnumach-5a4cb53dab56faef505cef7f9c6da1a033b4fc2f.zip |
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 <bugaevc@gmail.com>
Message-ID: <20250109224057.1652-1-dnietoc@gmail.com>
-rw-r--r-- | aarch64/include/mach/aarch64/mach_aarch64.defs | 2 | ||||
-rw-r--r-- | 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 <mach/machine/mach_aarch64_types.h>; * 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 <stdint.h> -typedef uint32_t *hwcaps_t; +typedef uint64_t *hwcaps_t; #endif /* These definitions are meant to match those in |