Changeset 26467 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Feb 12, 2010 4:12:51 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 57627
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/DevEFI.cpp
r26464 r26467 1132 1132 } 1133 1133 1134 pThis->u64FsbFrequency = 1333000000; 1135 pThis->u64TscFrequency = pThis->u64FsbFrequency * 3; 1134 /* 1135 * CPU frequencies 1136 */ 1137 // @todo: we need to have VMM API to access TSC increase speed, for now provide reasonable default 1138 pThis->u64TscFrequency = 2500000000; // TMCpuTicksPerSecond(PDMDevHlpGetVM(pDevIns)); 1139 /* Multiplier is read from MSR_IA32_PERF_STATUS, and now is hardcoded as 4 */ 1140 pThis->u64FsbFrequency = pThis->u64TscFrequency / 4; 1136 1141 pThis->u64CpuFrequency = pThis->u64TscFrequency; 1137 1142 /*
Note:
See TracChangeset
for help on using the changeset viewer.