VirtualBox

Ignore:
Timestamp:
Nov 5, 2008 6:16:17 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38885
Message:

#3202/#1865: Disable the Ring-0 parts for vga and pcnet on darwin (for now).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r13837 r13886  
    575575    hrc = pMachine->COMGETTER(VRAMSize)(&cRamMBs);                                  H();
    576576    rc = CFGMR3InsertInteger(pCfg,  "VRamSize",             cRamMBs * _1M);         RC_CHECK();
     577#ifdef VBOX_WITH_2X_4GB_ADDR_SPACE /* not safe here yet. */
     578    rc = CFGMR3InsertInteger(pCfg,  "R0Enabled",            false);                 RC_CHECK();
     579#endif
    577580
    578581    /*
     
    906909
    907910        /*
    908         * The virtual hardware type. Create appropriate device first.
    909         */
     911         * The virtual hardware type. Create appropriate device first.
     912         */
    910913        NetworkAdapterType_T adapterType;
    911914        hrc = networkAdapter->COMGETTER(AdapterType)(&adapterType);                 H();
     
    941944        rc = CFGMR3InsertInteger(pInst, "PCIFunctionNo",        0);                 RC_CHECK();
    942945        rc = CFGMR3InsertNode(pInst, "Config", &pCfg);                              RC_CHECK();
     946#ifdef VBOX_WITH_2X_4GB_ADDR_SPACE /* not safe here yet. */
     947        if (pDev == pDevPCNet)
     948        {
     949            rc = CFGMR3InsertInteger(pCfg,  "R0Enabled",    false);                 RC_CHECK();
     950        }
     951#endif
    943952
    944953        /*
    945         * The virtual hardware type. PCNet supports two types.
    946         */
     954         * The virtual hardware type. PCNet supports two types.
     955         */
    947956        switch (adapterType)
    948957        {
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