root / lab4 / .minix-src / include / i386 / diskparm.h @ 14
History | View | Annotate | Download (458 Bytes)
1 |
/* PC (and AT) BIOS structure to hold disk parameters. Under Minix, it is
|
---|---|
2 |
* used mainly for formatting.
|
3 |
*/
|
4 |
|
5 |
#ifndef _DISKPARM_H
|
6 |
#define _DISKPARM_H
|
7 |
struct disk_parameter_s {
|
8 |
char spec1;
|
9 |
char spec2;
|
10 |
char motor_turnoff_sec;
|
11 |
char sector_size_code;
|
12 |
char sectors_per_cylinder;
|
13 |
char gap_length;
|
14 |
char dtl;
|
15 |
char gap_length_for_format;
|
16 |
char fill_byte_for_format;
|
17 |
char head_settle_msec;
|
18 |
char motor_start_eigth_sec;
|
19 |
}; |
20 |
#endif /* _DISKPARM_H */ |