From: Oliver Kurth Date: Thu, 3 Oct 2019 00:48:35 +0000 (-0700) Subject: Common header file change not applicable to open-vm-tools. X-Git-Tag: stable-11.1.0~207 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77292fe0be256a5350eeea266378d11beab43c27;p=thirdparty%2Fopen-vm-tools.git Common header file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/x86cpuid.h b/open-vm-tools/lib/include/x86cpuid.h index f64c2f6f9..e896378ff 100644 --- a/open-vm-tools/lib/include/x86cpuid.h +++ b/open-vm-tools/lib/include/x86cpuid.h @@ -2226,37 +2226,6 @@ CPUID_LevelUsesEcx(uint32 level) { } } -/* - *---------------------------------------------------------------------- - * - * CPUID_IsValid*Subleaf -- - * - * Functions to determine the last subleaf for the level specified - * - *---------------------------------------------------------------------- - */ - -static INLINE Bool -CPUID_IsValidBSubleaf(uint32 ebx) // IN: %ebx = cpuid.b.sublevel.ebx -{ - return ebx != 0; -} - -static INLINE Bool -CPUID_IsValid4Subleaf(uint32 eax) // IN: %eax = cpuid.4.sublevel.eax -{ - return eax != 0; -} - -static INLINE Bool -CPUID_IsValid7Subleaf(uint32 eax, uint32 subleaf) // IN: %eax = cpuid.7.0.eax -{ - /* - * cpuid.7.0.eax is the max ecx (subleaf) index - */ - return subleaf <= eax; -} - /* *---------------------------------------------------------------------- *