Changeset 159 in vbox for trunk/src/VBox
- Timestamp:
- Jan 18, 2007 6:09:17 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 17613
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PATM/PATMA.asm ¶
r156 r159 1041 1041 mov dword [ss:PATM_INTERRUPTFLAG], 0 1042 1042 pushfd 1043 1044 %ifdef PATM_LOG_IF_CHANGES 1045 push eax 1046 push ecx 1047 push edx 1048 lea edx, dword [ss:esp+4] ;+ pushed flags -> iret eip 1049 mov eax, PATM_ACTION_LOG_IRET 1050 lock or dword [ss:PATM_PENDINGACTION], eax 1051 mov ecx, PATM_ACTION_MAGIC 1052 db 0fh, 0bh ; illegal instr (hardcoded assumption in PATMHandleIllegalInstrTrap) 1053 pop edx 1054 pop ecx 1055 pop eax 1056 %endif 1057 1043 1058 test dword [esp], X86_EFL_NT 1044 1059 jnz near iret_fault1 … … 1078 1093 ; Set IF again; below we make sure this won't cause problems. 1079 1094 or dword [ss:PATM_VMFLAGS], X86_EFL_IF 1080 1081 %ifdef PATM_LOG_IF_CHANGES1082 push eax1083 push ecx1084 push edx1085 lea edx, dword [ss:esp+12+4] ;3 pushes + pushed flags -> iret eip1086 mov eax, PATM_ACTION_LOG_IRET1087 lock or dword [ss:PATM_PENDINGACTION], eax1088 mov ecx, PATM_ACTION_MAGIC1089 db 0fh, 0bh ; illegal instr (hardcoded assumption in PATMHandleIllegalInstrTrap)1090 pop edx1091 pop ecx1092 pop eax1093 %endif1094 1095 1095 popfd 1096 1096 … … 1128 1128 DD PATM_INTERRUPTFLAG 1129 1129 DD 0 1130 %ifdef PATM_LOG_IF_CHANGES 1131 DD PATM_PENDINGACTION 1132 DD 0 1133 %endif 1130 1134 DD PATM_VM_FORCEDACTIONS 1131 1135 DD 0 … … 1136 1140 DD PATM_VMFLAGS 1137 1141 DD 0 1138 %ifdef PATM_LOG_IF_CHANGES1139 DD PATM_PENDINGACTION1140 DD 01141 %endif1142 1142 DD PATM_INHIBITIRQADDR 1143 1143 DD 0
Note:
See TracChangeset
for help on using the changeset viewer.