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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [rdi-share/] [ardi.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
/*
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
 * ardi.h
11
 * ADP RDI interfaces
12
 *
13
 * $Revision: 1.1.1.1 $
14
 *     $Date: 2001-05-18 11:16:33 $
15
 */
16
 
17
#include "host.h"
18
 
19
typedef unsigned32 ARMword;
20
 
21
#include "dbg_rdi.h"
22
#include "dbg_conf.h"
23
 
24
extern char *commandline;
25
extern ARMword last_vector_catch;
26
 
27
/* This is the size of buffers that are asked for by standard channels
28
 * Non standard channels may wish to copy this!
29
 */
30
extern int Armsd_BufferSize;
31
 
32
typedef int (*host_ChannelBufferFilledFnPtr)(unsigned int ,unsigned char ** ,void *);
33
 
34
int angel_RDI_open(
35
    unsigned type, Dbg_ConfigBlock const *config,
36
    Dbg_HostosInterface const *hostif, struct Dbg_MCState *dbg_state);
37
int angel_RDI_close(void);
38
 
39
int angel_RDI_read(ARMword source, void *dest, unsigned *nbytes);
40
int angel_RDI_write(const void *source, ARMword dest, unsigned *nbytes);
41
 
42
int angel_RDI_CPUread(unsigned mode, unsigned long mask, ARMword *buffer);
43
int angel_RDI_CPUwrite(unsigned mode, unsigned long mask,
44
                       ARMword const *buffer);
45
 
46
int angel_RDI_CPread(unsigned CPnum, unsigned long mask, ARMword *buffer);
47
int angel_RDI_CPwrite(unsigned CPnum, unsigned long mask,
48
                      ARMword const *buffer);
49
 
50
int angel_RDI_setbreak(ARMword address, unsigned type, ARMword bound,
51
                      PointHandle *handle);
52
int angel_RDI_clearbreak(PointHandle handle);
53
 
54
int angel_RDI_setwatch(ARMword address, unsigned type, unsigned datatype,
55
                      ARMword bound, PointHandle *handle);
56
int angel_RDI_clearwatch(PointHandle handle);
57
 
58
int angel_RDI_pointinq(ARMword *address, unsigned type, unsigned datatype,
59
                      ARMword *bound);
60
 
61
int angel_RDI_execute(PointHandle *handle);
62
 
63
int angel_RDI_step(unsigned ninstr, PointHandle *handle);
64
 
65
int angel_RDI_info(unsigned type, ARMword *arg1, ARMword *arg2);
66
 
67
int angel_RDI_AddConfig(unsigned long nbytes);
68
 
69
int angel_RDI_LoadConfigData(unsigned long nbytes, char const *data);
70
 
71
int angel_RDI_SelectConfig(RDI_ConfigAspect aspect, char const *name,
72
                          RDI_ConfigMatchType matchtype, unsigned versionreq,
73
                          unsigned *versionp);
74
 
75
RDI_NameList const *angel_RDI_drivernames(void);
76
 
77
int angel_RDI_LoadAgent(ARMword dest, unsigned long size, getbufferproc *getb,
78
                        void *getbarg);
79
 
80
extern const struct Dbg_HostosInterface *angel_hostif;
81
 
82
typedef int angel_RDI_TargetStoppedProc(unsigned stopped_reason, void *arg);
83
 
84
extern int angel_RDI_OnTargetStopping(angel_RDI_TargetStoppedProc *fn,
85
                                      void *arg);

powered by: WebSVN 2.1.0

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