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)
Wed, Apr 17, 5:41 AM
Unknown Object (File)
Mar 23 2024, 3:46 AM
Unknown Object (File)
Feb 29 2024, 6:50 PM
Unknown Object (File)
Feb 17 2024, 12:02 PM
Unknown Object (File)
Feb 11 2024, 8:24 AM
Unknown Object (File)
Dec 20 2023, 7:44 AM
Unknown Object (File)
Dec 12 2023, 7:04 PM
Unknown Object (File)
Nov 23 2023, 2:08 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