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

Subversion Repositories ao486

[/] [ao486/] [trunk/] [syn/] [soc/] [firmware/] [exe_bsp/] [linker.h] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 alfik
/*
2
 * linker.h - Linker script mapping information
3
 *
4
 * Machine generated for CPU 'nios2' in SOPC Builder design 'system'
5
 * SOPC Builder design path: ../../system.sopcinfo
6
 *
7
 * Generated: Sun Nov 03 21:51:14 CET 2013
8
 */
9
 
10
/*
11
 * DO NOT MODIFY THIS FILE
12
 *
13
 * Changing this file will have subtle consequences
14
 * which will almost certainly lead to a nonfunctioning
15
 * system. If you do modify this file, be aware that your
16
 * changes will be overwritten and lost when this file
17
 * is generated again.
18
 *
19
 * DO NOT MODIFY THIS FILE
20
 */
21
 
22
/*
23
 * License Agreement
24
 *
25
 * Copyright (c) 2008
26
 * Altera Corporation, San Jose, California, USA.
27
 * All rights reserved.
28
 *
29
 * Permission is hereby granted, free of charge, to any person obtaining a
30
 * copy of this software and associated documentation files (the "Software"),
31
 * to deal in the Software without restriction, including without limitation
32
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
33
 * and/or sell copies of the Software, and to permit persons to whom the
34
 * Software is furnished to do so, subject to the following conditions:
35
 *
36
 * The above copyright notice and this permission notice shall be included in
37
 * all copies or substantial portions of the Software.
38
 *
39
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
41
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
42
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
43
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
44
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
45
 * DEALINGS IN THE SOFTWARE.
46
 *
47
 * This agreement shall be governed in all respects by the laws of the State
48
 * of California and by the laws of the United States of America.
49
 */
50
 
51
#ifndef __LINKER_H_
52
#define __LINKER_H_
53
 
54
 
55
/*
56
 * BSP controls alt_load() behavior in crt0.
57
 *
58
 */
59
 
60
#define ALT_LOAD_EXPLICITLY_CONTROLLED
61
 
62
 
63
/*
64
 * Base address and span (size in bytes) of each linker region
65
 *
66
 */
67
 
68
#define ONCHIP_FOR_NIOS2_REGION_BASE 0x10020
69
#define ONCHIP_FOR_NIOS2_REGION_SPAN 32736
70
#define RESET_REGION_BASE 0x10000
71
#define RESET_REGION_SPAN 32
72
#define SDRAM_REGION_BASE 0x8000000
73
#define SDRAM_REGION_SPAN 134217728
74
 
75
 
76
/*
77
 * Devices associated with code sections
78
 *
79
 */
80
 
81
#define ALT_EXCEPTIONS_DEVICE ONCHIP_FOR_NIOS2
82
#define ALT_RESET_DEVICE ONCHIP_FOR_NIOS2
83
#define ALT_RODATA_DEVICE ONCHIP_FOR_NIOS2
84
#define ALT_RWDATA_DEVICE ONCHIP_FOR_NIOS2
85
#define ALT_TEXT_DEVICE ONCHIP_FOR_NIOS2
86
 
87
 
88
/*
89
 * Initialization code at the reset address is allowed (e.g. no external bootloader).
90
 *
91
 */
92
 
93
#define ALT_ALLOW_CODE_AT_RESET
94
 
95
#endif /* __LINKER_H_ */

powered by: WebSVN 2.1.0

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