File: bsect.h

package info (click to toggle)
chos 0.82-2
  • links: PTS
  • area: non-free
  • in suites: slink
  • size: 1,024 kB
  • ctags: 968
  • sloc: ansic: 4,180; asm: 2,103; tcl: 1,976; makefile: 152; sh: 79
file content (26 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * include/bsect.h
 *
 * structure of the bootsector.
 *
 * Copyright (c) Tuomo Valkonen 1996-1998.
 */

#ifndef _CHOS_BSECT_H
#define _CHOS_BSECT_H

typedef struct{
	char	code[2];
	char	id[3];
	char	type;
	char	major,minor;
	char	stage2_drive;
	char	map_drive;
	char	emerg_drive;
	char	pad;
	ulong	stage2_sects[STAGE2SECTS];
	ulong	map_sects[2];
	ulong	emerg_sect;
}ChosBsect;

#endif