dbg_conf.h 1.8 KB

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