6b13f685e
김민수
BSP 최초 추가
|
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
#ifndef _DISK_PART_MAC_H
#define _DISK_PART_MAC_H
#define MAC_DRIVER_MAGIC 0x4552
typedef struct mac_driver_desc {
__u16 signature;
__u16 blk_size;
__u32 blk_count;
__u16 dev_type;
__u16 dev_id;
__u32 data;
__u16 drvr_cnt;
__u16 drvr_map[247];
} mac_driver_desc_t;
typedef struct mac_driver_entry {
__u32 block;
__u16 size;
__u16 type;
} mac_driver_entry_t;
#define MAC_PARTITION_MAGIC 0x504d
#define APPLE_AUX_TYPE "Apple_UNIX_SVR2"
typedef struct mac_partition {
__u16 signature;
__u16 sig_pad;
__u32 map_count;
__u32 start_block;
__u32 block_count;
uchar name[32];
uchar type[32];
__u32 data_start;
__u32 data_count;
__u32 status;
__u32 boot_start;
__u32 boot_size;
__u32 boot_load;
__u32 boot_load2;
__u32 boot_entry;
__u32 boot_entry2;
__u32 boot_cksum;
uchar processor[16];
__u16 part_pad[188];
#ifdef CONFIG_ISO_PARTITION
uchar iso_dummy[2048];
#endif
} mac_partition_t;
#define MAC_STATUS_BOOTABLE 8 /* partition is bootable */
#endif /* _DISK_PART_MAC_H */
|