Commit | Line | Data |
---|---|---|
b7da2494 SG |
1 | /* Register values. All of these values *MUST* agree with tm.h */ |
2 | #define RA_REGNUM 26 /* Contains return address value */ | |
3 | #define SP_REGNUM 30 /* Contains address of top of stack */ | |
4 | #define PC_REGNUM 64 /* Contains program counter */ | |
5 | #define FP_REGNUM 65 /* Virtual frame pointer */ | |
6 | #define V0_REGNUM 0 /* Function integer return value */ | |
7 | #define NUM_REGS 66 /* Number of machine registers */ | |
8 | #define REGISTER_BYTES (NUM_REGS * 8) /* Total size of registers array */ | |
9 | ||
10 | #define ExceptionPC ExceptionRegs[SF_REG_PC].lo | |
11 | #define DECR_PC_AFTER_BREAK 0 /* NT's Palcode gets this right! */ | |
12 | #define BREAKPOINT {0x80, 0, 0, 0} /* call_pal bpt */ | |
74ace0c8 | 13 | extern unsigned char breakpoint_insn[]; |
b7da2494 SG |
14 | #define BREAKPOINT_SIZE 4 |
15 | ||
16 | /*#define flush_i_cache() asm("call_pal 0x86")*/ | |
17 | ||
74ace0c8 SG |
18 | /* Temporary defs until DEC gets their netware includes straightened out */ |
19 | ||
20 | #include "altdebug.h" /* Get StackFrame structure */ | |
21 | ||
22 | #define isspace(C) (C == '\n' || C == '\r' || C == ' ' || C == '\t') | |
23 | int Breakpoint (int __arg); | |
24 | ||
25 | typedef unsigned long ULONG; |