diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-08-10 16:41:44 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-08-10 16:41:44 +0000 |
commit | 981b99faf208e2c7f6e2b83d73e1b89b669112ee (patch) | |
tree | 1f2e2b431853a81be77417c1026c75c53e04d5ea /c/src/lib/include/rdbg/servrpc.h | |
parent | New configuration files added by patch from (diff) | |
download | rtems-981b99faf208e2c7f6e2b83d73e1b89b669112ee.tar.bz2 |
Patch from Eric Valette <valette@crf.canon.fr> and Emmanuel Raguet
<raguet@crf.canon.fr>:
- the dec21140 driver code has been hardened (various bug fixed) Emmanuel,
- bug in the mcp750 init code have been fixed (interrupt stack/initial
stack initialization), BSS correctly cleared (Eric V)
- remote debugging over TCP/IP is nearly complete (berakpoints,
backtrace, variables,...) (Eric V),
- exception handling code has also been improved in order to fully
support RDBG requirements (Eric V),
Diffstat (limited to 'c/src/lib/include/rdbg/servrpc.h')
-rw-r--r-- | c/src/lib/include/rdbg/servrpc.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/c/src/lib/include/rdbg/servrpc.h b/c/src/lib/include/rdbg/servrpc.h index 71198d4d1f..e183e1af7d 100644 --- a/c/src/lib/include/rdbg/servrpc.h +++ b/c/src/lib/include/rdbg/servrpc.h @@ -1,3 +1,6 @@ +/* + * $Id$ + */ #ifndef SERVRPC_H #define SERVRPC_H @@ -30,6 +33,15 @@ extern const char* PtraceNames[]; /* list of ptrace requests for debug out */ extern const char* BmsgNames[]; /* list of BMSG_xxx names */ extern const char* PtraceName(int req); +#ifdef i386 /* low-high machine such as 386 */ +#define HL_W(w) (((UINT16)(w)>>8)+((((w)&0xFF)<<8))) +#define HL_D(d) (((UINT32)(d)>>24)+(((d)&0x00FF0000)>>8) \ + +(((d)&0xFF00)<<8)+(((d)&0xFF)<<24)) +#else +#define HL_W(w) w +#define HL_D(d) d +#endif + # define DPRINTF(a) (rdb_debug ? printk ("%d >>> ", getId()), printk a : 0) #else # define DPRINTF(a) /* suppress */ |