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:
parent
0f0b1e6060
commit
9b9f9e2faa
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue