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 30, 3:07 PM
Unknown Object (File)
Oct 23 2024, 11:07 AM
Unknown Object (File)
Oct 20 2024, 5:26 PM
Unknown Object (File)
Oct 5 2024, 7:51 PM
Unknown Object (File)
Oct 5 2024, 6:51 PM
Unknown Object (File)
Oct 5 2024, 5:50 AM
Unknown Object (File)
Oct 5 2024, 12:34 AM
Unknown Object (File)
Oct 5 2024, 12:26 AM
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.