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)
Dec 7 2024, 9:20 PM
Unknown Object (File)
Nov 21 2024, 10:02 AM
Unknown Object (File)
Oct 21 2024, 2:39 AM
Unknown Object (File)
Oct 15 2024, 2:39 AM
Unknown Object (File)
Oct 13 2024, 12:16 AM
Unknown Object (File)
Oct 4 2024, 4:58 PM
Unknown Object (File)
Oct 3 2024, 1:26 PM
Unknown Object (File)
Sep 30 2024, 7:47 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

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