Changeset 1132 in vbox
- Timestamp:
- Mar 1, 2007 1:18:43 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMGC/TRPMGCHandlersA.asm
r1131 r1132 430 430 %endif 431 431 432 ; restore guest state and start executing again.433 test dword [esp + CPUMCTXCORE.eflags], X86_EFL_VM434 jnz gt_V86Return435 436 432 ; enable WP 437 433 mov eax, cr0 438 434 or eax, X86_CR0_WRITE_PROTECT 439 435 mov cr0, eax 436 437 ; restore guest state and start executing again. 438 test dword [esp + CPUMCTXCORE.eflags], X86_EFL_VM 439 jnz gt_V86Return 440 440 441 441 mov ecx, [esp + CPUMCTXCORE.ecx] … … 511 511 mov eax, [esp + CPUMCTXCORE.eflags] 512 512 mov [esp + 10h + ESPOFF], eax ; eflags 513 514 ; enable WP515 mov eax, cr0516 or eax, X86_CR0_WRITE_PROTECT517 mov cr0, eax518 513 519 514 ; finally restore our scratch register eax
Note:
See TracChangeset
for help on using the changeset viewer.