| 1 |
|
| 2 | |
| 3 | * fs/partitions/atari.h
|
| 4 | * Moved by Russell King from:
|
| 5 | *
|
| 6 | * linux/include/linux/atari_rootsec.h
|
| 7 | * definitions for Atari Rootsector layout
|
| 8 | * by Andreas Schwab ([email protected])
|
| 9 | *
|
| 10 | * modified for ICD/Supra partitioning scheme restricted to at most 12
|
| 11 | * partitions
|
| 12 | * by Guenther Kelleter ([email protected])
|
| 13 |
|
| 14 |
|
| 15 | #include <linux/compiler.h>
|
| 16 |
|
| 17 | struct partition_info
|
| 18 | {
|
| 19 | u8 flg;
|
| 20 | char id[3];
|
| 21 | __be32 st;
|
| 22 | __be32 siz;
|
| 23 | };
|
| 24 |
|
| 25 | struct rootsector
|
| 26 | {
|
| 27 | char unused[0x156];
|
| 28 | struct partition_info icdpart[8];
|
| 29 | char unused2[0xc];
|
| 30 | u32 hd_siz;
|
| 31 | struct partition_info part[4];
|
| 32 | u32 bsl_st;
|
| 33 | u32 bsl_cnt;
|
| 34 | u16 checksum;
|
| 35 | } __packed;
|
| 36 |
|