Re: cbuf implementation
"Axel Dörfler" <[email protected]>
| Newsgroups | gmane.os.openbeos.kernel.devel |
|---|---|
| Message-ID | <2734215326-BeMail@zon> |
Jérôme Duval <[email protected]> wrote: > mouse driver is working on Haiku. In fact, I added an offset to the > mouse driver to avoid first byte overwriting. > I'm adding the mouse addon to makehdimage too. > > Anyway this is a hack, as we need what you describe. So feel free to > do > the right thing :) I did, but thanks for the hack in the mean time :-) BTW my change broke R5 compatibility of the driver - if someone is still interested in this for testing, you probably should have a look at packet_buffer.h and translate these via the cbuf_adapter.h. Also user_memcpy() is used now by the drivers which can be exchanged with a simple memcpy() (also via macro), even if that's also unsafe under R5. Bye, Axel. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click