24 |
uint8_t magic[8]; |
uint8_t magic[8]; |
25 |
uint32_t size; |
uint32_t size; |
26 |
uint32_t checksum; |
uint32_t checksum; |
27 |
uint8_t name[0]; |
uint8_t name[]; |
28 |
} __attribute__((__packed__)); |
} PACKED; |
29 |
|
|
30 |
int volume_id_probe_romfs(struct volume_id *id, uint64_t off) |
int FAST_FUNC volume_id_probe_romfs(struct volume_id *id /*,uint64_t off*/) |
31 |
{ |
{ |
32 |
|
#define off ((uint64_t)0) |
33 |
struct romfs_super *rfs; |
struct romfs_super *rfs; |
34 |
|
|
35 |
dbg("probing at offset 0x%llx", (unsigned long long) off); |
dbg("probing at offset 0x%llx", (unsigned long long) off); |