儲存庫 vbox 的更動 30824
- 時間撮記:
- 2010-7-14 下午12:25:12 (14 年 以前)
- 位置:
- trunk/src/VBox/VMM
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/VMM/PGMInline.h
r28800 r30824 590 590 #else 591 591 PX86PD pGuestPD = pPGM->CTX_SUFF(pGst32BitPd); 592 # ifdef IN_RING3 593 if (!pGuestPD) 592 if (RT_UNLIKELY(!pGuestPD)) 594 593 pGuestPD = pgmGstLazyMap32BitPD(pPGM); 595 # endif596 594 #endif 597 595 return pGuestPD->a[GCPtr >> X86_PD_SHIFT]; … … 614 612 #else 615 613 PX86PD pGuestPD = pPGM->CTX_SUFF(pGst32BitPd); 616 # ifdef IN_RING3 617 if (!pGuestPD) 614 if (RT_UNLIKELY(!pGuestPD)) 618 615 pGuestPD = pgmGstLazyMap32BitPD(pPGM); 619 # endif620 616 #endif 621 617 return &pGuestPD->a[GCPtr >> X86_PD_SHIFT]; … … 637 633 #else 638 634 PX86PD pGuestPD = pPGM->CTX_SUFF(pGst32BitPd); 639 # ifdef IN_RING3 640 if (!pGuestPD) 635 if (RT_UNLIKELY(!pGuestPD)) 641 636 pGuestPD = pgmGstLazyMap32BitPD(pPGM); 642 # endif643 637 #endif 644 638 return pGuestPD; … … 661 655 #else 662 656 PX86PDPT pGuestPDPT = pPGM->CTX_SUFF(pGstPaePdpt); 663 # ifdef IN_RING3 664 if (!pGuestPDPT) 657 if (RT_UNLIKELY(!pGuestPDPT)) 665 658 pGuestPDPT = pgmGstLazyMapPaePDPT(pPGM); 666 # endif667 659 #endif 668 660 return pGuestPDPT; … … 688 680 #else 689 681 PX86PDPT pGuestPDPT = pPGM->CTX_SUFF(pGstPaePdpt); 690 # ifdef IN_RING3 691 if (!pGuestPDPT) 682 if (RT_UNLIKELY(!pGuestPDPT)) 692 683 pGuestPDPT = pgmGstLazyMapPaePDPT(pPGM); 693 # endif694 684 #endif 695 685 return &pGuestPDPT->a[(GCPtr >> X86_PDPT_SHIFT) & X86_PDPT_MASK_PAE]; … … 858 848 #else 859 849 PX86PML4 pGuestPml4 = pPGM->CTX_SUFF(pGstAmd64Pml4); 860 # ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R3 861 if (!pGuestPml4) 850 if (RT_UNLIKELY(!pGuestPml4)) 862 851 pGuestPml4 = pgmGstLazyMapPml4(pPGM); 863 # endif864 852 Assert(pGuestPml4); 865 853 #endif … … 883 871 #else 884 872 PX86PML4 pGuestPml4 = pPGM->CTX_SUFF(pGstAmd64Pml4); 885 # ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R3 886 if (!pGuestPml4) 873 if (RT_UNLIKELY(!pGuestPml4)) 887 874 pGuestPml4 = pgmGstLazyMapPml4(pPGM); 888 # endif889 875 Assert(pGuestPml4); 890 876 #endif … … 912 898 #else 913 899 PX86PML4 pGuestPml4 = pPGM->CTX_SUFF(pGstAmd64Pml4); 914 # ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R3915 900 if (!pGuestPml4) 916 901 pGuestPml4 = pgmGstLazyMapPml4(pPGM); 917 # endif918 902 Assert(pGuestPml4); 919 903 #endif -
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r30326 r30824 1367 1367 } 1368 1368 1369 #ifdef IN_RING31370 1369 1371 1370 /** … … 1426 1425 } 1427 1426 1428 #endif /* IN_RING3 */1429 1427 1430 1428 #ifndef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 … … 1492 1490 #endif /* !VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 */ 1493 1491 1494 1495 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R3 1492 #ifndef IN_RC 1496 1493 /** 1497 1494 * Performs the lazy mapping of the 32-bit guest PD. … … 1521 1518 return pPGM->CTX_SUFF(pGstAmd64Pml4); 1522 1519 } 1523 #endif /* VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R3 */ 1524 1520 #endif 1525 1521 1526 1522 /**
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器