1 /* Macro definitions for ns532, Mach 3.0
2 Copyright (C) 1992 Free Software Foundation, Inc.
4 This file is part of GDB.
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.
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.
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. */
20 /* Include common definitions for Mach3 systems */
23 /* Define offsets to access CPROC stack when it does not have
26 #define MACHINE_CPROC_SP_OFFSET 20
27 #define MACHINE_CPROC_PC_OFFSET 16
28 #define MACHINE_CPROC_FP_OFFSET 12
30 #include <ns532/psl.h>
31 #include <ns532/vmparam.h>
33 /* Thread flavors used in re-setting the T bit.
34 * @@ this is also bad for cross debugging.
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)
44 #define ATTACH_DETACH 1
46 /* Address of end of stack space.
47 * for MACH, see <ns532/vmparam.h>
49 #define STACK_END_ADDR USRSTACK
51 #include "ns32k/tm-umax.h"
This page took 0.031404 seconds and 4 git commands to generate.