Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
morello: Fix explicit (C)RTPIDR_EL0 access
This was clearly copied from the Armv6k TPIDRRO_EL0 and only partially updated to work, with the name and fieldoffset left as they are for TPIDRRO_EL0. It's hard to notice this unless you mix explicit accesses from executive with implicit accesses from restricted, as the only other way to notice is if you have state in TPIDRRO_EL0 you don't want to have clobbered, which is rare since most OSes use TPIDR_EL0 as the userspace thread pointer (with the notable exception of Darwin). Whilst here reorder the encoding fields to match the other entries here (and the order the specification lists them in) rather than the order in the Armv6k table from which it was copied.
- Loading branch information