XENIX.. speed up of /dev/port .. (Getting the INODE)
Curt
curtj at pogo.GPID.TEK.COM
Fri Jan 6 10:00:36 AEST 1989
I thank you for the suggestion of (mknod /dev/port 4 3) to create a
device which I can talk to the I/O ports..
My current problem is this:
I have 1.2 Meg, to send down through an I/O port. Since
I have to to an 'lseek' every time I wish to send a byte down
to a specific port address, it takes an astronomical amount of
time to send the data.
Is there any way to cause READ/WRITE to NOT update the file
pointer address when you execute them. If not, HOW DO I GET
HOLD OF THE i-node so that I can reset the file pointer to the
proper address every time I issue a READ/WRITE.
I am trying to cut down the system call overhead.
----------------------------------------------------------------------
__ __ /| Curt Jutzi (Jutz) Tektronix Inc.
((__ \ \'o.O` tektronix!pogo!curtj Del. St. 63-356
\\ ! =(___)= (503) 685-3723 P.O. Box 1000
!!! U Wilsonville,OR 97070
o_OO \
(___, / ACK! PHHT!
___! !
/ .-! ! _) "Life's an adventure.. go for it."
(_/ _/ \_/ \ "Make America beautiful, eat your beer cans."
_( _( / "If time heals all wounds, how do you explain belly buttons?"
(_(__(____)
More information about the Comp.unix.xenix
mailing list