From 5ccfbb3cc3da0f026ed8628dbdb07bc187c3bc16 Mon Sep 17 00:00:00 2001 From: "VMware, Inc" <> Date: Tue, 17 Sep 2013 20:36:27 -0700 Subject: [PATCH] Changes in shared code that don't affect open-vm-tools functionality. Signed-off-by: Dmitry Torokhov --- open-vm-tools/lib/include/uuid.h | 5 +++-- open-vm-tools/lib/include/x86cpuid.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/open-vm-tools/lib/include/uuid.h b/open-vm-tools/lib/include/uuid.h index 7ab8abf13..4b4002656 100644 --- a/open-vm-tools/lib/include/uuid.h +++ b/open-vm-tools/lib/include/uuid.h @@ -25,9 +25,9 @@ #ifndef _UUID_H_ #define _UUID_H_ -#define INCLUDE_ALLOW_USERLEVEL +#define INCLUDE_ALLOW_USERLEVEL #define INCLUDE_ALLOW_VMCORE -#include "includeCheck.h" +#include "includeCheck.h" #define UUID_SIZE 16 #define UUID_STRSIZE (2*UUID_SIZE + 1) @@ -56,6 +56,7 @@ char *UUID_ConvertToText(const uint8 id[UUID_SIZE]); char *UUID_Create(const char *configFileFullPath, int schemeControl); char *UUID_CreateRandom(void); +char *UUID_CreateRandomRFC4122V4(void); char *UUID_CreateRandomVpxStyle(uint8 vpxdId, UUIDStyle); Bool UUID_IsUUIDGeneratedByThatVpxd(const uint8 *id, int vpxdInstanceId); char *UUID_PackText(const char *text, char *pack, int packLen); diff --git a/open-vm-tools/lib/include/x86cpuid.h b/open-vm-tools/lib/include/x86cpuid.h index 3b137c51c..25dd3bb97 100644 --- a/open-vm-tools/lib/include/x86cpuid.h +++ b/open-vm-tools/lib/include/x86cpuid.h @@ -326,7 +326,7 @@ FLAG( 1, 0, ECX, 20, 1, SSE42, YES, TRUE) \ FLAG( 1, 0, ECX, 21, 1, x2APIC, ANY, FALSE) \ FLAG( 1, 0, ECX, 22, 1, MOVBE, YES, TRUE) \ FLAG( 1, 0, ECX, 23, 1, POPCNT, YES, TRUE) \ -FLAG( 1, 0, ECX, 24, 1, TSC_DEADLINE, NO, FALSE) \ +FLAG( 1, 0, ECX, 24, 1, TSC_DEADLINE, ANY, FALSE) \ FLAG( 1, 0, ECX, 25, 1, AES, YES, TRUE) \ FLAG( 1, 0, ECX, 26, 1, XSAVE, YES, FALSE) \ FLAG( 1, 0, ECX, 27, 1, OSXSAVE, ANY, FALSE) \ -- 2.47.3