Read through Filter Scheme Driver
Read through Filter Scheme Driver
- Subject: Read through Filter Scheme Driver
- From: "Imran Kazi " <email@hidden>
- Date: Tue, 10 May 2005 19:18:42 +0530
Hi All,
We are facing problem with read operation on disk through
filter scheme driver. We have successfully done write on disk from User space
application to Userclient and then to disk through driver.
Now we are trying to read the data on disk following the
same path. But even after trying hard we are unsuccessful. Can any one tell us
in brief that do we need to create pointer to IOMemoryDescriptor in driver and
the do vm_allocate that buffer followed by prepare() and map().
If we do prepare to IOMemoryDescriptor’s pointer then
it crashes the system while calling prepare() and if we do not prepare the
memory and pass it to driver it does not read anything from the disk.
We are using the standard API of IOStorage class to read
from disk
read(IOService*, IOByteCount, IOMemoryDescriptor*,
IOCompletion );
Do any one has done this earlier?
Thanks
Imran
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden