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/ARMUL/ARMULDLL.H | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Bachelor/Mikroprozessorsysteme2/ARM202U/SOURCE/WIN32/ARMUL/ARMULDLL.H (limited to 'Bachelor/Mikroprozessorsysteme2/ARM202U/SOURCE/WIN32/ARMUL/ARMULDLL.H') diff --git a/Bachelor/Mikroprozessorsysteme2/ARM202U/SOURCE/WIN32/ARMUL/ARMULDLL.H b/Bachelor/Mikroprozessorsysteme2/ARM202U/SOURCE/WIN32/ARMUL/ARMULDLL.H new file mode 100644 index 0000000..3c6379a --- /dev/null +++ b/Bachelor/Mikroprozessorsysteme2/ARM202U/SOURCE/WIN32/ARMUL/ARMULDLL.H @@ -0,0 +1,62 @@ +/***************************************************************************\ +* armuldll.h * +* Copyright (C) 1995 Advanced RISC Machines Limited. All rights reserved. * +\***************************************************************************/ + +/* + * RCS $Revision: 1.1.2.1 $ + * Checkin $Date: 1996/02/07 15:50:39 $ + * Revising $Author: jporter $ + */ + +#define BUFSIZE 80 +#include +#include "armdbg.h" +#include "dbg_rdi.h" + +#ifdef __WATCOMC__ + #define DLL_EXPORT __export +#elif _MSC_VER + #define DLL_EXPORT _declspec(dllexport) +#endif + +#ifdef __cplusplus +extern "C" +{ +#endif +/******************************************************************************\ +* GLOBAL VARIABLES +\******************************************************************************/ +HANDLE ghMod; + +/******************************************************************************\ +* FUNCTION PROTOTYPES +\******************************************************************************/ + +//RDIProcVec *ARMul_DLL_GetRDI(); +RDI_NameList const *ARMul_RDI_cpunames(void); +INT ARMul_RDI_open(unsigned type, const Dbg_ConfigBlock *config, + const Dbg_HostosInterface *hostif, + struct Dbg_MCState *dbg_state); + +INT ARMul_RDI_close(void); +INT ARMul_RDI_read(ARMword source, void *dest, unsigned *nbytes); +INT ARMul_RDI_write(const void *source, ARMword dest, unsigned *nbytes); +INT ARMul_RDI_CPUread(unsigned mode, unsigned long mask, ARMword *buffer); +INT ARMul_RDI_CPUwrite(unsigned mode, unsigned long mask, ARMword const *buffer); +INT ARMul_RDI_CPread(unsigned CPnum, unsigned long mask, ARMword *buffer); +INT ARMul_RDI_CPwrite(unsigned CPnum, unsigned long mask, ARMword const *buffer); +INT ARMul_RDI_setbreak(ARMword address, unsigned type, ARMword bound, + PointHandle *handle); +INT ARMul_RDI_clearbreak(PointHandle handle); +INT ARMul_RDI_setwatch(ARMword address, unsigned type, unsigned datatype, + ARMword bound, PointHandle *handle); +INT ARMul_RDI_clearwatch(PointHandle handle); +INT ARMul_RDI_execute(PointHandle *handle); +INT ARMul_RDI_step(unsigned ninstr, PointHandle *handle); +INT ARMul_RDI_info(unsigned type, ARMword *arg1, ARMword *arg2); + +#ifdef __cplusplus +} +#endif + \ No newline at end of file -- cgit v1.2.3