1 /* PR middle-end/7847 */
2 /* Originator: <jk@tools.de> */
5 /* This used to fail on SPARC at runtime because of
6 an unaligned memory access. */
11 typedef unsigned char uint8_t;
12 typedef unsigned short uint16_t;
13 typedef unsigned int uint32_t;
18 } __attribute__ ((packed
)) sml_agl_data_t
;
21 sml_agl_data_t data
[9];
22 } __attribute__ ((packed
)) sml_agli_t
;
26 } __attribute__ ((packed
)) dsi_t
;
33 int dvd_read_sector(dvd_priv_t
*d
, unsigned char* data
)
38 if ((skip
=d
->dsi_pack
.sml_agli
.data
[i
].address
) != 0)
46 static dvd_priv_t dvd_priv
;
47 dvd_read_sector(&dvd_priv
, 0);