1 |
1254 |
phoenix |
#ifndef HAL_MEMMAP_H
|
2 |
|
|
#define HAL_MEMMAP_H
|
3 |
|
|
//==========================================================================
|
4 |
|
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
5 |
|
|
// -------------------------------------------
|
6 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
7 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
8 |
|
|
//
|
9 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
10 |
|
|
// the terms of the GNU General Public License as published by the Free
|
11 |
|
|
// Software Foundation; either version 2 or (at your option) any later version.
|
12 |
|
|
//
|
13 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
14 |
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
15 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
16 |
|
|
// for more details.
|
17 |
|
|
//
|
18 |
|
|
// You should have received a copy of the GNU General Public License along
|
19 |
|
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
20 |
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
21 |
|
|
//
|
22 |
|
|
// As a special exception, if other files instantiate templates or use macros
|
23 |
|
|
// or inline functions from this file, or you compile this file and link it
|
24 |
|
|
// with other works to produce a work based on this file, this file does not
|
25 |
|
|
// by itself cause the resulting work to be covered by the GNU General Public
|
26 |
|
|
// License. However the source code for this file must still be made available
|
27 |
|
|
// in accordance with section (3) of the GNU General Public License.
|
28 |
|
|
//
|
29 |
|
|
// This exception does not invalidate any other reasons why a work based on
|
30 |
|
|
// this file might be covered by the GNU General Public License.
|
31 |
|
|
//
|
32 |
|
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
33 |
|
|
// at http://sources.redhat.com/ecos/ecos-license/
|
34 |
|
|
// -------------------------------------------
|
35 |
|
|
//####ECOSGPLCOPYRIGHTEND####
|
36 |
|
|
//==========================================================================
|
37 |
|
|
|
38 |
|
|
#include <cyg/infra/cyg_type.h>
|
39 |
|
|
|
40 |
|
|
// WARNING: DO NOT CHANGE THE TYPES OF THESE LABELS. THE LINKER DEFINES
|
41 |
|
|
// THESE AND WE WANT TO USE THE VARIABLES NOT THE VARIABLES THEMSELVES.
|
42 |
|
|
|
43 |
|
|
#define SECTION_DEC(_name_) \
|
44 |
|
|
externC unsigned char __ ## _name_ ## _start[]; \
|
45 |
|
|
externC unsigned char __ ## _name_ ## _end[]; \
|
46 |
|
|
externC unsigned char __ ## _name_ ## _size[];
|
47 |
|
|
|
48 |
|
|
SECTION_DEC(rom)
|
49 |
|
|
SECTION_DEC(ram)
|
50 |
|
|
SECTION_DEC(bss)
|
51 |
|
|
SECTION_DEC(sbss)
|
52 |
|
|
SECTION_DEC(ram_data)
|
53 |
|
|
SECTION_DEC(rom_data)
|
54 |
|
|
SECTION_DEC(heap1)
|
55 |
|
|
SECTION_DEC(uninvar)
|
56 |
|
|
SECTION_DEC(romvec)
|
57 |
|
|
SECTION_DEC(ramvec)
|
58 |
|
|
|
59 |
|
|
/*****************************************************************************
|
60 |
|
|
On-chip registers, System Integration Module (SIM)
|
61 |
|
|
*****************************************************************************/
|
62 |
|
|
|
63 |
|
|
#define MCF5272_MBAR (0x10000000)
|
64 |
|
|
|
65 |
|
|
#endif /* HAL_MEMMAP_H */
|
66 |
|
|
|