VirtualBox

Changeset 2126 in vbox for trunk/src/recompiler/new


Ignore:
Timestamp:
Apr 17, 2007 12:32:03 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
20447
Message:

TRPM changes to assert and report trap/interrupt types accurately.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/new/VBoxRecompiler.c

    r2006 r2126  
    19331933     */
    19341934    pVM->rem.s.Env.exception_index = -1; /** @todo this won't work :/ */
    1935     bool            fIsSoftwareInterrupt;
    1936     uint8_t         u8TrapNo;
    1937     int rc = TRPMQueryTrap(pVM, &u8TrapNo, &fIsSoftwareInterrupt);
     1935    TRPMEVENT   enmType;
     1936    uint8_t     u8TrapNo;
     1937    int rc = TRPMQueryTrap(pVM, &u8TrapNo, &enmType);
    19381938    if (VBOX_SUCCESS(rc))
    19391939    {
     
    19471947
    19481948        pVM->rem.s.Env.exception_index = u8TrapNo;
    1949         if (!fIsSoftwareInterrupt)
     1949        if (enmType != TRPM_SOFTWARE_INT)
    19501950        {
    19511951            pVM->rem.s.Env.exception_is_int     = 0;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette