blob: e1d0a3830e8ba816cf908734487004e1a89969e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
/*
* fs/partitions/acorn.h
*
* Copyright (C) 1996-1998 Russell King
*/
#include <linux/adfs_fs.h>
/*
* Partition types. (Oh for reusability)
*/
#define PARTITION_RISCIX_MFM 1
#define PARTITION_RISCIX_SCSI 2
#define PARTITION_LINUX 9
struct riscix_part {
__u32 start;
__u32 length;
__u32 one;
char name[16];
};
struct riscix_record {
__u32 magic;
#define RISCIX_MAGIC (0x4a657320)
__u32 date;
struct riscix_part part[8];
};
#define LINUX_NATIVE_MAGIC 0xdeafa1de
#define LINUX_SWAP_MAGIC 0xdeafab1e
struct linux_part {
__u32 magic;
__u32 start_sect;
__u32 nr_sects;
};
struct ics_part {
__u32 start;
__s32 size;
};
struct ptec_partition {
__u32 unused1;
__u32 unused2;
__u32 start;
__u32 size;
__u32 unused5;
char type[8];
};
int acorn_partition(struct gendisk *hd, kdev_t dev,
unsigned long first_sect, int first_minor);
|