arm64: Panic if the ID register isn't known

This will allow for callers to be simplified & not need to check the
return status.

Keep the return type for now so this can be MFCd without breaking the
KBI.

Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D55104
This commit is contained in:
Andrew Turner
2026-02-09 17:24:27 +00:00
parent 0ea31fe851
commit 3b0b6aa2cd
+2 -2
View File
@@ -2526,7 +2526,7 @@ get_kernel_reg_iss(u_int iss, uint64_t *val)
}
}
return (false);
panic("%s: Invalid register %x", __func__, iss);
}
/*
@@ -2553,7 +2553,7 @@ get_kernel_reg_iss_masked(u_int iss, uint64_t *valp, uint64_t mask)
}
}
return (false);
panic("%s: Invalid register %x", __func__, iss);
}
bool