VirtualBox

Changeset 3178 in vbox


Ignore:
Timestamp:
Jun 20, 2007 11:07:38 AM (17 years ago)
Author:
vboxsync
Message:

Take 16 bits count in real or v86 mode.

File:
1 edited

Legend:

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

    r3145 r3178  
    533533    {
    534534        cTransfers = pRegFrame->ecx;
     535        if (    CPUMIsGuestInRealMode(pVM)
     536            ||  pRegFrame->eflags.Bits.u1VM)
     537            cTransfers &= 0xffff;
     538
    535539        if (!cTransfers)
    536540            return VINF_SUCCESS;
     
    773777    {
    774778        cTransfers = pRegFrame->ecx;
     779        if (    CPUMIsGuestInRealMode(pVM)
     780            ||  pRegFrame->eflags.Bits.u1VM)
     781            cTransfers &= 0xffff;
     782
    775783        if (!cTransfers)
    776784            return VINF_SUCCESS;
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