From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- .../ARM202U/SOURCE/WIN32/ARMDBG/DBG_HIF.H | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Bachelor/Mikroprozessorsysteme2/ARM202U/SOURCE/WIN32/ARMDBG/DBG_HIF.H (limited to 'Bachelor/Mikroprozessorsysteme2/ARM202U/SOURCE/WIN32/ARMDBG/DBG_HIF.H') diff --git a/Bachelor/Mikroprozessorsysteme2/ARM202U/SOURCE/WIN32/ARMDBG/DBG_HIF.H b/Bachelor/Mikroprozessorsysteme2/ARM202U/SOURCE/WIN32/ARMDBG/DBG_HIF.H new file mode 100644 index 0000000..fef46d1 --- /dev/null +++ b/Bachelor/Mikroprozessorsysteme2/ARM202U/SOURCE/WIN32/ARMDBG/DBG_HIF.H @@ -0,0 +1,46 @@ +/* + * ARM debugger toolbox : dbg_hif.c + * Copyright (C) 1992 Advanced Risc Machines Ltd. All rights reserved. + * Description of the Dbg_HostosInterface structure. This is *NOT* + * part of the debugger toolbox, but it is required by 2 back ends + * (armul & pisd) and two front ends (armsd & wdbg), so putting it + * in the toolbox is the only way of avoiding multiple copies. + */ + +/* + * RCS $Revision: 1.3 $ + * Checkin $Date: 1993/10/22 17:41:07 $ + * Revising $Author: hmeekings $ + */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +typedef void Hif_DbgPrint(void *arg, const char *format, va_list ap); +typedef void Hif_DbgPause(void *arg); + +typedef void Hif_WriteC(void *arg, int c); +typedef int Hif_ReadC(void *arg); +typedef int Hif_Write(void *arg, char const *buffer, int len); +typedef char *Hif_GetS(void *arg, char *buffer, int len); + +typedef void Hif_RDIResetProc(void *arg); + +struct Dbg_HostosInterface { + Hif_DbgPrint *dbgprint; + Hif_DbgPause *dbgpause; + void *dbgarg; + + Hif_WriteC *writec; + Hif_ReadC *readc; + Hif_Write *write; + Hif_GetS *gets; + void *hostosarg; + + Hif_RDIResetProc *reset; + void *resetarg; +}; + \ No newline at end of file -- cgit v1.2.3