Changeset 6387c18 in mainline for kernel/generic/include/lib/rd.h
- Timestamp:
- 2008-05-30T14:54:33Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8c7294c6
- Parents:
- afb1e35
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/lib/rd.h
rafb1e35 r6387c18 67 67 68 68 /** RAM disk header */ 69 typedef struct{69 struct rd_header { 70 70 uint8_t magic[RD_MAGIC_SIZE]; 71 71 uint8_t version; … … 73 73 uint32_t header_size; 74 74 uint64_t data_size; 75 } rd_header;75 } __attribute__ ((packed)); 76 76 77 extern int init_rd(rd_header * addr, size_t size); 77 typedef struct rd_header rd_header_t; 78 79 extern int init_rd(rd_header_t *addr, size_t size); 78 80 79 81 #endif
Note:
See TracChangeset
for help on using the changeset viewer.