VirtualBox

忽略:
時間撮記:
2008-1-28 下午02:43:15 (17 年 以前)
作者:
vboxsync
訊息:

NEW_PHYS_CODE -> VBOX_WITH_NEW_PHYS_CODE; check for it in Config.kmk and add to DEFS.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp

    r5999 r6528  
    544544PGMDECL(int) PGMPhysGCPhys2CCPtr(PVM pVM, RTGCPHYS GCPhys, void **ppv, PPGMPAGEMAPLOCK pLock)
    545545{
    546 #ifdef NEW_PHYS_CODE
     546#ifdef VBOX_WITH_NEW_PHYS_CODE
    547547#ifdef IN_GC
    548548    /* Until a physical TLB is implemented for GC, let PGMGCDynMapGCPageEx handle it. */
     
    713713PGMDECL(void) PGMPhysReleasePageMappingLock(PVM pVM, PPGMPAGEMAPLOCK pLock)
    714714{
    715 #ifdef NEW_PHYS_CODE
     715#ifdef VBOX_WITH_NEW_PHYS_CODE
    716716#ifdef IN_GC
    717717    /* currently nothing to do here. */
     
    759759PGMDECL(int) PGMPhysGCPhys2HCPtr(PVM pVM, RTGCPHYS GCPhys, RTUINT cbRange, PRTHCPTR pHCPtr)
    760760{
    761 #ifdef NEW_PHYS_CODE
     761#ifdef VBOX_WITH_NEW_PHYS_CODE
    762762    VM_ASSERT_EMT(pVM); /* no longer safe for use outside the EMT thread! */
    763763#endif
     
    854854PGMDECL(int) PGMPhysGCPtr2HCPtr(PVM pVM, RTGCPTR GCPtr, PRTHCPTR pHCPtr)
    855855{
    856 #ifdef NEW_PHYS_CODE
     856#ifdef VBOX_WITH_NEW_PHYS_CODE
    857857    VM_ASSERT_EMT(pVM); /* no longer safe for use outside the EMT thread! */
    858858#endif
     
    882882PGMDECL(int) PGMPhysGCPtr2HCPtrByGstCR3(PVM pVM, RTGCPTR GCPtr, uint32_t cr3, unsigned fFlags, PRTHCPTR pHCPtr)
    883883{
    884 #ifdef NEW_PHYS_CODE
     884#ifdef VBOX_WITH_NEW_PHYS_CODE
    885885    VM_ASSERT_EMT(pVM); /* no longer safe for use outside the EMT thread! */
    886886#endif
     
    17071707        if (off < pRam->cb)
    17081708        {
    1709 #ifdef NEW_PHYS_CODE
     1709#ifdef VBOX_WITH_NEW_PHYS_CODE
    17101710/** @todo PGMRamGCPhys2HCPtrWithRange. */
    17111711#endif
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette