VirtualBox

Changeset 69100 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Oct 17, 2017 9:22:36 AM (7 years ago)
Author:
vboxsync
Message:

PDM/PGM: Return 0xff to devices.

Location:
trunk/src/VBox/VMM
Files:
4 edited

Legend:

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

    r69046 r69100  
    25242524                    else
    25252525                    {
     2526                        if (enmOrigin == PGMACCESSORIGIN_DEVICE)    /* Questionable paranoia, should be removed. */
     2527                            memset(pvBuf, 0xff, cb);
    25262528                        pgmUnlock(pVM);
    25272529                        return rcStrict2;
  • trunk/src/VBox/VMM/VMMR0/PDMR0Device.cpp

    r68594 r69100  
    8787        Log(("pdmRCDevHlp_PCIPhysRead: caller=%p/%d: returns %Rrc - Not bus master! GCPhys=%RGp cbRead=%#zx\n",
    8888             pDevIns, pDevIns->iInstance, VERR_PDM_NOT_PCI_BUS_MASTER, GCPhys, cbRead));
     89        memset(pvBuf, 0xff, cbRead);
    8990        return VERR_PDM_NOT_PCI_BUS_MASTER;
    9091    }
  • trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp

    r68993 r69100  
    17061706        Log(("pdmR3DevHlp_PCIPhysRead: caller='%s'/%d: returns %Rrc - Not bus master! GCPhys=%RGp cbRead=%#zx\n",
    17071707             pDevIns->pReg->szName, pDevIns->iInstance, VERR_PDM_NOT_PCI_BUS_MASTER, GCPhys, cbRead));
     1708        memset(pvBuf, 0xff, cbRead);
    17081709        return VERR_PDM_NOT_PCI_BUS_MASTER;
    17091710    }
  • trunk/src/VBox/VMM/VMMRC/PDMRCDevice.cpp

    r68594 r69100  
    8484        Log(("pdmRCDevHlp_PCIPhysRead: caller=%p/%d: returns %Rrc - Not bus master! GCPhys=%RGp cbRead=%#zx\n",
    8585             pDevIns, pDevIns->iInstance, VERR_PDM_NOT_PCI_BUS_MASTER, GCPhys, cbRead));
     86        memset(pvBuf, 0xff, cbRead);
    8687        return VERR_PDM_NOT_PCI_BUS_MASTER;
    8788    }
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