testDriver.h
2.3 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/**************************************************************************
* *
* Copyright (C) 1996 Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
*************************************************************************/
/*
* File: testDriver.h
* Creator: hal@sgi.com
* Purpose: Declarations & definitions common across test modules
*
*/
typedef struct {
char presswait; /* sasano added */
int ((*pTestFunction)()); /* pointer to test to be invoked */
char gngMessageText[1024]; /* text to be printed out on PASS or FAIL */
int testFlags; /* to control gng messaging, nmiEntry, etc... */
int retraceCount; /* amount of time to delay after gng message */
int testNumber; /* numerical test number; display on LED & TV */
} Test_t;
/*
* External test declarations
*/
extern int dlDriver(void);
extern int audMain(void);
extern int uji_diags(void);
extern int piAllTest(void);
extern int pifCheck(void);
extern int nmitest_phase1(void);
extern int nmitest_phase2(void);
extern int clocktest(void);
extern int intr1test(void);
extern int RunViTests(void);
extern int VoltageTest(void);
extern int ResetTimeTest(void);
extern int ControllerTest(void);
extern int rsp(void);
extern int CpuTest(void);
extern int rdramTest(void);
extern int chk50PReadWrite(void);
extern int chk50PExtjoy(void);
extern int AD16_LatchTest1(void);
extern int AD16_LatchTest2(void);
extern int AD16_LatchTest(u32);
extern int DummyTest(void); /* sasano added */
extern int ContTest(void); /* sasano added */
extern int WaveOutput(void);
extern int music44100(void);
extern int music32000(void);
extern int music22050(void);
extern void presstonext(void);
extern int Jumptime(void);
extern int Int1Check( void ); /* debug */