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
Unknown Object (File)
Mon, Mar 17, 11:59 PM
Unknown Object (File)
Fri, Mar 14, 5:14 AM
Unknown Object (File)
Thu, Mar 6, 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
Unknown Object (File)
Dec 7 2024, 9:20 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable