]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Fix tools build
authorVMware, Inc <>
Mon, 22 Mar 2010 22:12:39 +0000 (15:12 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Mon, 22 Mar 2010 22:12:39 +0000 (15:12 -0700)
Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/include/x86vendor.h [new file with mode: 0644]
open-vm-tools/modules/linux/dkms.sh

diff --git a/open-vm-tools/lib/include/x86vendor.h b/open-vm-tools/lib/include/x86vendor.h
new file mode 100644 (file)
index 0000000..ae6966a
--- /dev/null
@@ -0,0 +1,51 @@
+
+/*********************************************************
+ * Copyright (C) 1998-2008 VMware, Inc. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation version 2.1 and no later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the Lesser GNU General Public
+ * License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA.
+ *
+ *********************************************************/
+
+/*********************************************************
+ * The contents of this file are subject to the terms of the Common
+ * Development and Distribution License (the "License") version 1.0
+ * and no later version.  You may not use this file except in
+ * compliance with the License.
+ *
+ * You can obtain a copy of the License at
+ *         http://www.opensource.org/licenses/cddl1.php
+ *
+ * See the License for the specific language governing permissions
+ * and limitations under the License.
+ *
+ *********************************************************/
+
+#ifndef _X86VENDOR_H_
+#define _X86VENDOR_H_
+
+/*
+ * CPU vendors
+ */
+
+typedef enum {
+   CPUID_VENDOR_UNKNOWN,
+   CPUID_VENDOR_COMMON,
+   CPUID_VENDOR_INTEL,
+   CPUID_VENDOR_AMD,
+   CPUID_VENDOR_CYRIX,
+   CPUID_VENDOR_VIA,
+   CPUID_NUM_VENDORS
+} CpuidVendor;
+
+#endif
index d685aa9e394c36c781678ea5ce61f4d76f8007b2..7748e55573aca129ee6c0469bb143978fcf54a62 100644 (file)
@@ -57,6 +57,7 @@ SHARED_HEADERS="$SHARED_HEADERS vmware_pack_begin.h"
 SHARED_HEADERS="$SHARED_HEADERS vmware_pack_end.h"
 SHARED_HEADERS="$SHARED_HEADERS vmware_pack_init.h"
 SHARED_HEADERS="$SHARED_HEADERS x86cpuid.h"
+SHARED_HEADERS="$SHARED_HEADERS x86vendor.h"
 SHARED_HEADERS="$SHARED_HEADERS x86cpuid_asm.h"
 
 rm -rf $dst