VirtualBox

Ignore:
Timestamp:
Sep 6, 2019 8:09:16 PM (5 years ago)
Author:
vboxsync
Message:

IOM: New I/O port registration code. bugref:9218

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r80587 r80641  
    2323#include <VBox/vmm/vmm.h>
    2424#include <VBox/sup.h>
     25#include <VBox/vmm/iom.h>
    2526#include <VBox/vmm/trpm.h>
    2627#include <VBox/vmm/cpum.h>
     
    21982199
    21992200        /*
     2201         * IOM requests.
     2202         */
     2203        case VMMR0_DO_IOM_GROW_IO_PORTS:
     2204        {
     2205            if (pReqHdr || idCpu != 0)
     2206                return VERR_INVALID_PARAMETER;
     2207            rc = IOMR0IoPortGrowRegistrationTables(pGVM, u64Arg);
     2208            VMM_CHECK_SMAP_CHECK2(pGVM, RT_NOTHING);
     2209            break;
     2210        }
     2211
     2212        case VMMR0_DO_IOM_GROW_IO_PORT_STATS:
     2213        {
     2214            if (pReqHdr || idCpu != 0)
     2215                return VERR_INVALID_PARAMETER;
     2216            rc = IOMR0IoPortGrowStatisticsTable(pGVM, u64Arg);
     2217            VMM_CHECK_SMAP_CHECK2(pGVM, RT_NOTHING);
     2218            break;
     2219        }
     2220
     2221        /*
    22002222         * For profiling.
    22012223         */
     
    22962318
    22972319            case VMMR0_DO_PDM_DEVICE_CREATE:
     2320            case VMMR0_DO_IOM_GROW_IO_PORTS:
     2321            case VMMR0_DO_IOM_GROW_IO_PORT_STATS:
    22982322            {
    22992323                PGVMCPU        pGVCpu        = &pGVM->aCpus[idCpu];
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