OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-m68k/] [atari_rootsec.h] - Blame information for rev 1777

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
#ifndef _LINUX_ATARI_ROOTSEC_H
2
#define _LINUX_ATARI_ROOTSEC_H
3
 
4
/*
5
 * linux/include/linux/atari_rootsec.h
6
 * definitions for Atari Rootsector layout
7
 * by Andreas Schwab (schwab@ls5.informatik.uni-dortmund.de)
8
 *
9
 * modified for ICD/Supra partitioning scheme restricted to at most 12
10
 * partitions
11
 * by Guenther Kelleter (guenther@pool.informatik.rwth-aachen.de)
12
 */
13
 
14
struct partition_info
15
{
16
  u_char flg;                   /* bit 0: active; bit 7: bootable */
17
  char id[3];                   /* "GEM", "BGM", "XGM", or other */
18
  u_long st;                    /* start of partition */
19
  u_long siz;                   /* length of partition */
20
};
21
 
22
struct rootsector
23
{
24
  char unused[0x156];           /* room for boot code */
25
  struct partition_info icdpart[8];     /* info for ICD-partitions 5..12 */
26
  char unused2[0xc];
27
  u_long hd_siz;                /* size of disk in blocks */
28
  struct partition_info part[4];
29
  u_long bsl_st;                /* start of bad sector list */
30
  u_long bsl_cnt;               /* length of bad sector list */
31
  u_short checksum;             /* checksum for bootable disks */
32
};
33
 
34
#endif /* _LINUX_ATARI_ROOTSEC_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.