4 Copyright (c) Eicon Networks, 2002.
6 This source file is supplied for the use with
7 Eicon Networks range of DIVA Server Adapters.
9 Eicon File Revision : 2.1
11 This program is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2, or (at your option)
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY OF ANY KIND WHATSOEVER INCLUDING ANY
18 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19 See the GNU General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software
23 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 #ifdef PLATFORM_GT_32BIT
27 /* #define POINTER_32BIT byte * __ptr32 */
28 #define POINTER_32BIT dword
30 #define POINTER_32BIT byte *
32 #if !defined(MIPS_SCOM)
34 #define MAINT_OFFS 0x380
38 #define MAINT_OFFS 0xef00
40 #define MAINT_OFFS 0xff00
43 #define MIPS_BUFFER_SZ 128
45 #define MIPS_MAINT_OFFS 0xef00
47 #define MIPS_MAINT_OFFS 0xff00
61 #define BL1_STATS_C 13
62 #define GET_VERSION 14
64 #define XLOG_SET_MASK 16
65 #define XLOG_GET_MASK 17
69 #define MORE_EVENTS 0xfe
106 struct DSigStruc DSigStats
;
107 struct BL1Struc BL1Stats
;
108 struct L2Struc L2Stats
;
109 struct OSStruc OSStats
;
111 word w
[BUFFER_SZ
>> 1];
112 word l
[BUFFER_SZ
>> 2]; /* word is wrong, do not use! Use 'd' instead. */
113 dword d
[BUFFER_SZ
>> 2];
117 struct DSigStruc DSigStats
;
118 struct BL1Struc BL1Stats
;
119 struct L2Struc L2Stats
;
120 struct OSStruc OSStats
;
121 byte b
[MIPS_BUFFER_SZ
];
122 word w
[MIPS_BUFFER_SZ
>> 1];
123 word l
[BUFFER_SZ
>> 2]; /* word is wrong, do not use! Use 'd' instead. */
124 dword d
[MIPS_BUFFER_SZ
>> 2];
126 #if !defined(MIPS_SCOM)
142 byte reserved
[2]; /* R3000 alignment ... */
146 byte fill
[4]; /* data at offset 16 */
154 byte reserved
[2]; /* R3000 alignment ... */
158 byte fill
[4]; /* data at offset 16 */