> Hi there,
>
> Is there a single blessed way to define packed structures
> for use in drivers? I suspect that using "#pragma pack(1)"
> will lead to alignment errors in non-Intel architectures.
gcc deals with it, certainly on alpha anyway. However, I don't think
anyone would ever bless using packed structures as it hurts memory
transfers.
I prefer the fix-it-up-when-I-need-it-packed approach :*)
> --
> Yar
--
Brian <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
http://www.freebsd-services.com/ <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour ! <brian@[uk.]OpenBSD.org>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message