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, Sep 18, 1:43 AM
Unknown Object (File)
Wed, Sep 6, 9:39 PM
Unknown Object (File)
Fri, Sep 1, 3:13 PM
Unknown Object (File)
Aug 30 2023, 4:22 AM
Unknown Object (File)
Aug 12 2023, 11:27 AM
Unknown Object (File)
Jun 20 2023, 5:35 PM
Unknown Object (File)
May 30 2023, 6:19 PM
Unknown Object (File)
May 30 2023, 4:26 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