20 |
|
|
21 |
#include "volume_id_internal.h" |
#include "volume_id_internal.h" |
22 |
|
|
23 |
struct hpfs_super |
struct hpfs_super { |
|
{ |
|
24 |
uint8_t magic[4]; |
uint8_t magic[4]; |
25 |
uint8_t version; |
uint8_t version; |
26 |
} __attribute__((__packed__)); |
} PACKED; |
27 |
|
|
28 |
#define HPFS_SUPERBLOCK_OFFSET 0x2000 |
#define HPFS_SUPERBLOCK_OFFSET 0x2000 |
29 |
|
|
30 |
int volume_id_probe_hpfs(struct volume_id *id, uint64_t off) |
int FAST_FUNC volume_id_probe_hpfs(struct volume_id *id, uint64_t off) |
31 |
{ |
{ |
32 |
struct hpfs_super *hs; |
struct hpfs_super *hs; |
33 |
|
|