Skip to content

__attribute__((packed)) doesn't work #3

@GoogleCodeExporter

Description

@GoogleCodeExporter
struct dma_transfer {
  unsigned short src_addr; /* 0 + 1 */
  unsigned char src_bank; /* 2 */
  unsigned short dest; /* 3 + 4 */
  unsigned short size; /* 5 + 6 */
  unsigned char type; /* 7 */
} __attribute__((packed));

This structure is 10 bytes instead of 8. (Is there a point in aligning
stuff on the 65816 at all?)

Original issue reported on code.google.com by ulrich.h...@gmail.com on 30 Jul 2009 at 7:59

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions