Changeset 20673 in vbox for trunk/src/VBox/VMM/VMMGC
- Timestamp:
- Jun 17, 2009 4:00:46 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 48772
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMGC/TRPMGCHandlersA.asm
r19015 r20673 548 548 549 549 ; tell cpum about the context core. 550 xchg esi, eax ; save pTRPM - @todo reallocate this variable to esi, edi, or ebx550 xchg esi, eax ; save pTRPMCPU - @todo reallocate this variable to esi, edi, or ebx 551 551 push esp ; Param 2 - The new CPUMCTXCORE pointer. 552 552 mov eax, IMP(g_VM) ; Param 1 - Pointer to the VMCPU. … … 555 555 call NAME(CPUMHyperSetCtxCore) 556 556 add esp, byte 8 ; stack cleanup (cdecl) 557 xchg eax, esi ; restore pTRPM 557 xchg eax, esi ; restore pTRPMCPU 558 558 559 559 ; check for temporary handler. 560 560 movzx ebx, byte [eax + TRPMCPU.uActiveVector] 561 mov e ax, IMP(g_TRPM)561 mov esi, IMP(g_TRPM) ; keep eax == pTRPMCPU 562 562 xor ecx, ecx 563 xchg ecx, [e ax+ TRPM.aTmpTrapHandlers + ebx * 4] ; ecx = Temp handler pointer or 0563 xchg ecx, [esi + TRPM.aTmpTrapHandlers + ebx * 4] ; ecx = Temp handler pointer or 0 564 564 or ecx, ecx 565 565 jnz short gt_Hyper_HaveTemporaryHandler … … 592 592 gt_Hyper_HaveStaticHandler: 593 593 push esp ; Param 2 - Pointer to CPUMCTXCORE. 594 push eax ; Param 1 - Pointer to TRPM 594 push eax ; Param 1 - Pointer to TRPMCPU 595 595 call ecx 596 596 add esp, byte 8 ; cleanup stack (cdecl)
Note:
See TracChangeset
for help on using the changeset viewer.