Page MenuHomeFreeBSD

Simplify hot-patching cpu_switch() for lack of UserLocal register.
ClosedPublic

Authored by jhb on May 20 2020, 5:21 PM.
Tags
None
Referenced Files
F161453215: D24931.diff
Fri, Jul 3, 10:47 PM
F161453197: D24931.diff
Fri, Jul 3, 10:46 PM
Unknown Object (File)
Thu, Jun 18, 10:50 PM
Unknown Object (File)
May 28 2026, 8:13 PM
Unknown Object (File)
May 28 2026, 7:06 AM
Unknown Object (File)
May 27 2026, 2:46 AM
Unknown Object (File)
May 19 2026, 6:19 PM
Unknown Object (File)
May 17 2026, 3:07 AM

Details

Summary

Rather than walking all of cpu_switch looking for the sequence of
instructions to patch, add a global label at the location that needs
the patch applied.

Test Plan
  • booted mips64 under QEMU which does not implement UL and requires the hot patching to work

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 31202
Build 28857: arc lint + arc unit