]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Changes to common header files not directly applicable to open-vm-tools.
authorJohn Wolfe <jwolfe@vmware.com>
Fri, 9 Jul 2021 03:10:23 +0000 (20:10 -0700)
committerJohn Wolfe <jwolfe@vmware.com>
Fri, 9 Jul 2021 03:10:23 +0000 (20:10 -0700)
open-vm-tools/lib/include/guest_os.h
open-vm-tools/lib/include/guest_os_tables.h

index 05733237ad25c2b979b88f9ac73020e102eebde0..2b1412f3b9453cc5017eb8842df5601b0a11899e 100644 (file)
@@ -90,8 +90,8 @@ Bool Gos_InSetArray(uint32 gos, const uint32 *set);
 
 #define ALLFREEBSD64          BS(FREEBSD_64),   BS(FREEBSD11_64),     \
                               BS(FREEBSD12_64), BS(FREEBSD13_64),     \
-                              BS(FREEBSD14_64), BS(ARM_FREEBSD13_64), \
-                              BS(ARM_FREEBSD14_64)
+                              BS(FREEBSD14_64), BS(FREEBSD13_ARM_64), \
+                              BS(FREEBSD14_ARM_64)
 
 #define ALLFREEBSD            ALLFREEBSD32, ALLFREEBSD64
 
@@ -110,15 +110,15 @@ Bool Gos_InSetArray(uint32 gos, const uint32 *set);
 #define ALLWIN2008R2_64       BS(WIN2008R2_64)
 #define ALLWIN2008R2          ALLWIN2008R2_64
 
-#define ALLWINSEVEN32         BS(WINSEVEN)
-#define ALLWINSEVEN64         BS(WINSEVEN_64)
+#define ALLWINSEVEN32         BS(WIN_7)
+#define ALLWINSEVEN64         BS(WIN_7_64)
 #define ALLWINSEVEN           ALLWINSEVEN32, ALLWINSEVEN64
 
-#define ALLWINEIGHTSERVER64   BS(WINEIGHTSERVER_64)
+#define ALLWINEIGHTSERVER64   BS(WIN_8_SERVER_64)
 #define ALLWINEIGHTSERVER     ALLWINEIGHTSERVER64
 
-#define ALLWINEIGHTCLIENT32   BS(WINEIGHT)
-#define ALLWINEIGHTCLIENT64   BS(WINEIGHT_64)
+#define ALLWINEIGHTCLIENT32   BS(WIN_8)
+#define ALLWINEIGHTCLIENT64   BS(WIN_8_64)
 #define ALLWINEIGHTCLIENT     ALLWINEIGHTCLIENT32, ALLWINEIGHTCLIENT64
 
 #define ALLWINEIGHT           ALLWINEIGHTSERVER, ALLWINEIGHTCLIENT
@@ -128,7 +128,7 @@ Bool Gos_InSetArray(uint32 gos, const uint32 *set);
 #define ALLWIN_10_SERVER      ALLWIN_10_SERVER64
 
 #define ALLWIN_10_CLIENT32    BS(WIN_10)
-#define ALLWIN_10_CLIENT64    BS(WIN_10_64), BS(ARM_WIN_10_64)
+#define ALLWIN_10_CLIENT64    BS(WIN_10_64), BS(WIN_10_ARM_64)
 #define ALLWIN_10_CLIENT      ALLWIN_10_CLIENT32, ALLWIN_10_CLIENT64
 
 #define ALLWIN_10_32          ALLWIN_10_CLIENT32
@@ -138,7 +138,7 @@ Bool Gos_InSetArray(uint32 gos, const uint32 *set);
 #define ALLWIN_11_SERVER64    BS(WIN_2022SRV_64), BS(WIN_2025SRV_64)
 #define ALLWIN_11_SERVER      ALLWIN_10_SERVER64
 
