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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [config/] [ns32k/] [tm-ns32km3.h] - Blame information for rev 578

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
/* OBSOLETE /* Macro definitions for ns532, Mach 3.0 */
2
/* OBSOLETE    Copyright 1992, 1993, 1994 Free Software Foundation, Inc. */
3
/* OBSOLETE  */
4
/* OBSOLETE    This file is part of GDB. */
5
/* OBSOLETE  */
6
/* OBSOLETE    This program is free software; you can redistribute it and/or modify */
7
/* OBSOLETE    it under the terms of the GNU General Public License as published by */
8
/* OBSOLETE    the Free Software Foundation; either version 2 of the License, or */
9
/* OBSOLETE    (at your option) any later version. */
10
/* OBSOLETE  */
11
/* OBSOLETE    This program is distributed in the hope that it will be useful, */
12
/* OBSOLETE    but WITHOUT ANY WARRANTY; without even the implied warranty of */
13
/* OBSOLETE    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the */
14
/* OBSOLETE    GNU General Public License for more details. */
15
/* OBSOLETE  */
16
/* OBSOLETE    You should have received a copy of the GNU General Public License */
17
/* OBSOLETE    along with this program; if not, write to the Free Software */
18
/* OBSOLETE    Foundation, Inc., 59 Temple Place - Suite 330, */
19
/* OBSOLETE    Boston, MA 02111-1307, USA.  */ */
20
/* OBSOLETE  */
21
/* OBSOLETE /* Include common definitions for Mach3 systems */ */
22
/* OBSOLETE #include "nm-m3.h" */
23
/* OBSOLETE  */
24
/* OBSOLETE /* Define offsets to access CPROC stack when it does not have */
25
/* OBSOLETE  * a kernel thread. */
26
/* OBSOLETE  */ */
27
/* OBSOLETE #define MACHINE_CPROC_SP_OFFSET 20 */
28
/* OBSOLETE #define MACHINE_CPROC_PC_OFFSET 16 */
29
/* OBSOLETE #define MACHINE_CPROC_FP_OFFSET 12 */
30
/* OBSOLETE  */
31
/* OBSOLETE #include <ns532/psl.h> */
32
/* OBSOLETE #include <ns532/vmparam.h> */
33
/* OBSOLETE  */
34
/* OBSOLETE /* Thread flavors used in re-setting the T bit. */
35
/* OBSOLETE  * @@ this is also bad for cross debugging. */
36
/* OBSOLETE  */ */
37
/* OBSOLETE #define TRACE_FLAVOR                NS532_THREAD_STATE */
38
/* OBSOLETE #define TRACE_FLAVOR_SIZE   NS532_THREAD_STATE_COUNT */
39
/* OBSOLETE #define TRACE_SET(x,state) \ */
40
/* OBSOLETE     ((struct ns532_thread_state *)state)->psr |= PSR_T */
41
/* OBSOLETE #define TRACE_CLEAR(x,state) \ */
42
/* OBSOLETE     ((((struct ns532_thread_state *)state)->psr &= ~PSR_T), 1) */
43
/* OBSOLETE  */
44
/* OBSOLETE /* we can do it */ */
45
/* OBSOLETE #define ATTACH_DETACH 1 */
46
/* OBSOLETE  */
47
/* OBSOLETE /* Address of end of stack space. */
48
/* OBSOLETE  * for MACH, see <ns532/vmparam.h> */
49
/* OBSOLETE  */ */
50
/* OBSOLETE #define STACK_END_ADDR USRSTACK */
51
/* OBSOLETE  */
52
/* OBSOLETE #include "ns32k/tm-umax.h" */
53
/* OBSOLETE  */
54
/* OBSOLETE /* tm-umax.h assumes a 32082 fpu. We have a 32382 fpu. */ */
55
/* OBSOLETE #undef REGISTER_NAMES */
56
/* OBSOLETE #undef NUM_REGS */
57
/* OBSOLETE #undef REGISTER_BYTES */
58
/* OBSOLETE /* Initializer for an array of names of registers. */
59
/* OBSOLETE    There should be NUM_REGS strings in this initializer.  */ */
60
/* OBSOLETE  */
61
/* OBSOLETE #define REGISTER_NAMES {"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7",     \ */
62
/* OBSOLETE                     "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", \ */
63
/* OBSOLETE                     "sp", "fp", "pc", "ps",                         \ */
64
/* OBSOLETE                     "fsr",                                          \ */
65
/* OBSOLETE                     "l0", "l1", "l2", "l3", "l4", "l5", "l6", "l7", "xx",                   \ */
66
/* OBSOLETE                     } */
67
/* OBSOLETE  */
68
/* OBSOLETE #define NUM_REGS            29 */
69
/* OBSOLETE  */
70
/* OBSOLETE /* Total amount of space needed to store our copies of the machine's */
71
/* OBSOLETE    register state, the array `registers'.  */ */
72
/* OBSOLETE #define REGISTER_BYTES \ */
73
/* OBSOLETE   ((NUM_REGS - 4) * REGISTER_RAW_SIZE(R0_REGNUM) \ */
74
/* OBSOLETE    + 8            * REGISTER_RAW_SIZE(LP0_REGNUM)) */

powered by: WebSVN 2.1.0

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