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
F151405501: D24931.id72034.diff
Wed, Apr 8, 5:18 AM
F151391594: D24931.id72050.diff
Wed, Apr 8, 2:47 AM
Unknown Object (File)
Mon, Apr 6, 4:58 PM
Unknown Object (File)
Sun, Apr 5, 2:17 PM
Unknown Object (File)
Mon, Mar 30, 2:00 PM
Unknown Object (File)
Wed, Mar 25, 9:16 PM
Unknown Object (File)
Wed, Mar 25, 12:58 PM
Unknown Object (File)
Sat, Mar 21, 1:03 PM

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