Page MenuHomeFreeBSD

Add constant for the DE_CFG MSR on AMD CPUs
Needs ReviewPublic

Authored by pmooney_pfmooney.com on Wed, Jul 29, 10:13 PM.

Details

Reviewers
jhb
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
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pmooney_pfmooney.com requested review of this revision.Wed, Jul 29, 10:13 PM

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)