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: Mon, 8 Aug 2005 19:44:37 +0530
Hi,
Hey, I found the previous problem is due to copyin and copyout kernel copy functions in the driver, the way it defined in Tiger is different.
On Mac OS X 10.1 , defined as follows
int copyin(const void *uaddr, void *kaddr, size_t len);
int copyout(const void *kaddr,
void *uaddr, size_t len);
But it is defined on Tiger as follows
int copyin(const user_addr_t uaddr, void *kaddr, size_t len);
int copyout(const void *kaddr, user_addr_t
udaddr, size_t len);
Now, My problem is I don't have option to copy void * to void *, which is very important in my driver, why they removed such a beautiful option?
Is there any other new functions are available?
Is it possible to use same functions, then can any one have example to use of them?
Thank you
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