Skip to content

Commit b62302f

Browse files
committed
Merge branch 'dev' of https://github.com/kernelwernel/VMAware into dev
2 parents 2f0bbd8 + 724ae5d commit b62302f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/vmaware.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -610,9 +610,10 @@ struct VM {
610610
// check for POSSIBILITY of hyperthreading, I don't think there's a
611611
// full-proof method to detect if you're actually hyperthreading imo.
612612
[[nodiscard]] static bool has_hyperthreading() {
613-
u32 eax, ebx, ecx, edx;
613+
u32 unused, ebx, edx;
614614

615-
cpuid(eax, ebx, ecx, edx, 1);
615+
cpuid(unused, ebx, unused, edx, 1);
616+
UNUSED(unused);
616617

617618
bool htt_available = (edx & (1 << 28));
618619

0 commit comments

Comments
 (0)