VirtualBox

Ignore:
Timestamp:
Jan 30, 2009 4:49:19 PM (16 years ago)
Author:
vboxsync
Message:

VBOX_WITH_PGMPOOL_PAGING_ONLY: cleaned up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp

    r16427 r16428  
    12781278        case PGMPOOLKIND_EPT_PD_FOR_PHYS:
    12791279        case PGMPOOLKIND_EPT_PT_FOR_PHYS:
    1280         case PGMPOOLKIND_PAE_PD_PHYS_PROT:
    1281         case PGMPOOLKIND_PAE_PD_PHYS_REAL:
    1282         case PGMPOOLKIND_PAE_PDPT_PHYS_REAL:
    1283         case PGMPOOLKIND_PAE_PDPT_PHYS_PROT:
    1284         case PGMPOOLKIND_32BIT_PD_PHYS_REAL:
    1285         case PGMPOOLKIND_32BIT_PD_PHYS_PROT:
     1280        case PGMPOOLKIND_PAE_PD_PHYS:
     1281        case PGMPOOLKIND_PAE_PDPT_PHYS:
     1282        case PGMPOOLKIND_32BIT_PD_PHYS:
    12861283            return true;
    12871284
     
    15721569                case PGMPOOLKIND_EPT_PT_FOR_PHYS:
    15731570                case PGMPOOLKIND_ROOT_NESTED:
    1574                 case PGMPOOLKIND_PAE_PD_PHYS_PROT:
    1575                 case PGMPOOLKIND_PAE_PD_PHYS_REAL:
    1576                 case PGMPOOLKIND_PAE_PDPT_PHYS_REAL:
    1577                 case PGMPOOLKIND_PAE_PDPT_PHYS_PROT:
    1578                 case PGMPOOLKIND_32BIT_PD_PHYS_REAL:
    1579                 case PGMPOOLKIND_32BIT_PD_PHYS_PROT:
     1571                case PGMPOOLKIND_PAE_PD_PHYS:
     1572                case PGMPOOLKIND_PAE_PDPT_PHYS:
     1573                case PGMPOOLKIND_32BIT_PD_PHYS:
    15801574                    break;
    15811575                default:
     
    16401634
    16411635#ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
    1642         case PGMPOOLKIND_32BIT_PD_PHYS_REAL:
    1643         case PGMPOOLKIND_32BIT_PD_PHYS_PROT:
    1644         case PGMPOOLKIND_PAE_PDPT_PHYS_REAL:
    1645         case PGMPOOLKIND_PAE_PDPT_PHYS_PROT:
    1646         case PGMPOOLKIND_PAE_PD_PHYS_PROT:
    1647         case PGMPOOLKIND_PAE_PD_PHYS_REAL:
     1636        case PGMPOOLKIND_32BIT_PD_PHYS:
     1637        case PGMPOOLKIND_PAE_PDPT_PHYS:
     1638        case PGMPOOLKIND_PAE_PD_PHYS:
    16481639            /* Nothing to monitor here. */
    16491640            return VINF_SUCCESS;
     
    17401731        case PGMPOOLKIND_EPT_PT_FOR_PHYS:
    17411732        case PGMPOOLKIND_ROOT_NESTED:
    1742         case PGMPOOLKIND_PAE_PD_PHYS_PROT:
    1743         case PGMPOOLKIND_PAE_PD_PHYS_REAL:
    1744         case PGMPOOLKIND_PAE_PDPT_PHYS_REAL:
    1745         case PGMPOOLKIND_PAE_PDPT_PHYS_PROT:
    1746         case PGMPOOLKIND_32BIT_PD_PHYS_REAL:
    1747         case PGMPOOLKIND_32BIT_PD_PHYS_PROT:
     1733        case PGMPOOLKIND_PAE_PD_PHYS:
     1734        case PGMPOOLKIND_PAE_PDPT_PHYS:
     1735        case PGMPOOLKIND_32BIT_PD_PHYS:
    17481736            /* Nothing to monitor here. */
    17491737            return VINF_SUCCESS;
     
    24622450#ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
    24632451        case PGMPOOLKIND_32BIT_PD:
    2464         case PGMPOOLKIND_32BIT_PD_PHYS_REAL:
    2465         case PGMPOOLKIND_32BIT_PD_PHYS_PROT:
     2452        case PGMPOOLKIND_32BIT_PD_PHYS:
    24662453#else
    24672454        case PGMPOOLKIND_ROOT_32BIT_PD:
     
    24902477        case PGMPOOLKIND_EPT_PD_FOR_PHYS:
    24912478        case PGMPOOLKIND_EPT_PT_FOR_PHYS:
    2492         case PGMPOOLKIND_PAE_PD_PHYS_PROT:
    2493         case PGMPOOLKIND_PAE_PD_PHYS_REAL:
    2494         case PGMPOOLKIND_PAE_PDPT_PHYS_REAL:
    2495         case PGMPOOLKIND_PAE_PDPT_PHYS_PROT:
     2479        case PGMPOOLKIND_PAE_PD_PHYS:
     2480        case PGMPOOLKIND_PAE_PDPT_PHYS:
    24962481            return 8;
    24972482
     
    25492534        case PGMPOOLKIND_EPT_PT_FOR_PHYS:
    25502535        case PGMPOOLKIND_ROOT_NESTED:
    2551         case PGMPOOLKIND_PAE_PD_PHYS_PROT:
    2552         case PGMPOOLKIND_PAE_PD_PHYS_REAL:
    2553         case PGMPOOLKIND_PAE_PDPT_PHYS_REAL:
    2554         case PGMPOOLKIND_PAE_PDPT_PHYS_PROT:
    2555         case PGMPOOLKIND_32BIT_PD_PHYS_REAL:
    2556         case PGMPOOLKIND_32BIT_PD_PHYS_PROT:
     2536        case PGMPOOLKIND_PAE_PD_PHYS:
     2537        case PGMPOOLKIND_PAE_PDPT_PHYS:
     2538        case PGMPOOLKIND_32BIT_PD_PHYS:
    25572539            /** @todo can we return 0? (nobody is calling this...) */
    25582540            AssertFailed();
     
    28882870# ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
    28892871        case PGMPOOLKIND_32BIT_PD:
    2890             case PGMPOOLKIND_32BIT_PD_PHYS_REAL:
    2891             case PGMPOOLKIND_32BIT_PD_PHYS_PROT:
     2872            case PGMPOOLKIND_32BIT_PD_PHYS:
    28922873            Assert(iUserTable < X86_PG_ENTRIES);
    28932874            break;
     
    29062887# ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
    29072888        case PGMPOOLKIND_PAE_PDPT:
    2908             case PGMPOOLKIND_PAE_PDPT_PHYS_REAL:
    2909             case PGMPOOLKIND_PAE_PDPT_PHYS_PROT:
     2889            case PGMPOOLKIND_PAE_PDPT_PHYS:
    29102890# else
    29112891        case PGMPOOLKIND_ROOT_PDPT:
     
    29162896        case PGMPOOLKIND_PAE_PD_FOR_32BIT_PD:
    29172897        case PGMPOOLKIND_PAE_PD_FOR_PAE_PD:
    2918         case PGMPOOLKIND_PAE_PD_PHYS_PROT:
    2919             case PGMPOOLKIND_PAE_PD_PHYS_REAL:
     2898        case PGMPOOLKIND_PAE_PD_PHYS:
    29202899            Assert(iUserTable < X86_PG_PAE_ENTRIES);
    29212900            break;
     
    29602939#ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
    29612940        case PGMPOOLKIND_32BIT_PD:
    2962             case PGMPOOLKIND_32BIT_PD_PHYS_REAL:
    2963             case PGMPOOLKIND_32BIT_PD_PHYS_PROT:
     2941            case PGMPOOLKIND_32BIT_PD_PHYS:
    29642942#else
    29652943        case PGMPOOLKIND_ROOT_32BIT_PD:
     
    29712949        case PGMPOOLKIND_PAE_PD_FOR_32BIT_PD:
    29722950        case PGMPOOLKIND_PAE_PD_FOR_PAE_PD:
    2973         case PGMPOOLKIND_PAE_PD_PHYS_PROT:
    2974             case PGMPOOLKIND_PAE_PD_PHYS_REAL:
    2975             case PGMPOOLKIND_PAE_PDPT_PHYS_REAL:
    2976             case PGMPOOLKIND_PAE_PDPT_PHYS_PROT:
     2951            case PGMPOOLKIND_PAE_PD_PHYS:
     2952            case PGMPOOLKIND_PAE_PDPT_PHYS:
    29772953        case PGMPOOLKIND_64BIT_PD_FOR_64BIT_PD:
    29782954        case PGMPOOLKIND_64BIT_PDPT_FOR_64BIT_PDPT:
Note: See TracChangeset for help on using the changeset viewer.

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