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

  cpuId | Identifier of the CPU. The CPU must be online.
  leaf | CPUID leaf index (eax).
  subLeaf | CPUID leaf sub index (ecx). This currently only applies to cache information on Intel CPUs. Use 0 if retrieving values for IPlatformX86::setCPUIDLeaf.
  valEax | CPUID leaf value for register eax.
  valEbx | CPUID leaf value for register ebx.
  valEcx | CPUID leaf value for register ecx.
  valEdx | CPUID leaf value for register edx.

Note
  The current implementation might not necessarily return the description for this exact CPU.