Add the AMD MONITORX/MWAITX feature definition introduced in

Bulldozer/Ryzen CPUs.

Reviewed by:	kib
MFC after:	1 week
This commit is contained in:
Peter Grehan 2017-03-16 03:06:50 +00:00
parent 28047d83f0
commit 264fae0792
2 changed files with 2 additions and 1 deletions

View File

@ -227,6 +227,7 @@
#define AMDID2_DBE 0x04000000
#define AMDID2_PTSC 0x08000000
#define AMDID2_PTSCEL2I 0x10000000
#define AMDID2_MWAITX 0x20000000
/*
* CPUID instruction 1 eax info

View File

@ -906,7 +906,7 @@ printcpuinfo(void)
"\033DBE" /* Data Breakpoint extension */
"\034PTSC" /* Performance TSC */
"\035PL2I" /* L2I perf count */
"\036<b29>"
"\036MWAITX" /* MONITORX/MWAITX instructions */
"\037<b30>"
"\040<b31>"
);