[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: file/device i/o in the kernel



Hello Prav,

+   So what u have to do is to force the kernel, to make it point to kernel
+ data segment before invoking the system call. U can make use of  set_fs and
+ get_fs .

Yeah, i've already done that.

+ 
+   Any how this not a good way at all. ..
+  Best way, export the functions defined in tty_io.c and access them
+ directly.

Well, i just thought there would be some better way, other than what i was
doing above. I have seen into serial.c and tty_io.c and i wanted to use
those, but i was warned against doing that in this very list :)

Sharad.