| 1 | /* |
| 2 | * Copyright (C) 1995 Advanced RISC Machines Limited. All rights reserved. |
| 3 | * |
| 4 | * This software may be freely used, copied, modified, and distributed |
| 5 | * provided that the above copyright notice is preserved in all copies of the |
| 6 | * software. |
| 7 | */ |
| 8 | |
| 9 | /* |
| 10 | * ARM symbolic debugger toolbox: dbg_conf.h |
| 11 | */ |
| 12 | |
| 13 | /* |
| 14 | * RCS $Revision$ |
| 15 | * Checkin $Date$ |
| 16 | */ |
| 17 | |
| 18 | #ifndef Dbg_Conf__h |
| 19 | |
| 20 | #define Dbg_Conf__h |
| 21 | |
| 22 | typedef struct Dbg_ConfigBlock { |
| 23 | int bytesex; |
| 24 | int fpe; /* Target should initialise FPE */ |
| 25 | long memorysize; |
| 26 | unsigned long cpu_speed;/* Cpu speed (HZ) */ |
| 27 | int serialport; /*) remote connection parameters */ |
| 28 | int seriallinespeed; /*) (serial connection) */ |
| 29 | int parallelport; /*) ditto */ |
| 30 | int parallellinespeed; /*) (parallel connection) */ |
| 31 | char *ethernettarget; /* name of remote ethernet target */ |
| 32 | int processor; /* processor the armulator is to emulate (eg ARM60) */ |
| 33 | int rditype; /* armulator / remote processor */ |
| 34 | int heartbeat_on; /* angel heartbeat */ |
| 35 | int drivertype; /* parallel / serial / etc */ |
| 36 | char const *configtoload; |
| 37 | char const *memconfigtoload; |
| 38 | int flags; |
| 39 | } Dbg_ConfigBlock; |
| 40 | |
| 41 | #define Dbg_ConfigFlag_Reset 1 |
| 42 | #define Dbg_ConfigFlag_LLSymsNeedPrefix 2 |
| 43 | |
| 44 | typedef struct Dbg_HostosInterface Dbg_HostosInterface; |
| 45 | /* This structure allows access by the (host-independent) C-library support |
| 46 | module of armulator or pisd (armos.c) to host-dependent functions for |
| 47 | which there is no host-independent interface. Its contents are unknown |
| 48 | to the debugger toolbox. |
| 49 | The assumption is that, in a windowed system, fputc(stderr) for example |
| 50 | may not achieve the desired effect of the character appearing in some |
| 51 | window. |
| 52 | */ |
| 53 | |
| 54 | #endif |