![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 /* 0003 * fs/partitions/mac.h 0004 */ 0005 0006 #define MAC_PARTITION_MAGIC 0x504d 0007 0008 /* type field value for A/UX or other Unix partitions */ 0009 #define APPLE_AUX_TYPE "Apple_UNIX_SVR2" 0010 0011 struct mac_partition { 0012 __be16 signature; /* expected to be MAC_PARTITION_MAGIC */ 0013 __be16 res1; 0014 __be32 map_count; /* # blocks in partition map */ 0015 __be32 start_block; /* absolute starting block # of partition */ 0016 __be32 block_count; /* number of blocks in partition */ 0017 char name[32]; /* partition name */ 0018 char type[32]; /* string type description */ 0019 __be32 data_start; /* rel block # of first data block */ 0020 __be32 data_count; /* number of data blocks */ 0021 __be32 status; /* partition status bits */ 0022 __be32 boot_start; 0023 __be32 boot_size; 0024 __be32 boot_load; 0025 __be32 boot_load2; 0026 __be32 boot_entry; 0027 __be32 boot_entry2; 0028 __be32 boot_cksum; 0029 char processor[16]; /* identifies ISA of boot */ 0030 /* there is more stuff after this that we don't need */ 0031 }; 0032 0033 #define MAC_STATUS_BOOTABLE 8 /* partition is bootable */ 0034 0035 #define MAC_DRIVER_MAGIC 0x4552 0036 0037 /* Driver descriptor structure, in block 0 */ 0038 struct mac_driver_desc { 0039 __be16 signature; /* expected to be MAC_DRIVER_MAGIC */ 0040 __be16 block_size; 0041 __be32 block_count; 0042 /* ... more stuff */ 0043 }; 0044
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |