Changeset 51658 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jun 19, 2014 3:25:54 AM (10 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r51643 r51658 5 5 6 6 /* 7 * Copyright (C) 2006-201 3Oracle Corporation7 * Copyright (C) 2006-2014 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as -
trunk/src/VBox/VMM/VMMAll/GIMAllHv.cpp
r51644 r51658 79 79 case MSR_GIM_HV_TIME_REF_COUNT: 80 80 { 81 /** @todo r=ramshankar: Shouldn't we add the TSC offset here? */ 81 82 /* Hyper-V reports the time in 100 ns units (10 MHz). */ 82 83 uint64_t u64Tsc = TMCpuTickGet(pVCpu); -
trunk/src/VBox/VMM/VMMR3/GIMHv.cpp
r51647 r51658 474 474 uint64_t const u64TscKHz = TMCpuTicksPerSecond(pVM) / UINT64_C(1000); 475 475 pRefTsc->u32TscSequence = 1; 476 pRefTsc->u64TscScale = (((uint64_t)(10000) << 32) / u64TscKHz) << 32; 476 pRefTsc->u64TscScale = UINT64_C(10000) << 32; 477 pRefTsc->u64TscScale /= (u64TscKHz << 32); 477 478 478 479 LogRel(("GIM: HyperV: Enabled TSC page at %#RGp (u64TscScale=%#RX64 u64TscKHz=%#RX64)\n", GCPhysTscPage, -
trunk/src/VBox/VMM/include/GIMHvInternal.h
r51643 r51658 425 425 /** 426 426 * MMIO2 region indices. 427 * Note!! Saved-state are dependent on the index values, do -not- change! 427 428 */ 428 429 /** The hypercall page region. */
Note:
See TracChangeset
for help on using the changeset viewer.