VirtualBox

Changeset 49809 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Dec 6, 2013 11:33:54 AM (11 years ago)
Author:
vboxsync
Message:

Devices/PCNet: for now register a dummy MMIO2 region for the obsolete "PCNetSh" region

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevPCNet.cpp

    r49754 r49809  
    49564956        return rc;
    49574957
     4958    /** XXX remove! */
     4959#define PCNET_GUEST_SHARED_MEMORY_SIZE _512K
     4960    void *pvSharedMMIOR3;
     4961    rc = PDMDevHlpMMIO2Register(pDevIns, 2, PCNET_GUEST_SHARED_MEMORY_SIZE, 0, (void **)&pvSharedMMIOR3, "PCNetSh");
     4962    if (RT_FAILURE(rc))
     4963        return PDMDevHlpVMSetError(pDevIns, rc, RT_SRC_POS,
     4964                                   N_("Failed to allocate %u bytes of memory for the PCNet device"),
     4965                                   PCNET_GUEST_SHARED_MEMORY_SIZE);
     4966
    49584967#ifdef PCNET_NO_POLLING
    49594968    /*
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