Changeset 2126 in vbox
- Timestamp:
- Apr 17, 2007 12:32:03 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 20447
- Location:
- trunk/src/recompiler
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r2011 r2126 1849 1849 */ 1850 1850 pVM->rem.s.Env.exception_index = -1; /** @todo this won't work :/ */ 1851 bool fIsSoftwareInterrupt;1852 uint8_t 1853 int rc = TRPMQueryTrap(pVM, &u8TrapNo, & fIsSoftwareInterrupt);1851 TRPMEVENT enmType; 1852 uint8_t u8TrapNo; 1853 int rc = TRPMQueryTrap(pVM, &u8TrapNo, &enmType); 1854 1854 if (VBOX_SUCCESS(rc)) 1855 1855 { … … 1863 1863 1864 1864 pVM->rem.s.Env.exception_index = u8TrapNo; 1865 if ( !fIsSoftwareInterrupt)1865 if (enmType != TRPM_SOFTWARE_INT) 1866 1866 { 1867 1867 pVM->rem.s.Env.exception_is_int = 0; -
trunk/src/recompiler/new/VBoxRecompiler.c
r2006 r2126 1933 1933 */ 1934 1934 pVM->rem.s.Env.exception_index = -1; /** @todo this won't work :/ */ 1935 bool fIsSoftwareInterrupt;1936 uint8_t 1937 int rc = TRPMQueryTrap(pVM, &u8TrapNo, & fIsSoftwareInterrupt);1935 TRPMEVENT enmType; 1936 uint8_t u8TrapNo; 1937 int rc = TRPMQueryTrap(pVM, &u8TrapNo, &enmType); 1938 1938 if (VBOX_SUCCESS(rc)) 1939 1939 { … … 1947 1947 1948 1948 pVM->rem.s.Env.exception_index = u8TrapNo; 1949 if ( !fIsSoftwareInterrupt)1949 if (enmType != TRPM_SOFTWARE_INT) 1950 1950 { 1951 1951 pVM->rem.s.Env.exception_is_int = 0;
Note:
See TracChangeset
for help on using the changeset viewer.