In message <[EMAIL PROTECTED]> "David O'Brien" writes: : It is best to order this from largest to smallest size if you are worried : about alignment holes, etc. : : int64_t d; /* 8-byte boundary */ : int32_t c; /* 4-byte boundary */ : int32_t f; /* 4-byte boundary */ : int16_t a; : int16_t b; : int8_t e[4]; unfortunately, there are many device structures that are passed around via DMA and hte like that don't let you do this... Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- Re: Driver structures & alignment Brian Somers
- Re: Driver structures & alignment Mike Smith
- Re: Driver structures & alignment Yar Tikhiy
- Re: Driver structures & alignment Terry Lambert
- Re: Driver structures & alignment Peter Wemm
- Re: Driver structures & alignment Andrew Gallatin
- Re: Driver structures & alignment Mike Smith
- Re: Driver structures & alignment Warner Losh
- Re: Driver structures & alignment Mike Smith
- Re: Driver structures & alignment David O'Brien
- Re: Driver structures & alignment Warner Losh
- Re: Driver structures & alignment David O'Brien
- Re: Driver structures & alignment Drew Eckhardt
- Re: Driver structures & alignment Warner Losh