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
F115204066: D24931.id72050.diff
Mon, Apr 21, 10:04 AM
Unknown Object (File)
Mar 17 2025, 11:59 PM
Unknown Object (File)
Mar 14 2025, 5:14 AM
Unknown Object (File)
Mar 6 2025, 7:16 PM
Unknown Object (File)
Feb 26 2025, 6:51 AM
Unknown Object (File)
Feb 11 2025, 9:28 PM
Unknown Object (File)
Feb 3 2025, 1:46 PM
Unknown Object (File)
Jan 25 2025, 1:45 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