URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
24 |
jeremybenn |
/* Copyright 2007 Free Software Foundation, Inc.
|
2 |
|
|
|
3 |
|
|
This file is part of BFD, the Binary File Descriptor library.
|
4 |
|
|
|
5 |
|
|
This program is free software; you can redistribute it and/or modify
|
6 |
|
|
it under the terms of the GNU General Public License as published by
|
7 |
|
|
the Free Software Foundation; either version 3 of the License, or
|
8 |
|
|
(at your option) any later version.
|
9 |
|
|
|
10 |
|
|
This program is distributed in the hope that it will be useful,
|
11 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
|
|
GNU General Public License for more details.
|
14 |
|
|
|
15 |
|
|
You should have received a copy of the GNU General Public License
|
16 |
|
|
along with this program; if not, write to the Free Software
|
17 |
|
|
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
|
18 |
|
|
MA 02110-1301, USA. */
|
19 |
|
|
|
20 |
|
|
/* Symmetry running either dynix 3.1 (bsd) or ptx (sysv). */
|
21 |
|
|
|
22 |
|
|
#define NBPG 4096
|
23 |
|
|
#define UPAGES 1
|
24 |
|
|
|
25 |
|
|
#ifdef _SEQUENT_
|
26 |
|
|
/* ptx */
|
27 |
|
|
#define HOST_TEXT_START_ADDR 0
|
28 |
|
|
#define HOST_STACK_END_ADDR 0x3fffe000
|
29 |
|
|
#define TRAD_CORE_USER_OFFSET ((UPAGES * NBPG) - sizeof (struct user))
|
30 |
|
|
#else
|
31 |
|
|
/* dynix */
|
32 |
|
|
#define HOST_TEXT_START_ADDR 0x1000
|
33 |
|
|
#define HOST_DATA_START_ADDR (NBPG * u.u_tsize)
|
34 |
|
|
#define HOST_STACK_END_ADDR 0x3ffff000
|
35 |
|
|
#define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(core_bfd) \
|
36 |
|
|
((core_bfd)->tdata.trad_core_data->u.u_arg[0])
|
37 |
|
|
#endif
|
38 |
|
|
|
39 |
|
|
#define TRAD_CORE_DSIZE_INCLUDES_TSIZE
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.