Lines Matching refs:mov
385 mov ebp, esp
411 mov ax, [es:bx + PKTIOCTL.pData + 2] ; LDT selector to flat address.
414 mov ax, [es:bx + PKTIOCTL.pData]
430 mov ax, DATA32 wrt FLAT
431 mov ds, ax
432 mov es, ax
452 mov edx, esp
453 mov eax, [ss:edx + 0ch] ; output sizes.
454 mov [es:bx + PKTIOCTL.cbParm], eax ; update cbParm and cbData.
455 mov word [es:bx + PKTHDR.status], 00100h ; done, ok.
457 mov sp, bp
465 mov eax, [es:bx + PKTIOCTL.cbParm] ; Load cbParm and cbData
472 mov ax, word [es:bx + PKTIOCTL.pData + 2] ; selector
476 mov dl, DevHlp_VirtToLin
486 mov ax, word [es:bx + PKTIOCTL.pParm + 2] ; selector
490 mov dl, DevHlp_VirtToLin
516 mov ax, DATA32 wrt FLAT
517 mov ds, ax
518 mov es, ax
523 mov [esp + 14h], eax
525 mov [esp + 18h], edx
544 mov edx, esp
545 mov eax, [ss:edx + 1ch] ; output sizes.
546 mov [es:bx + PKTIOCTL.cbParm], eax ; update cbParm and cbData.
547 mov word [es:bx + PKTHDR.status], 00100h ; done, ok.
549 mov sp, bp
587 mov ax, DATA32 wrt FLAT
588 mov ds, ax
589 mov es, ax
607 mov word [es:bx + PKTHDR.status], 00100h ; done, ok.
615 mov byte [NAME(g_fInitialized)], -1
621 mov word [es:bx + PKTHDR.status], 0810fh ; error, done, init failed.
638 mov ax, DATA32 wrt FLAT
639 mov ds, ax
640 mov es, ax
658 mov word [es:bx + PKTHDR.status], 00100h ; done, ok.
670 mov word [es:bx + PKTHDR.status], 0810fh ; error, done, init failed.
674 mov word [es:bx + PKTHDR.status], 00100h ; done, ok.
676 mov byte [es:bx + PKTINITOUT.cUnits], 0
677 mov word [es:bx + PKTINITOUT.cbCode16], NAME(g_InitCodeStart) wrt CODE16
678 mov word [es:bx + PKTINITOUT.cbData16], NAME(g_InitDataStart) wrt DATA16
679 mov dword [es:bx + PKTINITOUT.fpaBPBs], 0
691 mov ax, [NAME(g_offLogTail)]
697 mov cx, [es:bx + PKTRW.cbTrans]
699 mov ax, [es:bx + PKTRW.PhysTrans + 2]
700 mov bx, [es:bx + PKTRW.PhysTrans]
701 mov dh, 1
702 mov dl, DevHlp_PhysToVirt
710 mov ax, [NAME(g_offLogTail)]
713 mov cx, [NAME(g_offLogHead)]
717 mov cx, LOG_SIZE
722 mov cx, bx ; output buffer is smaller than available data.
724 mov si, NAME(g_szLog)
730 mov [NAME(g_offLogTail)], ax ; commit the read.
735 mov word [es:bx + PKTRW.cbTrans], dx
736 mov word [es:bx + PKTHDR.status], 00100h ; done, ok.
749 mov word [es:bx + PKTHDR.status], 08103h ; error, done, unknown command.
756 mov word [es:bx + PKTHDR.status], 0810ch ; error, done, general failure.
763 mov sp, bp
781 mov word [es:bx + PKTHDR.status], 08103h ; error, done, unknown command.
797 mov ebp, esp
812 mov ax, DATA32 wrt FLAT
813 mov ds, ax
814 mov es, ax
824 mov cx, [ebp + 08h + 2]
825 mov ds, cx
828 mov dword [ebx + VBGOS2IDC.u32Version ], VMMDEV_VERSION
829 mov dword [ebx + VBGOS2IDC.u32Session ], eax
830 mov dword [ebx + VBGOS2IDC.pfnServiceEP ], NAME(VBoxGuestOS2IDCService)
831 mov word [ebx + VBGOS2IDC.fpfnServiceEP ], NAME(VBoxGuestOs2IDCService16) wrt CODE16
832 mov word [ebx + VBGOS2IDC.fpfnServiceEP + 2], CODE16
833 mov word [ebx + VBGOS2IDC.fpfnServiceAsmEP ], NAME(VBoxGuestOs2IDCService16Asm) wrt CODE16
834 mov word [ebx + VBGOS2IDC.fpfnServiceAsmEP+2],CODE16
836 mov ax, DATA32 wrt FLAT
837 mov ds, ax
881 mov ebp, esp
893 mov ax, DATA16
894 mov ds, ax
904 mov ax, [bp + 0eh + 2] ; selector
908 mov dl, DevHlp_VirtToLin
918 mov ecx, [bp + 08h]
926 mov ax, DATA32 wrt FLAT
927 mov ds, ax
928 mov es, ax
933 mov [esp + 14h], eax
951 mov cx, [esp + 18h]
953 mov word [es:bx], cx
968 mov ax, VERR_INVALID_POINTER
988 mov ebp, esp
993 mov [bp - 08h], word 0 ; bp - 08h (dw): cbDataReturned
995 mov [bp - 0eh], cx ; bp - 0eh (dw): cbData (NOTE: out of order to free up CX)
997 mov [bp - 0ah], cx
998 mov cx, ss
999 mov [bp - 0ch], cx
1000 mov [bp - 10h], bx ; bp - 10h (dd): pvData
1001 mov cx, es
1002 mov [bp - 12h], cx
1003 mov [bp - 14h], dl ; bp - 14h (dw): iFunction
1004 mov [bp - 13h], byte 0
1005 mov [bp - 18h], eax ; bp - 18h (dd): u32Session
1009 mov cx, [bp - 08h] ; cbDataReturned.
1011 mov edx, [bp - 4]
1012 mov esp, ebp
1031 mov ebp, esp
1049 mov ax, DATA32 wrt FLAT
1050 mov ds, ax
1051 mov es, ax
1056 mov ebx, eax
1084 mov al, [NAME(g_bInterruptLine)]
1085 mov dl, DevHlp_EIO
1114 mov ebp, esp
1126 mov ax, DATA16 ; for g_fpfnDevHlp.
1127 mov ds, ax
1128 mov ax, NAME(VBoxGuestOS2ISR16) ; The devhlp assume it's relative to DS.
1129 mov dh, 1 ; 1 = shared
1130 mov dl, DevHlp_SetIRQ
1148 mov ebx, eax
1150 mov eax, ebx
1183 mov ebp, esp
1201 mov eax, [es:bx + PKTINITIN.fpfnDevHlp]
1202 mov [NAME(g_fpfnDevHlp)], eax
1203 mov edx, [es:bx + PKTINITIN.fpszArgs]
1204 mov [g_fpszArgs], edx
1236 mov cx, [bp - 6]
1245 mov word [es:bx + PKTHDR.status], 00100h ; done, ok.
1246 mov byte [es:bx + PKTINITOUT.cUnits], 0
1247 mov word [es:bx + PKTINITOUT.cbCode16], NAME(g_InitCodeStart) wrt CODE16
1248 mov word [es:bx + PKTINITOUT.cbData16], NAME(g_InitDataStart) wrt DATA16
1249 mov dword [es:bx + PKTINITOUT.fpaBPBs], 0
1256 mov word [es:bx + PKTHDR.status], 0810fh ; error, done, init failed.
1257 mov byte [es:bx + PKTINITOUT.cUnits], 0
1258 mov word [es:bx + PKTINITOUT.cbCode16], 0
1259 mov word [es:bx + PKTINITOUT.cbData16], 0
1260 mov dword [es:bx + PKTINITOUT.fpaBPBs], 0
1267 mov word [es:bx + PKTHDR.status], 08103h ; error, done, unknown command.
1274 mov sp, bp
1287 mov ebp, esp
1294 mov ax, [g_fpszArgs + 2] ; selector
1295 mov dl, DevHlp_VirtToLin
1313 mov ax, DATA32 wrt FLAT
1314 mov ds, ax
1315 mov es, ax
1326 mov dx, seg NAME(g_fInitialized)
1327 mov ds, dx
1336 mov byte [NAME(g_fInitialized)], 1
1339 mov sp, bp
1352 mov bp, sp
1355 mov ax, [NAME(g_cchInitText)]
1363 mov cx, sp
1375 mov ax, DATA32 wrt FLAT
1376 mov ds, ax
1377 mov eax, g_pfnDos16Write wrt FLAT
1382 mov [NAME(g_fpfnDos16Write) + 2], ax ; Update the selector (in DATA16_INIT).
1392 mov si, NAME(g_MsgTab)
1393 mov dx, seg NAME(g_MsgTab)
1394 mov ds, dx
1395 mov dl, DevHlp_SAVE_MESSAGE
1402 mov word [NAME(g_cchInitText)], 0
1403 mov byte [NAME(g_szInitText)], 0
1406 mov sp, bp
1436 mov ebp, esp
1478 mov ax, [hfOpen] ; hDev
1497 mov di, '0'
1521 mov [abParm + 0], byte PCI_FIND_DEVICE ; 0 - db - SubFunction Number
1522 mov [abParm + 1], word VMMDEV_DEVICEID ; 1 - dw - Device ID
1523 mov [abParm + 3], word VBOX_PCI_VENDORID ; 3 - dw - Vendor ID
1524 mov [abParm + 5], byte 0 ; 5 - db - (Device) Index
1527 mov [abData + 0], dword 0
1529 mov di, '1'
1532 mov al, [abData + 1] ; 1 - db - Bus Number.
1533 mov [NAME(g_bPciBusNo)], al
1534 mov al, [abData + 2] ; 2 - db - DevFunc Number.
1535 mov [NAME(g_bPciDevFunNo)], al
1540 mov di, '2'
1541 mov ax, PCI_INTERRUPT_LINE | 0100h
1543 mov [NAME(g_bInterruptLine)], al
1548 mov di, '3'
1549 mov ax, PCI_BASE_ADDRESS_0 | 0400h
1551 mov di, '4'
1554 mov di, '5'
1558 mov [NAME(g_IOPortBase)], ax
1563 mov di, '6'
1564 mov ax, PCI_BASE_ADDRESS_1 | 0400h
1566 mov di, '7'
1570 mov [NAME(g_PhysMMIOBase)], eax
1593 mov cx, [hfOpen]
1606 mov esp, ebp
1623 mov ax, ds
1624 mov es, ax
1625 mov ax, di ; save the reason.
1626 mov di, NAME(g_szInitText)
1629 mov si, g_achLoadFailureMsg1
1630 mov cx, g_cchLoadFailureMsg1
1635 mov si, g_achLoadFailureMsg2
1636 mov cx, g_cchLoadFailureMsg2
1639 mov [di], byte 0
1641 mov [NAME(g_cchInitText)], di
1663 mov [abParm + 0], byte PCI_READ_CONFIG ; 0 - db - SubFunction Number
1664 mov dl, [NAME(g_bPciBusNo)]
1665 mov [abParm + 1], dl ; 1 - db - Bus Number
1666 mov dl, [NAME(g_bPciDevFunNo)]
1667 mov [abParm + 2], dl ; 2 - db - DevFunc Number
1668 mov [abParm + 3], al ; 3 - db - Configuration Register
1669 mov [abParm + 4], ah ; 4 - db - (Register) Size
1672 mov [abData + 0], dword 0
1673 mov [abData + 4], dword 0
1677 mov eax, [abData + 1] ; 1 - dd - Data