[Ilugc] Kernel struct info

  • From: raja.mallik@xxxxxxxxxxx (Raja Mallik)
  • Date: Tue Jan 11 13:26:47 2005

Hi all, 

Kernel maintains a structure that can be operate by READ/WRITE
operations by user application.

For eg : SET1[5] = {10, 11,12,13,14,}
         SET2[5] = { 0, 1,  2, 3, 4}

         GET1[5] = {21, 22, 23, 24, 25};
         GET2[5] = {0,  1, 2, 3, 4};

1)User will pass any of the GET2 array to get the values on the
structure.(device_read)
2)user will pass any of the SET2 array to set the values on the
structure.( device_write)

I am looking for a mechanism as to how to store these GET1 and SET1 values in 
kernel modules.
Is there any standard structure that can used? kindly shoot your
reference!

Thanks
Raja Mallik 



   

Other related posts: