儲存庫 vbox 的更動 62425
- 時間撮記:
- 2016-7-22 上午11:28:52 (8 年 以前)
- 位置:
- trunk/src/VBox/Devices
- 檔案:
-
- 修改 5 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp
r60042 r62425 849 849 rc = VINF_IOM_R3_IOPORT_READ; 850 850 break; 851 #elif defined(VMSVGA_USE_EMT_HALT_CODE) 851 #else 852 # if defined(VMSVGA_USE_EMT_HALT_CODE) 852 853 /* The guest is basically doing a HLT via the device here, but with 853 854 a special wake up condition on FIFO completion. */ … … 862 863 ASMAtomicDecU32(&pSVGAState->cBusyDelayedEmts); 863 864 VMCPUSET_ATOMIC_DEL(&pSVGAState->BusyDelayedEmts, idCpu); 864 # else865 # else 865 866 866 867 /* Delay the EMT a bit so the FIFO and others can get some work done. … … 891 892 } 892 893 STAM_REL_PROFILE_STOP(&pSVGAState->StatBusyDelayEmts, EmtDelay); 894 # endif 895 *pu32 = pThis->svga.fBusy != 0; 893 896 #endif 894 *pu32 = pThis->svga.fBusy != 0;895 897 } 896 898 else … … 1490 1492 { 1491 1493 Log(("Ignoring non-dword read at %x cb=%d\n", Port, cb)); 1492 *pu32 = ~0;1494 *pu32 = UINT32_MAX; 1493 1495 return VINF_SUCCESS; 1494 1496 } -
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r62032 r62425 364 364 } 365 365 366 #ifdef _MSC_VER 367 # pragma warning(push) 368 # pragma warning(disable:4310 4245) /* Buggy warnings: cast truncates constant value; conversion from 'int' to 'const uint8_t', signed/unsigned mismatch */ 369 #endif 370 366 371 /* force some bits to zero */ 367 372 static const uint8_t sr_mask[8] = { … … 394 399 (uint8_t)~0xff, /* 0x0f */ 395 400 }; 401 402 #ifdef _MSC_VER 403 # pragma warning(pop) 404 #endif 396 405 397 406 #define cbswap_32(__x) \ … … 3621 3630 { 3622 3631 static int lastWasNotNewline = 0; /* We are only called in a single-threaded way */ 3623 PVGASTATE pThis = PDMINS_2_DATA(pDevIns, PVGASTATE);3624 3632 NOREF(pvUser); 3625 3633 Assert(PDMCritSectIsOwner(pDevIns->CTX_SUFF(pCritSectRo))); -
trunk/src/VBox/Devices/Network/DevE1000.cpp
r61691 r62425 4721 4721 { 4722 4722 int rc = VINF_SUCCESS; 4723 uint32_t cbVTag = 0;4724 4723 4725 4724 e1kPrintTDesc(pThis, pDesc, "vvv"); -
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r60962 r62425 1859 1859 if (fAddFCS) 1860 1860 { 1861 uint32_t fcs = ~0;1861 uint32_t fcs = UINT32_MAX; 1862 1862 uint8_t *p = src; 1863 1863 -
trunk/src/VBox/Devices/VMMDev/VMMDevTesting.cpp
r62150 r62425 144 144 break; 145 145 case 2: 146 *(uint16_t *)pv = (uint16_t)VMMDEV_TESTING_NOP_RET;146 *(uint16_t *)pv = RT_LO_U16(VMMDEV_TESTING_NOP_RET); 147 147 break; 148 148 case 1: 149 *(uint8_t *)pv = (uint8_t)VMMDEV_TESTING_NOP_RET;149 *(uint8_t *)pv = RT_LO_U8(VMMDEV_TESTING_NOP_RET); 150 150 break; 151 151 default:
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器