1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2025-01-23 20:06:41 +00:00

Disable is_aarch64_mode() for now

Function is not used.
This commit is contained in:
The Tumultuous Unicorn Of Darkness 2024-07-08 21:49:37 +02:00
parent 0f0b1e6060
commit 9b9f9e2faa
No known key found for this signature in database
GPG key ID: 1E55EE2EFF18BC1A

View file

@ -404,10 +404,11 @@ static inline bool is_aarch32_mode(struct cpu_raw_data_t* raw)
return (raw->arm_id_afr[0] != 0) || (raw->arm_id_dfr[0] != 0) || (raw->arm_id_isar[0] != 0) || (raw->arm_id_mmfr[0] != 0) || (raw->arm_id_pfr[0] != 0); return (raw->arm_id_afr[0] != 0) || (raw->arm_id_dfr[0] != 0) || (raw->arm_id_isar[0] != 0) || (raw->arm_id_mmfr[0] != 0) || (raw->arm_id_pfr[0] != 0);
} }
/* Unused
static inline bool is_aarch64_mode(struct cpu_raw_data_t* raw) static inline bool is_aarch64_mode(struct cpu_raw_data_t* raw)
{ {
return (raw->arm_id_aa64afr[0] != 0) || (raw->arm_id_aa64dfr[0] != 0) || (raw->arm_id_aa64isar[0] != 0) || (raw->arm_id_aa64mmfr[0] != 0) || (raw->arm_id_aa64pfr[0] != 0); return (raw->arm_id_aa64afr[0] != 0) || (raw->arm_id_aa64dfr[0] != 0) || (raw->arm_id_aa64isar[0] != 0) || (raw->arm_id_aa64mmfr[0] != 0) || (raw->arm_id_aa64pfr[0] != 0);
} } */
static bool decode_arm_architecture_version_by_midr(struct cpu_raw_data_t* raw, struct cpu_id_t* data) static bool decode_arm_architecture_version_by_midr(struct cpu_raw_data_t* raw, struct cpu_id_t* data)
{ {