c0e486f23e423f8fa77e1b4314815267785c7709
[external/binutils.git] / sim / arm / dbg_conf.h
1 /*  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     int bytesex;
24     long memorysize;
25     int serialport;        /*) remote connection parameters */
26     int seriallinespeed;   /*) (serial connection) */
27     int parallelport;      /*) ditto */
28     int parallellinespeed; /*) (parallel connection) */
29     int processor;         /* processor the armulator is to emulate (eg ARM60) */
30     int rditype;           /* armulator / remote processor */
31     int drivertype;        /* parallel / serial / etc */
32     char const *configtoload;
33     int flags;
34 } Dbg_ConfigBlock;
35
36 #define Dbg_ConfigFlag_Reset 1
37
38 typedef struct Dbg_HostosInterface Dbg_HostosInterface;
39 /* This structure allows access by the (host-independent) C-library support
40    module of armulator or pisd (armos.c) to host-dependent functions for
41    which there is no host-independent interface.  Its contents are unknown
42    to the debugger toolbox.
43    The assumption is that, in a windowed system, fputc(stderr) for example
44    may not achieve the desired effect of the character appearing in some
45    window.
46  */
47
48 #endif