1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI_ADFS_FS_H
3 #define _UAPI_ADFS_FS_H
5 #include <linux/types.h>
6 #include <linux/magic.h>
9 * Disc Record at disc address 0xc00
11 struct adfs_discrecord
{
28 __le32 disc_size_high
;
35 __le32 format_version
;
37 __u8 unused52
[60 - 52];
38 } __attribute__((packed
, aligned(4)));
40 #define ADFS_DISCRECORD (0xc00)
41 #define ADFS_DR_OFFSET (0x1c0)
42 #define ADFS_DR_SIZE 60
43 #define ADFS_DR_SIZE_BITS (ADFS_DR_SIZE << 3)
45 #endif /* _UAPI_ADFS_FS_H */