kernel: print spurious interrupt message with increasing interval.
[minix.git] / include / arch / i386 / partition.h
blob2e270d004731b67b115497035e6bec131bcf1bcc
1 /* Description of entry in partition table. */
2 #ifndef _PARTITION_H
3 #define _PARTITION_H
5 struct part_entry {
6 unsigned char bootind; /* boot indicator 0/ACTIVE_FLAG */
7 unsigned char start_head; /* head value for first sector */
8 unsigned char start_sec; /* sector value + cyl bits for first sector */
9 unsigned char start_cyl; /* track value for first sector */
10 unsigned char sysind; /* system indicator */
11 unsigned char last_head; /* head value for last sector */
12 unsigned char last_sec; /* sector value + cyl bits for last sector */
13 unsigned char last_cyl; /* track value for last sector */
14 unsigned long lowsec; /* logical first sector */
15 unsigned long size; /* size of partition in sectors */
18 #define ACTIVE_FLAG 0x80 /* value for active in bootind field (hd0) */
19 #define NR_PARTITIONS 4 /* number of entries in partition table */
20 #define PART_TABLE_OFF 0x1BE /* offset of partition table in boot sector */
22 /* Partition types. */
23 #define NO_PART 0x00 /* unused entry */
24 #define MINIX_PART 0x81 /* Minix partition type */
26 #endif /* _PARTITION_H */