OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [hwtests/] [xcptest/] [start.h] - Blame information for rev 204

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 14 hellwig
/*
2
 * start.h -- startup and support routines
3
 */
4
 
5
 
6
#ifndef _START_H_
7
#define _START_H_
8
 
9
 
10
typedef struct {
11
  Word reg[32];                 /* general purpose registers */
12
  Word psw;                     /* PSW */
13
  Word tlbIndex;                /* TLB index register */
14
  Word tlbHi;                   /* TLB EntryHi register */
15
  Word tlbLo;                   /* TLB EntryLo register */
16 80 hellwig
  Word badAddr;                 /* bad address register */
17 14 hellwig
} InterruptContext;
18
 
19
 
20
int cin(void);
21
void cout(char c);
22
 
23
void xtest1(InterruptContext *icp);
24
extern Word xtest1x;
25
void xtest2(InterruptContext *icp);
26
extern Word xtest2x;
27
void xtest3(InterruptContext *icp);
28
extern Word xtest3x;
29
void xtest4(InterruptContext *icp);
30
extern Word xtest4x;
31
void xtest5(InterruptContext *icp);
32
extern Word xtest5x;
33
void xtest6(InterruptContext *icp);
34
extern Word xtest6x;
35
void xtest7(InterruptContext *icp);
36
extern Word xtest7x;
37
void xtest8(InterruptContext *icp);
38
extern Word xtest8x;
39
void xtest9(InterruptContext *icp);
40
extern Word xtest9x;
41
void xtest10(InterruptContext *icp);
42
extern Word xtest10x;
43
void xtest11(InterruptContext *icp);
44
extern Word xtest11x;
45
void xtest12(InterruptContext *icp);
46
extern Word xtest12x;
47
void xtest13(InterruptContext *icp);
48
extern Word xtest13x;
49
void xtest14(InterruptContext *icp);
50
extern Word xtest14x;
51
void xtest15(InterruptContext *icp);
52
extern Word xtest15x;
53
void xtest16(InterruptContext *icp);
54
extern Word xtest16x;
55
void xtest17(InterruptContext *icp);
56
extern Word xtest17x;
57
void xtest18(InterruptContext *icp);
58
extern Word xtest18x;
59
void xtest19(InterruptContext *icp);
60
extern Word xtest19x;
61
void xtest20(InterruptContext *icp);
62
extern Word xtest20x;
63
void xtest21(InterruptContext *icp);
64
extern Word xtest21x;
65
void xtest22(InterruptContext *icp);
66
extern Word xtest22x;
67
void xtest23(InterruptContext *icp);
68
extern Word xtest23x;
69
void xtest24(InterruptContext *icp);
70
extern Word xtest24x;
71
void xtest25(InterruptContext *icp);
72
extern Word xtest25x;
73
void xtest26(InterruptContext *icp);
74
extern Word xtest26x;
75
void xtest27(InterruptContext *icp);
76
extern Word xtest27x;
77
void xtest28(InterruptContext *icp);
78
extern Word xtest28x;
79
void xtest29(InterruptContext *icp);
80
extern Word xtest29x;
81
void xtest30(InterruptContext *icp);
82
extern Word xtest30x;
83
void xtest31(InterruptContext *icp);
84
extern Word xtest31x;
85
void xtest32(InterruptContext *icp);
86
extern Word xtest32x;
87
void xtest33(InterruptContext *icp);
88
extern Word xtest33x;
89
void xtest34(InterruptContext *icp);
90
extern Word xtest34x;
91
void xtest35(InterruptContext *icp);
92
extern Word xtest35x;
93
void xtest36(InterruptContext *icp);
94
extern Word xtest36x;
95
void xtest37(InterruptContext *icp);
96
extern Word xtest37x;
97
 
98
Word getTLB_HI(int index);
99
Word getTLB_LO(int index);
100
void setTLB(int index, Word entryHi, Word entryLo);
101
 
102
 
103
#endif /* _START_H_ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.