Lines Matching refs:mov
212 mov eax, 0ffffffffh
285 mov bx, ss ; load
286 mov ds, bx
287 mov es, bx
290 mov gs, bx
291 mov fs, bx
293 mov eax, cr0 ;; @todo elimitate this read?
295 mov cr0, eax
297 mov ebx, IMP(g_trpmGuestCtxCore) ; Assume GC as the most common.
302 mov ebx, IMP(g_trpmHyperCtxCore) ; It's raw-mode context, actually.
308 mov [ebx + CPUMCTXCORE.ecx], ecx
310 mov [ebx + CPUMCTXCORE.esp], eax
311 mov cx, ss
312 mov [ebx + CPUMCTXCORE.ss.Sel], cx
316 mov [ebx + CPUMCTXCORE.ecx], ecx
317 mov eax, [%$STK_ESP]
318 mov [ebx + CPUMCTXCORE.esp], eax
319 mov cx, [%$STK_SS]
320 mov [ebx + CPUMCTXCORE.ss.Sel], cx
323 mov eax, [%$STK_SAVED_EAX]
324 mov [ebx + CPUMCTXCORE.eax], eax
325 mov [ebx + CPUMCTXCORE.edx], edx
326 mov eax, [%$STK_SAVED_EBX]
327 mov [ebx + CPUMCTXCORE.ebx], eax
328 mov [ebx + CPUMCTXCORE.esi], esi
329 mov [ebx + CPUMCTXCORE.edi], edi
330 mov [ebx + CPUMCTXCORE.ebp], ebp
332 mov cx, [%$STK_CS]
333 mov [ebx + CPUMCTXCORE.cs.Sel], cx
334 mov eax, [%$STK_EIP]
335 mov [ebx + CPUMCTXCORE.eip], eax
336 mov eax, [%$STK_EFLAGS]
337 mov [ebx + CPUMCTXCORE.eflags], eax
340 mov dword [ebx + CPUMCTXCORE.eax + 4], 0
341 mov dword [ebx + CPUMCTXCORE.ecx + 4], 0
342 mov dword [ebx + CPUMCTXCORE.edx + 4], 0
343 mov dword [ebx + CPUMCTXCORE.ebx + 4], 0
344 mov dword [ebx + CPUMCTXCORE.esi + 4], 0
345 mov dword [ebx + CPUMCTXCORE.edi + 4], 0
346 mov dword [ebx + CPUMCTXCORE.ebp + 4], 0
347 mov dword [ebx + CPUMCTXCORE.esp + 4], 0
348 mov dword [ebx + CPUMCTXCORE.eip + 4], 0
354 mov cx, [%$STK_SAVED_ES]
355 mov [ebx + CPUMCTXCORE.es.Sel], cx
356 mov cx, [%$STK_SAVED_DS]
357 mov [ebx + CPUMCTXCORE.ds.Sel], cx
358 mov cx, [%$STK_SAVED_FS]
359 mov [ebx + CPUMCTXCORE.fs.Sel], cx
360 mov cx, [%$STK_SAVED_GS]
361 mov [ebx + CPUMCTXCORE.gs.Sel], cx
369 mov cx, [%$STK_V86_ES]
370 mov [ebx + CPUMCTXCORE.es.Sel], cx
371 mov cx, [%$STK_V86_DS]
372 mov [ebx + CPUMCTXCORE.ds.Sel], cx
373 mov cx, [%$STK_V86_FS]
374 mov [ebx + CPUMCTXCORE.fs.Sel], cx
375 mov cx, [%$STK_V86_GS]
376 mov [ebx + CPUMCTXCORE.gs.Sel], cx
384 mov edx, [%$STK_VECTOR]
394 mov esi, IMP(g_TRPMCPU) ; esi = TRPMCPU until resume!
396 mov [esi + TRPMCPU.uActiveVector], edx
397 mov edx, [%$STK_ERRCD]
398 mov [esi + TRPMCPU.uActiveErrorCode], edx
399 mov dword [esi + TRPMCPU.enmActiveType], TRPM_TRAP
400 mov edx, cr2 ;; @todo Check how expensive cr2 reads are!
401 mov dword [esi + TRPMCPU.uActiveCR2], edx
403 mov dword [esi + TRPMCPU.uActiveErrorCode + 4], 0
404 mov dword [esi + TRPMCPU.uActiveCR2 + 4], 0
421 mov eax, [%$STK_ERRCD]
422 mov ecx, 'trpG' ; indicate trap.
423 mov edx, [%$STK_VECTOR]
430 mov edx, [%$STK_VECTOR]
431 mov eax, [g_apfnStaticTrapHandlersGuest + edx * 4]
434 mov eax, VINF_EM_RAW_GUEST_TRAP
453 mov edx, [%$STK_VECTOR]
459 mov edx, IMP(g_VM)
464 mov eax, VERR_TRPM_IPE_3
465 mov edx, IMP(g_VM)
475 mov edx, [%$STK_VECTOR]
484 mov edx, IMP(g_VM)
491 mov eax, cr0 ;; @todo try elimiate this read.
493 mov cr0, eax
496 mov eax, [ebx + CPUMCTXCORE.eax]
497 mov [%$STK_SAVED_EAX], eax
498 mov ecx, [ebx + CPUMCTXCORE.ecx]
499 mov edx, [ebx + CPUMCTXCORE.edx]
500 mov eax, [ebx + CPUMCTXCORE.ebx]
501 mov [%$STK_SAVED_EBX], eax
502 mov ebp, [ebx + CPUMCTXCORE.ebp]
503 mov esi, [ebx + CPUMCTXCORE.esi]
504 mov edi, [ebx + CPUMCTXCORE.edi]
506 mov eax, [ebx + CPUMCTXCORE.esp]
507 mov [%$STK_ESP], eax
508 mov eax, dword [ebx + CPUMCTXCORE.ss.Sel]
509 mov [%$STK_SS], eax
510 mov eax, [ebx + CPUMCTXCORE.eflags]
511 mov [%$STK_EFLAGS], eax
512 mov eax, dword [ebx + CPUMCTXCORE.cs.Sel]
513 mov [%$STK_CS], eax
514 mov eax, [ebx + CPUMCTXCORE.eip]
515 mov [%$STK_EIP], eax
520 mov ax, [ebx + CPUMCTXCORE.gs.Sel]
522 mov gs, ax
524 mov ax, [ebx + CPUMCTXCORE.fs.Sel]
526 mov fs, ax
528 mov ax, [ebx + CPUMCTXCORE.es.Sel]
530 mov es, ax
532 mov ax, [ebx + CPUMCTXCORE.ds.Sel]
534 mov ds, ax
546 mov eax, dword [ebx + CPUMCTXCORE.es.Sel]
547 mov [%$STK_V86_ES], eax
548 mov eax, dword [ebx + CPUMCTXCORE.ds.Sel]
549 mov [%$STK_V86_DS], eax
550 mov eax, dword [ebx + CPUMCTXCORE.fs.Sel]
551 mov [%$STK_V86_FS], eax
552 mov eax, dword [ebx + CPUMCTXCORE.gs.Sel]
553 mov [%$STK_V86_GS], eax
572 mov [ebx + CPUMCTXCORE.esp], ecx; update esp in register frame
573 mov [ebx + CPUMCTXCORE.ss.Sel], ss ; update ss in register frame
577 mov edi, IMP(g_TRPM)
584 mov ecx, [g_apfnStaticTrapHandlersHyper + edx * 4] ; ecx = Static handler pointer or 0
627 mov edx, IMP(g_VM)
629 mov eax, VERR_TRPM_DONT_PANIC
639 mov eax, [%$STK_ERRCD]
640 mov ecx, 'resH' ; indicate trap.
641 mov edx, [%$STK_VECTOR]
646 mov edx, [%$STK_VECTOR]
654 mov eax, [ebx + CPUMCTXCORE.eax]
655 mov [%$STK_SAVED_EAX], eax
656 mov ecx, [ebx + CPUMCTXCORE.ecx]
657 mov edx, [ebx + CPUMCTXCORE.edx]
658 mov eax, [ebx + CPUMCTXCORE.ebx]
659 mov [%$STK_SAVED_EBX], eax
660 mov ebp, [ebx + CPUMCTXCORE.ebp]
661 mov esi, [ebx + CPUMCTXCORE.esi]
662 mov edi, [ebx + CPUMCTXCORE.edi]
666 mov eax, [ebx + CPUMCTXCORE.eflags]
667 mov [%$STK_EFLAGS], eax
668 mov eax, dword [ebx + CPUMCTXCORE.cs.Sel]
669 mov [%$STK_CS], eax
670 mov eax, [ebx + CPUMCTXCORE.eip]
671 mov [%$STK_EIP], eax
673 mov ax, [ebx + CPUMCTXCORE.gs.Sel]
674 mov gs, ax
676 mov ax, [ebx + CPUMCTXCORE.fs.Sel]
677 mov fs, ax
679 mov ax, [ebx + CPUMCTXCORE.es.Sel]
680 mov es, ax
682 mov ax, [ebx + CPUMCTXCORE.ds.Sel]
683 mov ds, ax
698 mov eax, [%$STK_ERRCD]
699 mov ecx, 'trpH' ; indicate trap.
700 mov edx, [%$STK_VECTOR]
705 mov edx, IMP(g_VM)
706 mov eax, VERR_TRPM_DONT_PANIC
786 mov bx, ss ; load
787 mov ds, bx
788 mov es, bx
791 mov gs, bx
792 mov fs, bx
794 mov eax, cr0 ;; @todo elimitate this read?
796 mov cr0, eax
798 mov ebx, IMP(g_trpmGuestCtxCore) ; Assume GC as the most common.
803 mov ebx, IMP(g_trpmHyperCtxCore) ; It's raw-mode context, actually.
809 mov [ebx + CPUMCTXCORE.ecx], ecx
811 mov [ebx + CPUMCTXCORE.esp], eax
812 mov cx, ss
813 mov [ebx + CPUMCTXCORE.ss.Sel], cx
817 mov [ebx + CPUMCTXCORE.ecx], ecx
818 mov eax, [%$STK_ESP]
819 mov [ebx + CPUMCTXCORE.esp], eax
820 mov cx, [%$STK_SS]
821 mov [ebx + CPUMCTXCORE.ss.Sel], cx
824 mov eax, [%$STK_SAVED_EAX]
825 mov [ebx + CPUMCTXCORE.eax], eax
826 mov [ebx + CPUMCTXCORE.edx], edx
827 mov eax, [%$STK_SAVED_EBX]
828 mov [ebx + CPUMCTXCORE.ebx], eax
829 mov [ebx + CPUMCTXCORE.esi], esi
830 mov [ebx + CPUMCTXCORE.edi], edi
831 mov [ebx + CPUMCTXCORE.ebp], ebp
833 mov cx, [%$STK_CS]
834 mov [ebx + CPUMCTXCORE.cs.Sel], cx
835 mov eax, [%$STK_EIP]
836 mov [ebx + CPUMCTXCORE.eip], eax
837 mov eax, [%$STK_EFLAGS]
838 mov [ebx + CPUMCTXCORE.eflags], eax
841 mov dword [ebx + CPUMCTXCORE.eax + 4], 0
842 mov dword [ebx + CPUMCTXCORE.ecx + 4], 0
843 mov dword [ebx + CPUMCTXCORE.edx + 4], 0
844 mov dword [ebx + CPUMCTXCORE.ebx + 4], 0
845 mov dword [ebx + CPUMCTXCORE.esi + 4], 0
846 mov dword [ebx + CPUMCTXCORE.edi + 4], 0
847 mov dword [ebx + CPUMCTXCORE.ebp + 4], 0
848 mov dword [ebx + CPUMCTXCORE.esp + 4], 0
849 mov dword [ebx + CPUMCTXCORE.eip + 4], 0
855 mov cx, [%$STK_SAVED_ES]
856 mov [ebx + CPUMCTXCORE.es.Sel], cx
857 mov cx, [%$STK_SAVED_DS]
858 mov [ebx + CPUMCTXCORE.ds.Sel], cx
859 mov cx, [%$STK_SAVED_FS]
860 mov [ebx + CPUMCTXCORE.fs.Sel], cx
861 mov cx, [%$STK_SAVED_GS]
862 mov [ebx + CPUMCTXCORE.gs.Sel], cx
870 mov cx, [%$STK_V86_ES]
871 mov [ebx + CPUMCTXCORE.es.Sel], cx
872 mov cx, [%$STK_V86_DS]
873 mov [ebx + CPUMCTXCORE.ds.Sel], cx
874 mov cx, [%$STK_V86_FS]
875 mov [ebx + CPUMCTXCORE.fs.Sel], cx
876 mov cx, [%$STK_V86_GS]
877 mov [ebx + CPUMCTXCORE.gs.Sel], cx
884 mov esi, IMP(g_TRPMCPU) ; esi = TRPMCPU until resume!
886 mov [esi + TRPMCPU.uActiveVector], edx
887 mov dword [esi + TRPMCPU.uActiveErrorCode], 0
888 mov dword [esi + TRPMCPU.enmActiveType], TRPM_TRAP
889 mov dword [esi + TRPMCPU.uActiveCR2], edx
891 mov dword [esi + TRPMCPU.uActiveErrorCode + 4], 0
892 mov dword [esi + TRPMCPU.uActiveCR2 + 4], 0
899 mov edi, IMP(g_TRPM)
923 mov ecx, 'intG' ; indicate trap in GC.
931 mov edx, IMP(g_VM)
932 mov eax, VINF_EM_RAW_INTERRUPT
943 mov [esi + TRPMCPU.uPrevVector], edx
947 mov edx, IMP(g_VM)
954 mov eax, cr0 ;; @todo try elimiate this read.
956 mov cr0, eax
959 mov eax, [ebx + CPUMCTXCORE.eax]
960 mov [%$STK_SAVED_EAX], eax
961 mov ecx, [ebx + CPUMCTXCORE.ecx]
962 mov edx, [ebx + CPUMCTXCORE.edx]
963 mov eax, [ebx + CPUMCTXCORE.ebx]
964 mov [%$STK_SAVED_EBX], eax
965 mov ebp, [ebx + CPUMCTXCORE.ebp]
966 mov esi, [ebx + CPUMCTXCORE.esi]
967 mov edi, [ebx + CPUMCTXCORE.edi]
969 mov eax, [ebx + CPUMCTXCORE.esp]
970 mov [%$STK_ESP], eax
971 mov eax, dword [ebx + CPUMCTXCORE.ss.Sel]
972 mov [%$STK_SS], eax
973 mov eax, [ebx + CPUMCTXCORE.eflags]
974 mov [%$STK_EFLAGS], eax
975 mov eax, dword [ebx + CPUMCTXCORE.cs.Sel]
976 mov [%$STK_CS], eax
977 mov eax, [ebx + CPUMCTXCORE.eip]
978 mov [%$STK_EIP], eax
983 mov ax, [ebx + CPUMCTXCORE.gs.Sel]
985 mov gs, ax
987 mov ax, [ebx + CPUMCTXCORE.fs.Sel]
989 mov fs, ax
991 mov ax, [ebx + CPUMCTXCORE.es.Sel]
993 mov es, ax
995 mov ax, [ebx + CPUMCTXCORE.ds.Sel]
997 mov ds, ax
1009 mov eax, dword [ebx + CPUMCTXCORE.es.Sel]
1010 mov [%$STK_V86_ES], eax
1011 mov eax, dword [ebx + CPUMCTXCORE.ds.Sel]
1012 mov [%$STK_V86_DS], eax
1013 mov eax, dword [ebx + CPUMCTXCORE.fs.Sel]
1014 mov [%$STK_V86_FS], eax
1015 mov eax, dword [ebx + CPUMCTXCORE.gs.Sel]
1016 mov [%$STK_V86_GS], eax
1039 mov [ebx + CPUMCTXCORE.esp], ecx ; update esp in register frame
1040 mov [ebx + CPUMCTXCORE.ss.Sel], ss ; update ss in register frame
1044 mov ecx, 'intH' ; indicate trap in RC.
1049 mov edx, IMP(g_VM)
1050 mov eax, VINF_EM_RAW_INTERRUPT_HYPER
1062 ;mov esi, IMP(g_TRPMCPU)
1063 mov dword [esi + TRPMCPU.uActiveVector], 0ffffffffh
1068 mov eax, [ebx + CPUMCTXCORE.eax]
1069 mov [%$STK_SAVED_EAX], eax
1070 mov ecx, [ebx + CPUMCTXCORE.ecx]
1071 mov edx, [ebx + CPUMCTXCORE.edx]
1072 mov eax, [ebx + CPUMCTXCORE.ebx]
1073 mov [%$STK_SAVED_EBX], eax
1074 mov ebp, [ebx + CPUMCTXCORE.ebp]
1075 mov esi, [ebx + CPUMCTXCORE.esi]
1076 mov edi, [ebx + CPUMCTXCORE.edi]
1080 mov eax, [ebx + CPUMCTXCORE.eflags]
1081 mov [%$STK_EFLAGS], eax
1082 mov eax, dword [ebx + CPUMCTXCORE.cs.Sel]
1083 mov [%$STK_CS], eax
1084 mov eax, [ebx + CPUMCTXCORE.eip]
1085 mov [%$STK_EIP], eax
1087 mov ax, [ebx + CPUMCTXCORE.gs.Sel]
1088 mov gs, ax
1090 mov ax, [ebx + CPUMCTXCORE.fs.Sel]
1091 mov fs, ax
1093 mov ax, [ebx + CPUMCTXCORE.es.Sel]
1094 mov es, ax
1096 mov ax, [ebx + CPUMCTXCORE.ds.Sel]
1097 mov ds, ax
1177 mov eax, cr0
1179 mov cr0, eax
1184 mov eax, ss
1185 mov ds, eax
1186 mov es, eax
1195 mov eax, [ecx + VBOXTSS.cr3]
1205 mov ebx, IMP(g_trpmHyperCtxCore) ; It's raw-mode context, actually.
1207 mov eax, [ecx + VBOXTSS.eip]
1208 mov [ebx + CPUMCTXCORE.eip], eax
1211 mov dword [ebx + CPUMCTXCORE.eip + 4], 0
1213 mov eax, [ecx + VBOXTSS.eflags]
1214 mov [ebx + CPUMCTXCORE.eflags], eax
1217 mov dword [ebx + CPUMCTXCORE.cs.Sel], eax
1219 mov dword [ebx + CPUMCTXCORE.ds.Sel], eax
1221 mov dword [ebx + CPUMCTXCORE.es.Sel], eax
1223 mov dword [ebx + CPUMCTXCORE.fs.Sel], eax
1225 mov dword [ebx + CPUMCTXCORE.gs.Sel], eax
1227 mov [ebx + CPUMCTXCORE.ss.Sel], eax
1228 mov eax, [ecx + VBOXTSS.esp]
1229 mov [ebx + CPUMCTXCORE.esp], eax
1232 mov dword [ebx + CPUMCTXCORE.esp + 4], 0
1234 mov eax, [ecx + VBOXTSS.ecx]
1235 mov [ebx + CPUMCTXCORE.ecx], eax
1236 mov eax, [ecx + VBOXTSS.edx]
1237 mov [ebx + CPUMCTXCORE.edx], eax
1238 mov eax, [ecx + VBOXTSS.ebx]
1239 mov [ebx + CPUMCTXCORE.ebx], eax
1240 mov eax, [ecx + VBOXTSS.eax]
1241 mov [ebx + CPUMCTXCORE.eax], eax
1242 mov eax, [ecx + VBOXTSS.ebp]
1243 mov [ebx + CPUMCTXCORE.ebp], eax
1244 mov eax, [ecx + VBOXTSS.esi]
1245 mov [ebx + CPUMCTXCORE.esi], eax
1246 mov eax, [ecx + VBOXTSS.edi]
1247 mov [ebx + CPUMCTXCORE.edi], eax
1252 mov eax, 0ffffffffh
1253 mov ecx, 'trpH' ; indicate trap.
1254 mov edx, 08h ; vector number
1271 mov edx, IMP(g_VM)
1272 mov eax, VERR_TRPM_PANIC
1284 mov word [esp], 0
1287 mov dword [eax], 0
1371 mov ecx, cr2
1379 mov ecx, [ebx + CPUMCTXCORE.eip]
1386 mov ecx, [ebx + CPUMCTXCORE.esp]
1395 mov ecx, [esp + 2]
1403 mov ecx, [esp + 2]
1418 mov ecx, [ebx + CPUMCTXCORE.eflags]
1423 mov ecx, cr0
1427 mov ecx, cr2
1431 mov ecx, cr3
1434 mov ecx, cr4
1456 mov ecx, [ebx + CPUMCTXCORE.eax]
1460 mov ecx, [ebx + CPUMCTXCORE.ebx]
1464 mov ecx, [ebx + CPUMCTXCORE.ecx]
1468 mov ecx, [ebx + CPUMCTXCORE.edx]
1473 mov ecx, [ebx + CPUMCTXCORE.esi]
1477 mov ecx, [ebx + CPUMCTXCORE.edi]
1481 mov ecx, [ebx + CPUMCTXCORE.ebp]