[coreboot] [PATCH] Add VIA VT8237S support

Stefan Reinauer stepan at coresystems.de
Wed Sep 10 22:37:03 CEST 2008


ron minnich wrote:
> not sure where this is, but why are we using packed anyway? it's just
> asking for trouble.
>   
Because without packed you can not use structs to describe hardware.

GCC is allowed to change the alignment of struct members at will. And it
does.

Just curious:
Why would you say packed is asking for trouble?




-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866





More information about the coreboot mailing list