diff options
Diffstat (limited to 'gdb/aarch64-linux-tdep.h')
-rw-r--r-- | gdb/aarch64-linux-tdep.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/aarch64-linux-tdep.h b/gdb/aarch64-linux-tdep.h index 814222e..e9f7c9b 100644 --- a/gdb/aarch64-linux-tdep.h +++ b/gdb/aarch64-linux-tdep.h @@ -36,4 +36,10 @@ extern const struct regset aarch64_linux_gregset; extern const struct regset aarch64_linux_fpregset; +/* Matches HWCAP_PACA in kernel header arch/arm64/include/uapi/asm/hwcap.h. */ +#define AARCH64_HWCAP_PACA (1 << 30) + +/* Fetch the AT_HWCAP entry from the auxv vector for the given TARGET. */ +bool aarch64_linux_get_hwcap (struct target_ops *target, CORE_ADDR *hwcap); + #endif /* AARCH64_LINUX_TDEP_H */ |