#include <linux/dmi.h>
#include <linux/module.h>
#include <asm/div64.h>
#include <asm/x86_init.h>
#include <asm/hypervisor.h>
Go to the source code of this file.
#define CPUID_VMWARE_INFO_LEAF 0x40000000 |
#define VMWARE_HYPERVISOR_MAGIC 0x564D5868 |
#define VMWARE_HYPERVISOR_PORT 0x5658 |
#define VMWARE_PORT |
( |
|
cmd, |
|
|
|
eax, |
|
|
|
ebx, |
|
|
|
ecx, |
|
|
|
edx |
|
) |
| |
Value:
"=a"(eax),
"=c"(
ecx),
"=d"(edx),
"=b"(
ebx) : \
"1"(VMWARE_PORT_CMD_##
cmd), \
"memory");
Definition at line 37 of file vmware.c.
#define VMWARE_PORT_CMD_GETHZ 45 |
#define VMWARE_PORT_CMD_GETVERSION 10 |
Initial value:= {
.name = "VMware",
.detect = vmware_platform,
.set_cpu_features = vmware_set_cpu_features,
.init_platform = vmware_platform_setup,
}
Definition at line 128 of file vmware.c.