Mail Archives: djgpp/1993/01/06/12:57:44
I have a question concerning unimplemented IOCTL subfunctions.
From $DJGPP/go32/exphdlr.c it can be seen, that the
subfunctions 2,3,4,5,C and D of INT 0x21, FUNC 0x44 (IOCTL)
are not implemented, as I assume because they need to transfer
data from the (protected mode) program area to the (real mode)
DOS program area, where the DOS interrupts are performed.
I have a commercial device driver for an IEEE card which needs
low-level initializations using the IOCTL subfunctions 2 and 3.
In my opinion, if the amount of bytes to be transfered is less
(or equal) than 4096 it would be relatively simple to add these
subfunctions to 'exphdlr.c'. (using memget() etc.)
Before applying a patch to 'go32' I would like to know if
anyone has a better suggestion to solve this sort of problem.
--
Pieter Kunst (kunst AT prl DOT philips DOT nl)
- Raw text -