Changeset 23297 in vbox for trunk/src/VBox/VMM/VMMGC
- Timestamp:
- Sep 24, 2009 4:38:01 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 52790
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMGC/TRPMGCHandlersA.asm
r20673 r23297 265 265 mov eax, [esp + 14h + ESPOFF] ; esp 266 266 mov [esp + CPUMCTXCORE.esp], eax 267 %if GC_ARCH_BITS == 64268 ; zero out the high dword269 mov dword [esp + CPUMCTXCORE.esp + 4], 0270 %endif271 267 mov eax, [esp + 18h + ESPOFF] ; ss 272 268 mov dword [esp + CPUMCTXCORE.ss], eax … … 276 272 mov eax, [esp + 08h + ESPOFF] ; eip 277 273 mov [esp + CPUMCTXCORE.eip], eax 278 %if GC_ARCH_BITS == 64279 ; zero out the high dword280 mov dword [esp + CPUMCTXCORE.eip + 4], 0281 %endif282 274 mov eax, [esp + 10h + ESPOFF] ; eflags 283 275 mov [esp + CPUMCTXCORE.eflags], eax 276 277 %if GC_ARCH_BITS == 64 278 ; zero out the high dwords 279 mov dword [esp + CPUMCTXCORE.eax + 4], 0 280 mov dword [esp + CPUMCTXCORE.ecx + 4], 0 281 mov dword [esp + CPUMCTXCORE.edx + 4], 0 282 mov dword [esp + CPUMCTXCORE.ebx + 4], 0 283 mov dword [esp + CPUMCTXCORE.esi + 4], 0 284 mov dword [esp + CPUMCTXCORE.edi + 4], 0 285 mov dword [esp + CPUMCTXCORE.ebp + 4], 0 286 mov dword [esp + CPUMCTXCORE.esp + 4], 0 287 mov dword [esp + CPUMCTXCORE.eip + 4], 0 288 %endif 284 289 285 290 mov eax, es … … 764 769 mov eax, [esp + 04h + ESPOFF] ; eip 765 770 mov [esp + CPUMCTXCORE.eip], eax 766 %if GC_ARCH_BITS == 64767 ; zero out the high dword768 mov dword [esp + CPUMCTXCORE.eip + 4], 0769 %endif770 771 mov eax, dword [esp + 08h + ESPOFF] ; cs 771 772 mov [esp + CPUMCTXCORE.cs], eax … … 775 776 mov eax, [esp + 10h + ESPOFF] ; esp 776 777 mov [esp + CPUMCTXCORE.esp], eax 777 %if GC_ARCH_BITS == 64778 ; zero out the high dword779 mov dword [esp + CPUMCTXCORE.esp + 4], 0780 %endif781 778 mov eax, dword [esp + 14h + ESPOFF] ; ss 782 779 mov [esp + CPUMCTXCORE.ss], eax 780 781 %if GC_ARCH_BITS == 64 782 ; zero out the high dwords 783 mov dword [esp + CPUMCTXCORE.eax + 4], 0 784 mov dword [esp + CPUMCTXCORE.ecx + 4], 0 785 mov dword [esp + CPUMCTXCORE.edx + 4], 0 786 mov dword [esp + CPUMCTXCORE.ebx + 4], 0 787 mov dword [esp + CPUMCTXCORE.esi + 4], 0 788 mov dword [esp + CPUMCTXCORE.edi + 4], 0 789 mov dword [esp + CPUMCTXCORE.ebp + 4], 0 790 mov dword [esp + CPUMCTXCORE.esp + 4], 0 791 mov dword [esp + CPUMCTXCORE.eip + 4], 0 792 %endif 783 793 784 794 mov eax, es
Note:
See TracChangeset
for help on using the changeset viewer.