Changeset 31402 in vbox for trunk/src/VBox/VMM/VMMGC/TRPMGCHandlersA.asm
- Timestamp:
- Aug 5, 2010 12:28:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMGC/TRPMGCHandlersA.asm
r28800 r31402 4 4 ; 5 5 6 ; Copyright (C) 2006-20 07Oracle Corporation6 ; Copyright (C) 2006-2010 Oracle Corporation 7 7 ; 8 8 ; This file is part of VirtualBox Open Source Edition (OSE), as … … 34 34 extern IMPNAME(g_TRPM) ; where there is a pointer to the real symbol. PE imports 35 35 extern IMPNAME(g_TRPMCPU) ; are a bit confusing at first... :-) 36 extern IMPNAME(g_VM) 36 extern IMPNAME(g_VM) 37 37 extern NAME(CPUMGCRestoreInt) 38 38 extern NAME(cpumHandleLazyFPUAsm) 39 39 extern NAME(CPUMHyperSetCtxCore) 40 40 extern NAME(trpmGCTrapInGeneric) 41 extern NAME(TRPMGCHyperTrap0bHandler)42 extern NAME(TRPMGCHyperTrap0dHandler)43 extern NAME(TRPMGCHyperTrap0eHandler)44 41 extern NAME(TRPMGCTrap01Handler) 42 extern NAME(TRPMGCHyperTrap01Handler) 45 43 %ifdef VBOX_WITH_NMI 46 44 extern NAME(TRPMGCTrap02Handler) 45 extern NAME(TRPMGCHyperTrap02Handler) 47 46 %endif 48 47 extern NAME(TRPMGCTrap03Handler) 48 extern NAME(TRPMGCHyperTrap03Handler) 49 49 extern NAME(TRPMGCTrap06Handler) 50 extern NAME(TRPMGCTrap07Handler) 50 51 extern NAME(TRPMGCTrap0bHandler) 52 extern NAME(TRPMGCHyperTrap0bHandler) 51 53 extern NAME(TRPMGCTrap0dHandler) 54 extern NAME(TRPMGCHyperTrap0dHandler) 52 55 extern NAME(TRPMGCTrap0eHandler) 53 extern NAME(TRPMGC Trap07Handler)56 extern NAME(TRPMGCHyperTrap0eHandler) 54 57 55 58 ;; IMPORTANT all COM_ functions trashes esi, some edi and the LOOP_SHORT_WHILE kills ecx. … … 71 74 ; ============================================================= 72 75 dd 0 ; 0 - #DE - F - N - Divide error 73 dd NAME(TRPMGC Trap01Handler); 1 - #DB - F/T - N - Single step, INT 1 instruction76 dd NAME(TRPMGCHyperTrap01Handler) ; 1 - #DB - F/T - N - Single step, INT 1 instruction 74 77 %ifdef VBOX_WITH_NMI 75 dd NAME(TRPMGC Trap02Handler); 2 - - I - N - Non-Maskable Interrupt (NMI)78 dd NAME(TRPMGCHyperTrap02Handler) ; 2 - - I - N - Non-Maskable Interrupt (NMI) 76 79 %else 77 80 dd 0 ; 2 - - I - N - Non-Maskable Interrupt (NMI) 78 81 %endif 79 dd NAME(TRPMGC Trap03Handler); 3 - #BP - T - N - Breakpoint, INT 3 instruction.82 dd NAME(TRPMGCHyperTrap03Handler) ; 3 - #BP - T - N - Breakpoint, INT 3 instruction. 80 83 dd 0 ; 4 - #OF - T - N - Overflow, INTO instruction. 81 84 dd 0 ; 5 - #BR - F - N - BOUND Range Exceeded, BOUND instruction. … … 271 274 mov [esp + CPUMCTXCORE.eflags], eax 272 275 273 %if GC_ARCH_BITS == 64 276 %if GC_ARCH_BITS == 64 274 277 ; zero out the high dwords 275 278 mov dword [esp + CPUMCTXCORE.eax + 4], 0 … … 775 778 mov [esp + CPUMCTXCORE.ss], eax 776 779 777 %if GC_ARCH_BITS == 64 780 %if GC_ARCH_BITS == 64 778 781 ; zero out the high dwords 779 782 mov dword [esp + CPUMCTXCORE.eax + 4], 0
Note:
See TracChangeset
for help on using the changeset viewer.