blob: 8acc8c6fabbf7e7bc25a806830a63eaefe7edf81 [file] [log] [blame]
Dan Albert287553d2017-02-16 10:47:51 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _UAPI_ADFS_FS_H
20#define _UAPI_ADFS_FS_H
21#include <linux/types.h>
22#include <linux/magic.h>
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24struct adfs_discrecord {
25 __u8 log2secsize;
26 __u8 secspertrack;
27 __u8 heads;
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 __u8 density;
30 __u8 idlen;
31 __u8 log2bpmb;
32 __u8 skew;
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 __u8 bootoption;
35 __u8 lowsector;
36 __u8 nzones;
37 __le16 zone_spare;
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 __le32 root;
40 __le32 disc_size;
41 __le16 disc_id;
42 __u8 disc_name[10];
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 __le32 disc_type;
45 __le32 disc_size_high;
46 __u8 log2sharesize:4;
47 __u8 unused40:4;
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 __u8 big_flag:1;
50 __u8 unused41:1;
51 __u8 nzones_high;
52 __le32 format_version;
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 __le32 root_size;
55 __u8 unused52[60 - 52];
56};
57#define ADFS_DISCRECORD (0xc00)
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59#define ADFS_DR_OFFSET (0x1c0)
60#define ADFS_DR_SIZE 60
61#define ADFS_DR_SIZE_BITS (ADFS_DR_SIZE << 3)
62#endif
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */