Page MenuHomeFreeBSD

Add constant for the DE_CFG MSR on AMD CPUs
ClosedPublic

Authored by pmooney_pfmooney.com on Jul 29 2020, 10:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 2, 11:57 PM
Unknown Object (File)
Wed, Oct 2, 6:06 AM
Unknown Object (File)
Wed, Oct 2, 2:22 AM
Unknown Object (File)
Mon, Sep 30, 7:52 PM
Unknown Object (File)
Mon, Sep 30, 7:46 PM
Unknown Object (File)
Sat, Sep 21, 12:46 AM
Unknown Object (File)
Tue, Sep 10, 12:38 PM
Unknown Object (File)
Sun, Sep 8, 6:31 PM
Subscribers

Details

Summary

Considering future references in components such as bhyve, the DE_CFG register could benefit from a named #define rather than being manipulated with a numerical constant.

Diff Detail

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

Event Timeline

I discovered the lack of a #define for this in FreeBSD while investigating 12998 on illumos bhyve (related to OpenBSD guests attempting to access that MSR on AMD hardware)

This revision is now accepted and ready to land.Sep 11 2020, 8:30 PM
This revision was automatically updated to reflect the committed changes.