- Timestamp:
- Jul 17, 2008 3:05:47 PM (16 years ago)
- Location:
- trunk/src/VBox/HostDrivers/Support/os2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/os2/SUPDrv-os2.cpp
r10722 r10729 229 229 230 230 231 DECLASM(int) VBoxDrvIOCtlFast(uint16_t sfn, uint8_t iFunction , int32_t *prc)231 DECLASM(int) VBoxDrvIOCtlFast(uint16_t sfn, uint8_t iFunction) 232 232 { 233 233 /* -
trunk/src/VBox/HostDrivers/Support/os2/SUPDrvA-os2.asm
r10256 r10729 314 314 ; 315 315 ; Fast IOCtl. 316 ; DECLASM(int) VBoxDrvIOCtlFast(uint16_t sfn, uint8_t iFunction , uint16_t *pcbParm)316 ; DECLASM(int) VBoxDrvIOCtlFast(uint16_t sfn, uint8_t iFunction) 317 317 ; 318 318 VBoxDrvEP_GenIOCtl_Fast: 319 mov ax, [es:bx + PKTIOCTL.pData + 2] ; LDT selector to flat address.320 shr ax, 3321 shl eax, 16322 mov ax, [es:bx + PKTIOCTL.pData]323 push eax ; 08h - pointer to the rc buffer.324 325 319 ; function. 326 320 movzx edx, byte [es:bx + PKTIOCTL.fun] … … 367 361 368 362 ; setup output stuff. 369 mov edx, esp 370 mov eax, [ss:edx + 0ch] ; output sizes. 363 xor eax, eax 371 364 mov [es:bx + PKTIOCTL.cbParm], eax ; update cbParm and cbData. 372 365 mov word [es:bx + PKTHDR.status], 00100h ; done, ok.
Note:
See TracChangeset
for help on using the changeset viewer.