On Monday 31 May 2010 00:19:55 Kostik Belousov wrote: Hi,
> Doesn't this change the existing ABI for 32bit platforms ? Yes, it changes the ABI. > > You may take a look at the sys/net/bpf.c, where the similar > issue is handled for bpf ioctls. To keep the ABI intact, you > would need to define the 32bit ABI structures and define > compat ioctls, then handle the ioctls by converting the structures > and calling the native handler. BIOCSRTIMEOUT32 is a good example. > The problem in the case of USB is that we have to resolve "void **" and not only "void *", in which case your solution would work. This is the case to reduce the copying between the kernel and user-space. --HPS _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"