1 |
578 |
markom |
/* dbg_conf.h -- ARMulator debug interface: ARM6 Instruction Emulator.
|
2 |
|
|
Copyright (C) 1994 Advanced RISC Machines Ltd.
|
3 |
|
|
|
4 |
|
|
This program is free software; you can redistribute it and/or modify
|
5 |
|
|
it under the terms of the GNU General Public License as published by
|
6 |
|
|
the Free Software Foundation; either version 2 of the License, or
|
7 |
|
|
(at your option) any later version.
|
8 |
|
|
|
9 |
|
|
This program is distributed in the hope that it will be useful,
|
10 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12 |
|
|
GNU General Public License for more details.
|
13 |
|
|
|
14 |
|
|
You should have received a copy of the GNU General Public License
|
15 |
|
|
along with this program; if not, write to the Free Software
|
16 |
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
17 |
|
|
|
18 |
|
|
#ifndef Dbg_Conf__h
|
19 |
|
|
|
20 |
|
|
#define Dbg_Conf__h
|
21 |
|
|
|
22 |
|
|
typedef struct Dbg_ConfigBlock
|
23 |
|
|
{
|
24 |
|
|
int bytesex;
|
25 |
|
|
long memorysize;
|
26 |
|
|
int serialport; /*) remote connection parameters */
|
27 |
|
|
int seriallinespeed; /*) (serial connection) */
|
28 |
|
|
int parallelport; /*) ditto */
|
29 |
|
|
int parallellinespeed; /*) (parallel connection) */
|
30 |
|
|
int processor; /* processor the armulator is to emulate (eg ARM60) */
|
31 |
|
|
int rditype; /* armulator / remote processor */
|
32 |
|
|
int drivertype; /* parallel / serial / etc */
|
33 |
|
|
char const *configtoload;
|
34 |
|
|
int flags;
|
35 |
|
|
}
|
36 |
|
|
Dbg_ConfigBlock;
|
37 |
|
|
|
38 |
|
|
#define Dbg_ConfigFlag_Reset 1
|
39 |
|
|
|
40 |
|
|
typedef struct Dbg_HostosInterface Dbg_HostosInterface;
|
41 |
|
|
/* This structure allows access by the (host-independent) C-library support
|
42 |
|
|
module of armulator or pisd (armos.c) to host-dependent functions for
|
43 |
|
|
which there is no host-independent interface. Its contents are unknown
|
44 |
|
|
to the debugger toolbox.
|
45 |
|
|
The assumption is that, in a windowed system, fputc(stderr) for example
|
46 |
|
|
may not achieve the desired effect of the character appearing in some
|
47 |
|
|
window.
|
48 |
|
|
*/
|
49 |
|
|
|
50 |
|
|
#endif
|