儲存庫 vbox 的更動 18435
- 時間撮記:
- 2009-3-28 上午02:26:25 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/VMMDev/VMMDevHGCM.cpp
r13840 r18435 51 51 52 52 /* Offset in the first physical page of the region. */ 53 size_t cbOffsetFirstPage;53 uint32_t offFirstPage; 54 54 55 55 /* How many pages. */ … … 231 231 Log(("vmmdevHGCMSaveLinPtr: parm %d: %RGv %d = %d pages\n", iParm, GCPtr, u32Size, cPages)); 232 232 233 pLinPtr->iParm 234 pLinPtr-> cbOffsetFirstPage = (RTGCUINTPTR)GCPtr & PAGE_OFFSET_MASK;235 pLinPtr->cPages 236 pLinPtr->paPages 233 pLinPtr->iParm = iParm; 234 pLinPtr->offFirstPage = GCPtr & PAGE_OFFSET_MASK; 235 pLinPtr->cPages = cPages; 236 pLinPtr->paPages = *ppPages; 237 237 238 238 *ppPages += cPages; … … 282 282 AssertRelease (u32Size > 0 && iParm == (uint32_t)pLinPtr->iParm); 283 283 284 RTGCPHYS GCPhysDst = pLinPtr->paPages[0] + pLinPtr-> cbOffsetFirstPage;284 RTGCPHYS GCPhysDst = pLinPtr->paPages[0] + pLinPtr->offFirstPage; 285 285 uint8_t *pu8Src = (uint8_t *)pvHost; 286 286 … … 292 292 { 293 293 /* copy */ 294 size_t cbWrite = iPage == 0?295 PAGE_SIZE - pLinPtr->cbOffsetFirstPage:296 PAGE_SIZE;294 uint32_t cbWrite = iPage == 0? 295 PAGE_SIZE - pLinPtr->offFirstPage: 296 PAGE_SIZE; 297 297 298 298 Log(("vmmdevHGCMWriteLinPtr: page %d: dst %RGp, src %p, cbWrite %d\n", iPage, GCPhysDst, pu8Src, cbWrite));
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器