From: VMware, Inc <> Date: Wed, 18 Sep 2013 03:33:35 +0000 (-0700) Subject: Housecleaning: VMIROM is dead X-Git-Tag: 2013.09.16-1328054~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61276a6bde5fa8931c9f4ae142611a296b0cf0c0;p=thirdparty%2Fopen-vm-tools.git Housecleaning: VMIROM is dead VMI was gone a long time ago. There are a few remnants still present. - includeCheck has a VMIROM macro that can go, plus all locations it was copy-n-pasted into - vmcore/public/paravirtualInterface.h was totally unreferenced. Signed-off-by: Dmitry Torokhov --- diff --git a/open-vm-tools/lib/include/community_source.h b/open-vm-tools/lib/include/community_source.h index 5e477378f..3533a435b 100644 --- a/open-vm-tools/lib/include/community_source.h +++ b/open-vm-tools/lib/include/community_source.h @@ -48,7 +48,6 @@ #define INCLUDE_ALLOW_VMK_MODULE #define INCLUDE_ALLOW_DISTRIBUTE #define INCLUDE_ALLOW_VMCORE -#define INCLUDE_ALLOW_VMIROM #include "includeCheck.h" /* diff --git a/open-vm-tools/lib/include/compat/compat_stdarg.h b/open-vm-tools/lib/include/compat/compat_stdarg.h index 7e7d44173..93a33fb7c 100644 --- a/open-vm-tools/lib/include/compat/compat_stdarg.h +++ b/open-vm-tools/lib/include/compat/compat_stdarg.h @@ -50,7 +50,6 @@ #define INCLUDE_ALLOW_VMK_MODULE #define INCLUDE_ALLOW_DISTRIBUTE #define INCLUDE_ALLOW_VMCORE -#define INCLUDE_ALLOW_VMIROM #include "includeCheck.h" #include diff --git a/open-vm-tools/lib/include/includeCheck.h b/open-vm-tools/lib/include/includeCheck.h index 8a7ab0924..0dfb4ae6f 100644 --- a/open-vm-tools/lib/include/includeCheck.h +++ b/open-vm-tools/lib/include/includeCheck.h @@ -73,7 +73,6 @@ * INCLUDE_ALLOW_DISTRIBUTE * INCLUDE_ALLOW_VMK_MODULE * INCLUDE_ALLOW_VMKDRIVERS - * INCLUDE_ALLOW_VMIROM * INCLUDE_ALLOW_MKS * * Then include this file. @@ -155,11 +154,6 @@ #undef INCLUDE_ALLOW_VMK_MODULE #undef INCLUDE_ALLOW_VMKDRIVERS -#if defined VMIROM && ! defined INCLUDE_ALLOW_VMIROM -#error "The surrounding include file is not allowed in vmirom." -#endif -#undef INCLUDE_ALLOW_VMIROM - #if defined INCLUDE_ALLOW_MKS && !(defined COREMKS) #error "The surrounding include file is not allowed outside of the MKS." #endif diff --git a/open-vm-tools/lib/include/vm_assert.h b/open-vm-tools/lib/include/vm_assert.h index e0a691f57..d0980426f 100644 --- a/open-vm-tools/lib/include/vm_assert.h +++ b/open-vm-tools/lib/include/vm_assert.h @@ -79,7 +79,6 @@ #define INCLUDE_ALLOW_VMK_MODULE #define INCLUDE_ALLOW_DISTRIBUTE #define INCLUDE_ALLOW_VMCORE -#define INCLUDE_ALLOW_VMIROM #include "includeCheck.h" // XXX not necessary except some places include vm_assert.h improperly diff --git a/open-vm-tools/lib/include/vm_atomic.h b/open-vm-tools/lib/include/vm_atomic.h index 2a983c7d9..81ea4b6a0 100644 --- a/open-vm-tools/lib/include/vm_atomic.h +++ b/open-vm-tools/lib/include/vm_atomic.h @@ -46,7 +46,6 @@ #define INCLUDE_ALLOW_VMKERNEL #define INCLUDE_ALLOW_DISTRIBUTE #define INCLUDE_ALLOW_VMCORE -#define INCLUDE_ALLOW_VMIROM #include "includeCheck.h" #include "vm_basic_types.h" diff --git a/open-vm-tools/lib/include/vm_basic_asm.h b/open-vm-tools/lib/include/vm_basic_asm.h index 70c5a23cc..afac9b4ce 100644 --- a/open-vm-tools/lib/include/vm_basic_asm.h +++ b/open-vm-tools/lib/include/vm_basic_asm.h @@ -49,7 +49,6 @@ #define INCLUDE_ALLOW_VMKERNEL #define INCLUDE_ALLOW_DISTRIBUTE #define INCLUDE_ALLOW_VMCORE -#define INCLUDE_ALLOW_VMIROM #include "includeCheck.h" #include "vm_basic_types.h" diff --git a/open-vm-tools/lib/include/vm_basic_asm_x86.h b/open-vm-tools/lib/include/vm_basic_asm_x86.h index 960c4f8c7..e4f4d5ba3 100644 --- a/open-vm-tools/lib/include/vm_basic_asm_x86.h +++ b/open-vm-tools/lib/include/vm_basic_asm_x86.h @@ -47,7 +47,6 @@ #define INCLUDE_ALLOW_VMKERNEL #define INCLUDE_ALLOW_DISTRIBUTE #define INCLUDE_ALLOW_VMCORE -#define INCLUDE_ALLOW_VMIROM #include "includeCheck.h" #ifdef VM_X86_64 diff --git a/open-vm-tools/lib/include/vm_basic_defs.h b/open-vm-tools/lib/include/vm_basic_defs.h index acf9d195f..84f4e33d8 100644 --- a/open-vm-tools/lib/include/vm_basic_defs.h +++ b/open-vm-tools/lib/include/vm_basic_defs.h @@ -76,7 +76,6 @@ #define INCLUDE_ALLOW_VMK_MODULE #define INCLUDE_ALLOW_DISTRIBUTE #define INCLUDE_ALLOW_VMCORE -#define INCLUDE_ALLOW_VMIROM #include "includeCheck.h" #include "vm_basic_types.h" // For INLINE. diff --git a/open-vm-tools/lib/include/vm_basic_math.h b/open-vm-tools/lib/include/vm_basic_math.h index 4811f0a71..f2c7ffcfe 100644 --- a/open-vm-tools/lib/include/vm_basic_math.h +++ b/open-vm-tools/lib/include/vm_basic_math.h @@ -34,7 +34,6 @@ #define INCLUDE_ALLOW_VMK_MODULE #define INCLUDE_ALLOW_DISTRIBUTE #define INCLUDE_ALLOW_VMCORE -#define INCLUDE_ALLOW_VMIROM #include "includeCheck.h" #include "vm_basic_types.h" // For INLINE. #include "vm_basic_asm.h" // For Div64... diff --git a/open-vm-tools/lib/include/vm_basic_types.h b/open-vm-tools/lib/include/vm_basic_types.h index 4c87ca9e4..d2093cbc5 100644 --- a/open-vm-tools/lib/include/vm_basic_types.h +++ b/open-vm-tools/lib/include/vm_basic_types.h @@ -78,7 +78,6 @@ #define INCLUDE_ALLOW_VMK_MODULE #define INCLUDE_ALLOW_DISTRIBUTE #define INCLUDE_ALLOW_VMCORE -#define INCLUDE_ALLOW_VMIROM #include "includeCheck.h" /* STRICT ANSI means the Xserver build and X defines Bool differently. */