Re: Build 32 bit binaries on amd64

2012-08-23 Thread Konstantin Belousov
On Wed, Aug 22, 2012 at 10:09:27PM +0200, Tijl Coosemans wrote: On 21-08-2012 17:04, Dan McGregor wrote: My solution is certainly fairly hacky, I just took inspiration from NetBSD. I wanted to see if it could be done. While I was there I did identify several files that should be common

Re: Replace bcopy() to update ether_addr

2012-08-23 Thread Adrian Chadd
You can't assume the ethernet addresses will be aligned. For wifi headers you're definitely going to have at least one address be non-dword aligned, even if the header itself is dword aligned. The whole point of using a macro is so it becomes really easy to change the copy type at compile time.

Re: Replace bcopy() to update ether_addr

2012-08-23 Thread Bruce Evans
From owner-freebsd-...@freebsd.org Thu Aug 23 10:58:03 2012 Delivered-To: freebsd-...@freebsd.org Date: Wed, 22 Aug 2012 23:52:44 +0200 From: Luigi Rizzo ri...@iet.unipi.it To: John Baldwin j...@freebsd.org References: 50324db4.6080...@cabletv.dp.ua 201208220802.14588@freebsd.org

Re: Replace bcopy() to update ether_addr

2012-08-23 Thread Bruce Evans
luigi wrote: On Wed, Aug 22, 2012 at 03:21:06PM -0400, John Baldwin wrote: On Wednesday, August 22, 2012 2:54:07 pm Adrian Chadd wrote: On 22 August 2012 05:02, John Baldwin j...@freebsd.org wrote: On Tuesday, August 21, 2012 12:34:42 pm Adrian Chadd wrote: Hi, What about