VirtualBox Main API
Public Member Functions | List of all members
IHostX86 Interface Reference

The x86-specific interface for the physical host machine. More...

Inheritance diagram for IHostX86:

Public Member Functions

void getProcessorCPUIDLeaf (in unsigned long cpuId, in unsigned long leaf, in unsigned long subLeaf, out unsigned long valEax, out unsigned long valEbx, out unsigned long valEcx, out unsigned long valEdx)
 Returns the CPU cpuid information for the specified leaf.
 

Detailed Description

The x86-specific interface for the physical host machine.

Interface ID:
{50C97996-9CF8-417F-BD79-1E0471367CD3}

Member Function Documentation

◆ getProcessorCPUIDLeaf()

void IHostX86::getProcessorCPUIDLeaf ( in unsigned long  cpuId,
in unsigned long  leaf,
in unsigned long  subLeaf,
out unsigned long  valEax,
out unsigned long  valEbx,
out unsigned long  valEcx,
out unsigned long  valEdx 
)

Returns the CPU cpuid information for the specified leaf.

Parameters
cpuIdIdentifier of the CPU. The CPU must be online.
leafCPUID leaf index (eax).
subLeafCPUID leaf sub index (ecx). This currently only applies to cache information on Intel CPUs. Use 0 if retrieving values for IPlatformX86::setCPUIDLeaf.
valEaxCPUID leaf value for register eax.
valEbxCPUID leaf value for register ebx.
valEcxCPUID leaf value for register ecx.
valEdxCPUID leaf value for register edx.
Note
The current implementation might not necessarily return the description for this exact CPU.