From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <000a01c3165c$eaeeb2a0$d3944251@SOMA> From: "boyd, rounin" To: <9fans@cse.psu.edu> References: <20030507053411.GZ36080@cassie.foobarbaz.net> <20030507054149.GA36080@cassie.foobarbaz.net> Subject: Re: [9fans] struct problems MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Date: Thu, 8 May 2003 09:30:01 +0200 Topicbox-Message-UUID: a6923478-eacb-11e9-9e20-41e7f4b1d025 Christopher Nielsen" > Doh! I should know that bit fields aren't portable. it's worse than that, a 32 bit int access on a 16 bit device register _may_ get 'optimised' into an 'extract field' instruction which then causes a kernel mode fault. iirc the 8th Ed TU16 driver ... 750/780 porting issue. -- The Beretta 92FS -- don't leave home without it ...