]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change not directly applicable to open-vm-tools.
authorOliver Kurth <okurth@vmware.com>
Tue, 27 Aug 2019 19:55:38 +0000 (12:55 -0700)
committerOliver Kurth <okurth@vmware.com>
Tue, 27 Aug 2019 19:55:38 +0000 (12:55 -0700)
open-vm-tools/lib/include/backdoor_def.h

index 64b4a4b5471e7d0deaeeb15bfbf88fabdbe4b5c6..3815f22c8727c7506ced10c4c8b11e604c3efd7f 100644 (file)
@@ -345,7 +345,7 @@ extern "C" {
 #define BDOOR_GUEST_PAGE_HINTS_TYPE_PSHARE   (0)
 #define BDOOR_GUEST_PAGE_HINTS_TYPE(reg)     (((reg) >> 16) & 0xffff)
 
-#ifdef VMM
+#if defined(VMM) || defined(ULM)
 /*
  *----------------------------------------------------------------------
  *
@@ -386,7 +386,7 @@ Backdoor_CmdRequiresValidSegments(unsigned cmd)
    return cmd == BDOOR_CMD_INITPCIOPROM ||
           cmd == BDOOR_CMD_GETMHZ;
 }
-#endif
+#endif // defined(VMM) || defined(ULM)
 
 #ifdef VM_ARM_64