File: defs.h

package info (click to toggle)
memtest86%2B 5.01-3.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 1,364 kB
  • sloc: ansic: 18,486; asm: 1,805; makefile: 239; sh: 127
file content (26 lines) | stat: -rw-r--r-- 991 bytes parent folder | download | duplicates (5)
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
/* defs.h - MemTest-86 Version 3.3
 * assembler/compiler definitions
 *
 * Released under version 2 of the Gnu Public License.
 * By Chris Brady
 */ 

#define SETUPSECS	4		/* Number of setup sectors */

/*
 * Caution!! There is magic in the build process.  Read
 * README.build-process before you change anything.  
 * Unlike earlier versions all of the settings are in defs.h
 * so the build process should be more robust.
 */
#define LOW_TEST_ADR	0x00010000		/* Final adrs for test code */

#define BOOTSEG		0x07c0			/* Segment adrs for inital boot */
#define INITSEG		0x9000			/* Segment adrs for relocated boot */
#define SETUPSEG	(INITSEG+0x20)		/* Segment adrs for relocated setup */
#define TSTLOAD		0x1000			/* Segment adrs for load of test */

#define KERNEL_CS	0x10			/* 32 bit segment adrs for code */
#define KERNEL_DS	0x18			/* 32 bit segment adrs for data */
#define REAL_CS		0x20			/* 16 bit segment adrs for code */
#define REAL_DS		0x28			/* 16 bit segment adrs for data */