mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-03-29 09:26:56 +00:00
i386: Add CPUID bit for WBNOINVD
WBNOINVD: Write back and do not invalidate cache, enumerated by CPUID.(EAX=80000008H, ECX=0):EBX[bit 9]. Backports commit 59a80a19ca31a6fff9fdbb6b4cf55a5a0767c3bc from qemu
This commit is contained in:
parent
8b59666ae6
commit
0e16ff259b
|
@ -928,7 +928,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
|
|||
{
|
||||
NULL, NULL, NULL, NULL,
|
||||
NULL, NULL, NULL, NULL,
|
||||
NULL, NULL, NULL, NULL,
|
||||
NULL, "wbnoinvd", NULL, NULL,
|
||||
"ibpb", NULL, NULL, NULL,
|
||||
NULL, NULL, NULL, NULL,
|
||||
NULL, NULL, NULL, NULL,
|
||||
|
|
|
@ -674,6 +674,8 @@ typedef uint32_t FeatureWordArray[FEATURE_WORDS];
|
|||
|
||||
#define KVM_HINTS_DEDICATED (1U << 0)
|
||||
|
||||
#define CPUID_8000_0008_EBX_WBNOINVD (1U << 9) /* Write back and do not invalidate cache */
|
||||
|
||||
#define CPUID_8000_0008_EBX_IBPB (1U << 12) /* Indirect Branch Prediction Barrier */
|
||||
|
||||
#define CPUID_XSAVE_XSAVEOPT (1U << 0)
|
||||
|
|
Loading…
Reference in a new issue