2 * Declare directives for structure packing. No padding will be provided
3 * between the members of packed structures, and therefore, there is no
4 * guarantee that structure members will be aligned.
6 * Declaring packed structures is compiler specific. In order to handle all
7 * cases, packed structures should be delared as:
9 * #include <packed_section_start.h>
11 * typedef BWL_PRE_PACKED_STRUCT struct foobar_t {
12 * some_struct_members;
13 * } BWL_POST_PACKED_STRUCT foobar_t;
15 * #include <packed_section_end.h>
18 * $Copyright Open Broadcom Corporation$
19 * $Id: packed_section_end.h 241182 2011-02-17 21:50:03Z $
24 #ifdef BWL_PACKED_SECTION
25 #undef BWL_PACKED_SECTION
27 #error "BWL_PACKED_SECTION is NOT defined!"
34 #undef BWL_PRE_PACKED_STRUCT
35 #undef BWL_POST_PACKED_STRUCT