vbox的更動 45305 路徑 trunk/src/VBox/Devices/Bus/DevPCI.cpp
- 時間撮記:
- 2013-4-3 上午11:15:02 (12 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/Bus/DevPCI.cpp
r45025 r45305 1840 1840 { 1841 1841 unsigned i; 1842 uint8_t elcr[2] = {0, 0};1842 uint8_t elcr[2] = {0, 0}; 1843 1843 PPCIGLOBALS pGlobals = PDMINS_2_DATA(pDevIns, PPCIGLOBALS); 1844 PVM pVM = PDMDevHlpGetVM(pDevIns);1845 Assert(pVM);1844 PVM pVM = PDMDevHlpGetVM(pDevIns); Assert(pVM); 1845 PVMCPU pVCpu = PDMDevHlpGetVMCPU(pDevIns); Assert(pVM); 1846 1846 1847 1847 /* … … 1865 1865 1866 1866 /* Tell to the PIC. */ 1867 VBOXSTRICTRC rcStrict = IOMIOPortWrite(pVM, 0x4d0, elcr[0], sizeof(uint8_t));1867 VBOXSTRICTRC rcStrict = IOMIOPortWrite(pVM, pVCpu, 0x4d0, elcr[0], sizeof(uint8_t)); 1868 1868 if (rcStrict == VINF_SUCCESS) 1869 rcStrict = IOMIOPortWrite(pVM, 0x4d1, elcr[1], sizeof(uint8_t));1869 rcStrict = IOMIOPortWrite(pVM, pVCpu, 0x4d1, elcr[1], sizeof(uint8_t)); 1870 1870 if (rcStrict != VINF_SUCCESS) 1871 1871 {
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器