-#define ALLWIN_11_CLIENT64    BS(WIN_11_64), BS(ARM_WIN_11_64)
+#define ALLWIN_11_CLIENT64    BS(WIN_11_64), BS(WIN_11_ARM_64)
 #define ALLWIN_11_CLIENT      ALLWIN_11_CLIENT64
 
 #define ALLWIN_11_64          ALLWIN_11_CLIENT64, ALLWIN_11_SERVER
@@ -189,7 +189,7 @@ Bool Gos_InSetArray(uint32 gos, const uint32 *set);
 
 #define ALLNETWARE            BS(NETWARE4), BS(NETWARE5), BS(NETWARE6)
 
-#define ALLPHOTON             BS(PHOTON_64), BS(ARM_PHOTON_64)
+#define ALLPHOTON             BS(PHOTON_64), BS(PHOTON_ARM_64)
 
 #define ALL26XLINUX32         BS(DEBIAN),  BS(RHEL),   \
                               BS(UBUNTU),  BS(CENTOS), \
@@ -216,16 +216,16 @@ Bool Gos_InSetArray(uint32 gos, const uint32 *set);
 
 #define ALL5XLINUX32          BS(OTHER5XLINUX)
 
-#define ALL5XLINUX64          BS(OTHER5XLINUX_64), BS(ARM_OTHER5XLINUX_64), \
-                              BS(ARM_DEBIAN_64),   BS(ARM_UBUNTU_64),       \
-                              BS(ARM_RHEL9_64)
+#define ALL5XLINUX64          BS(OTHER5XLINUX_64), BS(OTHER5XLINUX_ARM_64), \
+                              BS(DEBIAN_ARM_64),   BS(UBUNTU_ARM_64),       \
+                              BS(RHEL9_ARM_64)
 
 #define ALL6XLINUX32          BS(OTHER6XLINUX)
 
-#define ALL6XLINUX64          BS(OTHER6XLINUX_64), BS(ARM_OTHER6XLINUX_64)
+#define ALL6XLINUX64          BS(OTHER6XLINUX_64), BS(OTHER6XLINUX_ARM_64)
 
 #define ALLVMKERNEL           BS(VMKERNEL),   BS(VMKERNEL5), BS(VMKERNEL6), \
-                              BS(VMKERNEL65), BS(VMKERNEL7), BS(ARM_VMKERNEL7)
+                              BS(VMKERNEL65), BS(VMKERNEL7), BS(VMKERNEL7_ARM)
 
 #define ALLLINUX32            BS(VMKERNEL), BS(OTHERLINUX), \
                               BS(OTHER24XLINUX), \
@@ -255,7 +255,7 @@ Bool Gos_InSetArray(uint32 gos, const uint32 *set);
                               ALLFREEBSD64,      ALLDARWIN64,       \
                               ALLPHOTON,         ALLVMKERNEL,       \
                               BS(SOLARIS10_64),  BS(SOLARIS11_64),  \
-                              BS(OTHER_64),      BS(ARM_OTHER_64)
+                              BS(OTHER_64),      BS(OTHER_ARM_64)
 
 #define ALLECOMSTATION        BS(ECOMSTATION), BS(ECOMSTATION2)
 
@@ -263,11 +263,11 @@ Bool Gos_InSetArray(uint32 gos, const uint32 *set);
 
 #define ALLCRX                BS(CRXSYS1_64), BS(CRXPOD1_64)
 
