]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change not applicable to open-vm-tools.
authorOliver Kurth <okurth@vmware.com>
Mon, 6 Jan 2020 23:46:19 +0000 (15:46 -0800)
committerOliver Kurth <okurth@vmware.com>
Mon, 6 Jan 2020 23:46:19 +0000 (15:46 -0800)
open-vm-tools/lib/include/x86cpuid_asm.h

index f21b564589abd3dbdea0841cad30c10e74d6bc1a..f7f9d73c4b8b75491f9e84498192656d1b05d422 100644 (file)
@@ -253,23 +253,4 @@ __GET_EDX_FROM_CPUID(uint32 input)
 
 #define CPUID_FOR_SIDE_EFFECTS() ((void)__GET_EAX_FROM_CPUID(0))
 
-/* The first parameter is used as an rvalue and then as an lvalue. */
-#define GET_CPUID(_ax, _bx, _cx, _dx) { \
-   CPUIDRegs regs;                      \
-   __GET_CPUID(_ax, &regs);             \
-   _ax = regs.eax;                      \
-   _bx = regs.ebx;                      \
-   _cx = regs.ecx;                      \
-   _dx = regs.edx;                      \
-}
-
-#define GET_CPUID2(_ax, _bx, _cx, _dx) {\
-   CPUIDRegs regs;                      \
-   __GET_CPUID2(_ax, _cx, &regs);       \
-   _ax = regs.eax;                      \
-   _bx = regs.ebx;                      \
-   _cx = regs.ecx;                      \
-   _dx = regs.edx;                      \
-}
-
 #endif