git: 244002b48257 - main - Switch the order of the ID_AA64PFR1_EL1 fields
Andrew Turner
andrew at FreeBSD.org
Thu Jul 1 14:34:57 UTC 2021
The branch main has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=244002b48257a8e4d3b4772872981c0d7a467923
commit 244002b48257a8e4d3b4772872981c0d7a467923
Author: Andrew Turner <andrew at FreeBSD.org>
AuthorDate: 2021-07-01 00:45:39 +0000
Commit: Andrew Turner <andrew at FreeBSD.org>
CommitDate: 2021-07-01 00:48:56 +0000
Switch the order of the ID_AA64PFR1_EL1 fields
This makes them consistent with the fields in other registers.
Sponsored by: The FreeBSD Foundation
---
sys/arm64/arm64/identcpu.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c
index c3544e9de9aa..bae5770b4b04 100644
--- a/sys/arm64/arm64/identcpu.c
+++ b/sys/arm64/arm64/identcpu.c
@@ -901,9 +901,10 @@ static struct mrs_field id_aa64pfr0_fields[] = {
/* ID_AA64PFR1_EL1 */
-static struct mrs_field_value id_aa64pfr1_bt[] = {
- MRS_FIELD_VALUE(ID_AA64PFR1_BT_NONE, ""),
- MRS_FIELD_VALUE(ID_AA64PFR1_BT_IMPL, "BTI"),
+static struct mrs_field_value id_aa64pfr1_mte[] = {
+ MRS_FIELD_VALUE(ID_AA64PFR1_MTE_NONE, ""),
+ MRS_FIELD_VALUE(ID_AA64PFR1_MTE_IMPL_EL0, "MTE EL0"),
+ MRS_FIELD_VALUE(ID_AA64PFR1_MTE_IMPL, "MTE"),
MRS_FIELD_VALUE_END,
};
@@ -914,17 +915,16 @@ static struct mrs_field_value id_aa64pfr1_ssbs[] = {
MRS_FIELD_VALUE_END,
};
-static struct mrs_field_value id_aa64pfr1_mte[] = {
- MRS_FIELD_VALUE(ID_AA64PFR1_MTE_NONE, ""),
- MRS_FIELD_VALUE(ID_AA64PFR1_MTE_IMPL_EL0, "MTE EL0"),
- MRS_FIELD_VALUE(ID_AA64PFR1_MTE_IMPL, "MTE"),
+static struct mrs_field_value id_aa64pfr1_bt[] = {
+ MRS_FIELD_VALUE(ID_AA64PFR1_BT_NONE, ""),
+ MRS_FIELD_VALUE(ID_AA64PFR1_BT_IMPL, "BTI"),
MRS_FIELD_VALUE_END,
};
static struct mrs_field id_aa64pfr1_fields[] = {
- MRS_FIELD(ID_AA64PFR1, BT, false, MRS_EXACT, id_aa64pfr1_bt),
- MRS_FIELD(ID_AA64PFR1, SSBS, false, MRS_LOWER, id_aa64pfr1_ssbs),
MRS_FIELD(ID_AA64PFR1, MTE, false, MRS_EXACT, id_aa64pfr1_mte),
+ MRS_FIELD(ID_AA64PFR1, SSBS, false, MRS_LOWER, id_aa64pfr1_ssbs),
+ MRS_FIELD(ID_AA64PFR1, BT, false, MRS_EXACT, id_aa64pfr1_bt),
MRS_FIELD_END,
};
More information about the dev-commits-src-all
mailing list