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
F136960426: D24931.id72034.diff
Thu, Nov 20, 8:31 PM
F136958009: D24931.id.diff
Thu, Nov 20, 8:20 PM
F136957795: D24931.id72050.diff
Thu, Nov 20, 8:18 PM
F136956012: D24931.diff
Thu, Nov 20, 8:09 PM
F136925475: D24931.id72034.diff
Thu, Nov 20, 4:54 PM
Unknown Object (File)
Fri, Nov 14, 2:38 AM
Unknown Object (File)
Fri, Nov 14, 1:34 AM
Unknown Object (File)
Fri, Nov 14, 1:30 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