Re: Mac OS X 10.4 (Tiger) compilation errors ( GCC v3.3 ) with X Code 2.0 tool
Re: Mac OS X 10.4 (Tiger) compilation errors ( GCC v3.3 ) with X Code 2.0 tool
- Subject: Re: Mac OS X 10.4 (Tiger) compilation errors ( GCC v3.3 ) with X Code 2.0 tool
- From: Karunakar Reddy G <email@hidden>
- Date: Tue, 9 Aug 2005 17:36:28 +0530
Hi,
Thanx for previous help,
I do know how to handle user address to use on copyin/copyout functions.
I did in this way, it works fine, may be dirty type casting (some what double pointer type)
user_addr_t user_buffer = (user_addr_t) foo;
where "foo" is void * I/O input structure (32 bit pointer) passed as a argument from user application
Karunakar
On 8/9/05, Karunakar Reddy G <email@hidden> wrote:
Thank you Andrew, Terry.
Can you give some example how to use of them, as I am facing problem using structures,
In my case structure pointer comes from the application to driver , previously I handled using void *.
How to handle now since I cannot convet them as user_addr_t to use for copyin() and copyout() functions.
Regards,
Karunakar
_______________________________________________
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