VirtualBox

Changeset 1988 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 9, 2007 11:23:58 AM (18 years ago)
Author:
vboxsync
Message:

corrected assertion

File:
1 edited

Legend:

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

    r1987 r1988  
    12381238#ifdef IN_GC
    12391239            /* Safety check. */
    1240             /** @todo cpu may access two or four bytes */
    1241             AssertMsgReturn(pParam1 == pvFault, ("pParam1=%VGv pvFault=%VGv\n", pParam1, pvFault), VERR_EM_INTERPRETER);
     1240            AssertMsgReturn((RTGCPTR)((RTGCUINTPTR)pParam1 & ~3) == pvFault, ("pParam1=%VGv pvFault=%VGv\n", pParam1, pvFault), VERR_EM_INTERPRETER);
    12421241#endif
    12431242            rc = emRamRead(pVM, &valpar1, pParam1, 1);
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