-#define ALLARM                BS(ARM_WIN_10_64),    BS(ARM_UBUNTU_64),       \
-                              BS(ARM_PHOTON_64),    BS(ARM_VMKERNEL7),       \
-                              BS(ARM_OTHER_64),     BS(ARM_OTHER5XLINUX_64), \
-                              BS(ARM_DEBIAN_64),    BS(ARM_FREEBSD13_64),    \
-                              BS(ARM_FREEBSD14_64), BS(ARM_WIN_11_64)
+#define ALLARM                BS(WIN_10_ARM_64),    BS(UBUNTU_ARM_64),       \
+                              BS(PHOTON_ARM_64),    BS(VMKERNEL7_ARM),       \
+                              BS(OTHER_ARM_64),     BS(OTHER5XLINUX_ARM_64), \
+                              BS(DEBIAN_ARM_64),    BS(FREEBSD13_ARM_64),    \
+                              BS(FREEBSD14_ARM_64), BS(WIN_11_ARM_64)
 
 /*
  * These constants are generated by GuestInfoGetOSName which is in
index 3e6968c50bc04afafd8436df79dae350e7aff227..ae1d5cea7573b702d1386617b1acc909ba0bb7f3 100644 (file)
@@ -50,17 +50,17 @@ extern "C" {
    GOT(GUEST_OS_LONGHORN_64)                                               \
    GOT(GUEST_OS_WINVISTA)                                                  \
    GOT(GUEST_OS_WINVISTA_64)                                               \
-   GOT(GUEST_OS_WINSEVEN)            /* Windows 7 32-bit */                \
-   GOT(GUEST_OS_WINSEVEN_64)         /* Windows 7 64-bit */                \
-   GOT(GUEST_OS_WIN2008R2_64)        /* Server 2008 R2 64-bit */           \
-   GOT(GUEST_OS_WINEIGHT)            /* Windows 8 32-bit */                \
-   GOT(GUEST_OS_WINEIGHT_64)         /* Windows 8 64-bit */                \
-   GOT(GUEST_OS_WINEIGHTSERVER_64)   /* Windows 8 Server 64-bit */         \
+   GOT(GUEST_OS_WIN_7)               /* Windows 7 32-bit */                \
+   GOT(GUEST_OS_WIN_7_64)            /* Windows 7 64-bit */                \
+   GOT(GUEST_OS_WIN_8)               /* Windows 8 32-bit */                \
+   GOT(GUEST_OS_WIN_8_64)            /* Windows 8 64-bit */                \
    GOT(GUEST_OS_WIN_10)              /* Windows 10 32-bit */               \
    GOT(GUEST_OS_WIN_10_64)           /* Windows 10 64-bit */               \
-   GOT(GUEST_OS_ARM_WIN_10_64)       /* Windows 10 Arm 64-bit */           \
+   GOT(GUEST_OS_WIN_10_ARM_64)       /* Windows 10 Arm 64-bit */           \
    GOT(GUEST_OS_WIN_11_64)           /* Windows 11 64-bit */               \
-   GOT(GUEST_OS_ARM_WIN_11_64)       /* Windows 11 Arm 64-bit */           \
+   GOT(GUEST_OS_WIN_11_ARM_64)       /* Windows 11 Arm 64-bit */           \
+   GOT(GUEST_OS_WIN2008R2_64)        /* Server 2008 R2 64-bit */           \
+   GOT(GUEST_OS_WIN_8_SERVER_64)     /* Windows 8 Server 64-bit */         \
    GOT(GUEST_OS_WIN_2016SRV_64)      /* Windows Server 2016 64-bit */      \
    GOT(GUEST_OS_WIN_2019SRV_64)      /* Windows Server 2019 64-bit */      \
    GOT(GUEST_OS_WIN_2022SRV_64)      /* Windows Server 2022 64-bit */      \
