VirtualBox

Changeset 421 in vbox


Ignore:
Timestamp:
Jan 29, 2007 6:40:07 PM (18 years ago)
Author:
vboxsync
Message:

Stop GCC4 from being 'clever'.

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

Legend:

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

    r419 r421  
    28072807                Log(("VMM: iteration %d, esi=%08x edi=%08x ebx=%08x\n",
    28082808                       i, CPUMGetHyperESI(pVM), CPUMGetHyperEDI(pVM), CPUMGetHyperEBX(pVM)));
    2809         } while (rc == VINF_EM_RAW_INTERRUPT_HYPER && i < 1000000 /*hack!*/);
     2809        } while (rc == VINF_EM_RAW_INTERRUPT_HYPER);
    28102810        uint64_t    TickEnd = ASMReadTSC();
    28112811        uint64_t    tsEnd = RTTimeNanoTS();
  • trunk/src/VBox/VMM/VMMGC/VMMGC.cpp

    r23 r421  
    7878        case VMMGC_DO_TESTCASE_HYPER_INTERRUPT:
    7979        {
     80            uint32_t volatile i = 0;
    8081            ASMIntEnable();
    81             int i = 0;
    82             while (i + 1 > i)
     82            while (i < _2G32)
    8383                i++;
    8484            ASMIntDisable();
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