Some UEFI implementations trash this register and, as we use it as
a platform register, the kernel doesn't save it before calling into
the UEFI runtime services. As we have a copy in tpidr_el1 restore from
there when exiting the EFI environment.
Details
Details
- Reviewers
manu - Group Reviewers
arm64 - Commits
- rS352395: MFC r346996:
rS346996: Restore x18 in efi_arch_leave.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Related links courtesy of Ed Vielmetti:
https://bugzilla.tianocore.org/show_bug.cgi?id=625
https://github.com/tianocore/edk2/commit/6d73863b5464f382af2a17b2c2ec1abc550d0af5