OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gdb-6.8/] [pre-binutils-2.20.1-sync/] [sim/] [arm/] [dbg_hif.h] - Diff between revs 157 and 223

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 157 Rev 223
/*  dbg_hif.h -- ARMulator debug interface:  ARM6 Instruction Emulator.
/*  dbg_hif.h -- ARMulator debug interface:  ARM6 Instruction Emulator.
    Copyright (C) 1994 Advanced RISC Machines Ltd.
    Copyright (C) 1994 Advanced RISC Machines Ltd.
 
 
    This program is free software; you can redistribute it and/or modify
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.
    (at your option) any later version.
 
 
    This program is distributed in the hope that it will be useful,
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    GNU General Public License for more details.
 
 
    You should have received a copy of the GNU General Public License
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
 
 
#ifdef __STDC__
#ifdef __STDC__
#  include <stdarg.h>
#  include <stdarg.h>
#else
#else
#  include <varargs.h>
#  include <varargs.h>
#endif
#endif
 
 
typedef void Hif_DbgPrint (void *arg, const char *format, va_list ap);
typedef void Hif_DbgPrint (void *arg, const char *format, va_list ap);
typedef void Hif_DbgPause (void *arg);
typedef void Hif_DbgPause (void *arg);
 
 
typedef void Hif_WriteC (void *arg, int c);
typedef void Hif_WriteC (void *arg, int c);
typedef int Hif_ReadC (void *arg);
typedef int Hif_ReadC (void *arg);
typedef int Hif_Write (void *arg, char const *buffer, int len);
typedef int Hif_Write (void *arg, char const *buffer, int len);
typedef char *Hif_GetS (void *arg, char *buffer, int len);
typedef char *Hif_GetS (void *arg, char *buffer, int len);
 
 
typedef void Hif_RDIResetProc (void *arg);
typedef void Hif_RDIResetProc (void *arg);
 
 
struct Dbg_HostosInterface
struct Dbg_HostosInterface
{
{
  Hif_DbgPrint *dbgprint;
  Hif_DbgPrint *dbgprint;
  Hif_DbgPause *dbgpause;
  Hif_DbgPause *dbgpause;
  void *dbgarg;
  void *dbgarg;
 
 
  Hif_WriteC *writec;
  Hif_WriteC *writec;
  Hif_ReadC *readc;
  Hif_ReadC *readc;
  Hif_Write *write;
  Hif_Write *write;
  Hif_GetS *gets;
  Hif_GetS *gets;
  void *hostosarg;
  void *hostosarg;
 
 
  Hif_RDIResetProc *reset;
  Hif_RDIResetProc *reset;
  void *resetarg;
  void *resetarg;
};
};
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.