![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 /* 0003 * fs/partitions/atari.h 0004 * Moved by Russell King from: 0005 * 0006 * linux/include/linux/atari_rootsec.h 0007 * definitions for Atari Rootsector layout 0008 * by Andreas Schwab (schwab@ls5.informatik.uni-dortmund.de) 0009 * 0010 * modified for ICD/Supra partitioning scheme restricted to at most 12 0011 * partitions 0012 * by Guenther Kelleter (guenther@pool.informatik.rwth-aachen.de) 0013 */ 0014 0015 #include <linux/compiler.h> 0016 0017 struct partition_info 0018 { 0019 u8 flg; /* bit 0: active; bit 7: bootable */ 0020 char id[3]; /* "GEM", "BGM", "XGM", or other */ 0021 __be32 st; /* start of partition */ 0022 __be32 siz; /* length of partition */ 0023 }; 0024 0025 struct rootsector 0026 { 0027 char unused[0x156]; /* room for boot code */ 0028 struct partition_info icdpart[8]; /* info for ICD-partitions 5..12 */ 0029 char unused2[0xc]; 0030 u32 hd_siz; /* size of disk in blocks */ 0031 struct partition_info part[4]; 0032 u32 bsl_st; /* start of bad sector list */ 0033 u32 bsl_cnt; /* length of bad sector list */ 0034 u16 checksum; /* checksum for bootable disks */ 0035 } __packed; 0036
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |