VirtualBox

Changeset 50590 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Feb 25, 2014 6:51:23 PM (11 years ago)
Author:
vboxsync
Message:

CPUM,VMM: More work related to bus, cpu and tsc frequency info. Should cover older core and p6 as well as p4 now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/cpum.h

    r50584 r50590  
    677677VMMDECL(uint32_t)       CPUMGetGuestCodeBits(PVMCPU pVCpu);
    678678VMMDECL(DISCPUMODE)     CPUMGetGuestDisMode(PVMCPU pVCpu);
    679 VMMDECL(uint64_t)       CPUMGetGuestBusFrequency(PVM pVM);
     679VMMDECL(uint64_t)       CPUMGetGuestScalableBusFrequency(PVM pVM);
     680
     681/** @name Typical scalable bus frequency values.
     682 * @{ */
     683/** Special internal value indicating that we don't know the frequency.
     684 *  @internal  */
     685#define CPUM_SBUSFREQ_UNKNOWN       UINT64_C(1)
     686#define CPUM_SBUSFREQ_100MHZ        UINT64_C(100000000)
     687#define CPUM_SBUSFREQ_133MHZ        UINT64_C(133333333)
     688#define CPUM_SBUSFREQ_167MHZ        UINT64_C(166666666)
     689#define CPUM_SBUSFREQ_200MHZ        UINT64_C(200000000)
     690#define CPUM_SBUSFREQ_267MHZ        UINT64_C(266666666)
     691#define CPUM_SBUSFREQ_333MHZ        UINT64_C(333333333)
     692#define CPUM_SBUSFREQ_400MHZ        UINT64_C(400000000)
     693/** @} */
    680694
    681695
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette