/*********************************************************
- * Copyright (C) 1998-2023 VMware, Inc. All rights reserved.
+ * Copyright (C) 1998-2024 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
#include "vm_basic_defs.h"
#include "x86vendor.h"
#include "unicodeTypes.h"
+#include "x86cpuid.h"
#if defined(__cplusplus)
extern "C" {
uint32 extfeatures;
} HostinfoCpuIdInfo;
+#define AMDVBSSupport(eax) (CPUID_MODEL_IS_ZEN2(eax) || \
+ CPUID_MODEL_IS_ZEN3(eax) || \
+ CPUID_MODEL_IS_ZEN4(eax) || \
+ CPUID_MODEL_IS_ZEN5(eax))
uint32 Hostinfo_NumCPUs(void);
char *Hostinfo_GetCpuidStr(void);