@@ -81,23 +81,23 @@ extern "C" {
    GOT(GUEST_OS_OTHER4XLINUX_64)     /* Linux 4.x 64-bit  */               \
    GOT(GUEST_OS_OTHER5XLINUX)        /* Linux 5.x 32-bit */                \
    GOT(GUEST_OS_OTHER5XLINUX_64)     /* Linux 5.x 64-bit */                \
-   GOT(GUEST_OS_ARM_OTHER5XLINUX_64) /* Linux 5.x Arm 64-bit */            \
+   GOT(GUEST_OS_OTHER5XLINUX_ARM_64) /* Linux 5.x Arm 64-bit */            \
    GOT(GUEST_OS_OTHER6XLINUX)        /* Linux 6.x and later 32-bit */      \
    GOT(GUEST_OS_OTHER6XLINUX_64)     /* Linux 6.x and later 64-bit */      \
-   GOT(GUEST_OS_ARM_OTHER6XLINUX_64) /* Linux 6.x and later Arm 64-bit */  \
-   GOT(GUEST_OS_OTHER)                                                     \
+   GOT(GUEST_OS_OTHER6XLINUX_ARM_64) /* Linux 6.x and later Arm 64-bit */  \
+   GOT(GUEST_OS_OTHER)               /* Other 32-bit */                    \
    GOT(GUEST_OS_OTHER_64)            /* Other 64-bit */                    \
-   GOT(GUEST_OS_ARM_OTHER_64)        /* Other Arm 64-bit */                \
+   GOT(GUEST_OS_OTHER_ARM_64)        /* Other Arm 64-bit */                \
    GOT(GUEST_OS_UBUNTU)                                                    \
    GOT(GUEST_OS_UBUNTU_64)                                                 \
-   GOT(GUEST_OS_ARM_UBUNTU_64)                                             \
+   GOT(GUEST_OS_UBUNTU_ARM_64)                                             \
    GOT(GUEST_OS_DEBIAN)                                                    \
    GOT(GUEST_OS_DEBIAN_64)                                                 \
-   GOT(GUEST_OS_ARM_DEBIAN_64)                                             \
+   GOT(GUEST_OS_DEBIAN_ARM_64)                                             \
    GOT(GUEST_OS_RHEL)                                                      \
    GOT(GUEST_OS_RHEL_64)                                                   \
    GOT(GUEST_OS_RHEL9_64)                                                  \
-   GOT(GUEST_OS_ARM_RHEL9_64)                                              \
+   GOT(GUEST_OS_RHEL9_ARM_64)                                              \
    GOT(GUEST_OS_FREEBSD)                                                   \
    GOT(GUEST_OS_FREEBSD_64)                                                \
    GOT(GUEST_OS_FREEBSD11)                                                 \
@@ -106,10 +106,10 @@ extern "C" {
    GOT(GUEST_OS_FREEBSD12_64)                                              \
    GOT(GUEST_OS_FREEBSD13)                                                 \
    GOT(GUEST_OS_FREEBSD13_64)                                              \
+   GOT(GUEST_OS_FREEBSD13_ARM_64)                                          \
    GOT(GUEST_OS_FREEBSD14)                                                 \
    GOT(GUEST_OS_FREEBSD14_64)                                              \
-   GOT(GUEST_OS_ARM_FREEBSD13_64)                                          \
-   GOT(GUEST_OS_ARM_FREEBSD14_64)                                          \
+   GOT(GUEST_OS_FREEBSD14_ARM_64)                                          \
    GOT(GUEST_OS_SOLARIS_6_AND_7)                                           \
    GOT(GUEST_OS_SOLARIS8)                                                  \
    GOT(GUEST_OS_SOLARIS9)                                                  \
@@ -143,9 +143,9 @@ extern "C" {
    GOT(GUEST_OS_VMKERNEL6)           /* ESX 6 64-bit */                    \
    GOT(GUEST_OS_VMKERNEL65)          /* ESX 6.5 and 6.7 64-bit */          \
    GOT(GUEST_OS_VMKERNEL7)           /* ESX 7 and later 64-bit */          \
-   GOT(GUEST_OS_ARM_VMKERNEL7)       /* ESX 7 and later Arm 64-bit */      \
+   GOT(GUEST_OS_VMKERNEL7_ARM)       /* ESX 7 and later Arm 64-bit */      \
    GOT(GUEST_OS_PHOTON_64)           /* VMware Photon 64-bit */            \
-   GOT(GUEST_OS_ARM_PHOTON_64)       /* VMware Photon Arm 64-bit */        \
+   GOT(GUEST_OS_PHOTON_ARM_64)       /* VMware Photon Arm 64-bit */        \
    GOT(GUEST_OS_ORACLE)                                                    \
    GOT(GUEST_OS_ORACLE_64)                                                 \
    GOT(GUEST_OS_ORACLE6)                                                   \