Update FSF address.
[deliverable/binutils-gdb.git] / gdb / config / ns32k / tm-ns32km3.h
1 /* Macro definitions for ns532, Mach 3.0
2 Copyright (C) 1992 Free Software Foundation, Inc.
3
4 This file is part of GDB.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
19
20 /* Include common definitions for Mach3 systems */
21 #include "nm-m3.h"
22
23 /* Define offsets to access CPROC stack when it does not have
24 * a kernel thread.
25 */
26 #define MACHINE_CPROC_SP_OFFSET 20
27 #define MACHINE_CPROC_PC_OFFSET 16
28 #define MACHINE_CPROC_FP_OFFSET 12
29
30 #include <ns532/psl.h>
31 #include <ns532/vmparam.h>
32
33 /* Thread flavors used in re-setting the T bit.
34 * @@ this is also bad for cross debugging.
35 */
36 #define TRACE_FLAVOR NS532_THREAD_STATE
37 #define TRACE_FLAVOR_SIZE NS532_THREAD_STATE_COUNT
38 #define TRACE_SET(x,state) \
39 ((struct ns532_thread_state *)state)->psr |= PSR_T
40 #define TRACE_CLEAR(x,state) \
41 ((((struct ns532_thread_state *)state)->psr &= ~PSR_T), 1)
42
43 /* we can do it */
44 #define ATTACH_DETACH 1
45
46 /* Address of end of stack space.
47 * for MACH, see <ns532/vmparam.h>
48 */
49 #define STACK_END_ADDR USRSTACK
50
51 #include "ns32k/tm-umax.h"
This page took 0.031404 seconds and 4 git commands to generate.