Changeset 26591 in vbox for trunk/src/VBox/Devices/EFI
- Timestamp:
- Feb 16, 2010 5:50:38 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 57783
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/DevEFI.cpp
r26546 r26591 40 40 #include <iprt/path.h> 41 41 #include <iprt/string.h> 42 #include <iprt/mp.h> 42 43 #ifdef DEBUG 43 44 # include <iprt/stream.h> … … 1141 1142 */ 1142 1143 // @todo: we need to have VMM API to access TSC increase speed, for now provide reasonable default 1143 pThis->u64TscFrequency = 2500000000; // TMCpuTicksPerSecond(PDMDevHlpGetVM(pDevIns)); 1144 pThis->u64TscFrequency = RTMpGetMaxFrequency(0) * 1024 * 1024;// TMCpuTicksPerSecond(PDMDevHlpGetVM(pDevIns)); 1145 if (pThis->u64TscFrequency == 0) 1146 pThis->u64TscFrequency = 2500000000; 1144 1147 /* Multiplier is read from MSR_IA32_PERF_STATUS, and now is hardcoded as 4 */ 1145 1148 pThis->u64FsbFrequency = pThis->u64TscFrequency / 4;
Note:
See TracChangeset
for help on using the changeset viewer.