annotate packages/hal/fr30/skmb91302/current/src/platform.S @ 2729:74dbf4c3f2e1 after-copyright-change-20090129

Update all copyright banners to reflect FSF ownership; fix and improve licence text.
author jlarmour
date Thu, 29 Jan 2009 17:47:46 +0000
parents 7c92e5146d0a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2492
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
1 ##=============================================================================
2461
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
2 ##
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
3 ## platform.S
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
4 ##
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
5 ## Fujitsu Starterkit MB91302 platform code
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
6 ##
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
7 ##=============================================================================
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
8 ## ####ECOSGPLCOPYRIGHTBEGIN####
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
9 ## -------------------------------------------
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
10 ## This file is part of eCos, the Embedded Configurable Operating System.
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
11 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
2461
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
12 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
13 ## eCos is free software; you can redistribute it and/or modify it under
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
14 ## the terms of the GNU General Public License as published by the Free
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
15 ## Software Foundation; either version 2 or (at your option) any later
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
16 ## version.
2461
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
17 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
18 ## eCos is distributed in the hope that it will be useful, but WITHOUT
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
19 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
20 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
21 ## for more details.
2461
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
22 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
23 ## You should have received a copy of the GNU General Public License
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
24 ## along with eCos; if not, write to the Free Software Foundation, Inc.,
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
25 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2461
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
26 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
27 ## As a special exception, if other files instantiate templates or use
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
28 ## macros or inline functions from this file, or you compile this file
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
29 ## and link it with other works to produce a work based on this file,
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
30 ## this file does not by itself cause the resulting work to be covered by
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
31 ## the GNU General Public License. However the source code for this file
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
32 ## must still be made available in accordance with section (3) of the GNU
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
33 ## General Public License v2.
2461
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
34 ##
2729
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
35 ## This exception does not invalidate any other reasons why a work based
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
36 ## on this file might be covered by the GNU General Public License.
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
37 ## -------------------------------------------
74dbf4c3f2e1 Update all copyright banners to reflect FSF ownership; fix and improve licence text.
jlarmour
parents: 2492
diff changeset
38 ## ####ECOSGPLCOPYRIGHTEND####
2461
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
39 ##=============================================================================
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
40 #######DESCRIPTIONBEGIN####
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
41 ##
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
42 ## Author(s): larsi
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
43 ## Contributors:
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
44 ## Date: 2007-07-09
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
45 ## Purpose: Fujitsu Starterkit MB91302 platform code
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
46 ## Description: Platform specific code for Fujitsu Starterkit MB91302 board.
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
47 ##
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
48 ##
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
49 ##
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
50 ##
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
51 ######DESCRIPTIONEND####
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
52 ##
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
53 ##=============================================================================
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
54
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
55 #include <pkgconf/system.h>
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
56 #include <pkgconf/hal.h>
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
57
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
58 #ifdef CYGPKG_KERNEL
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
59 # include <pkgconf/kernel.h>
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
60 #endif
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
61
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
62 #include <cyg/hal/arch.inc>
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
63
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
64 ##-----------------------------------------------------------------------------
2492
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
65 ## platforms special entry point.
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
66 ## it copies the code from hal_fr30_ram_startup_trampoline until
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
67 ## hal_fr30_ram_startup_trampoline_end to ram and jumps there. The code there
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
68 ## is for mapping the flash to 0x1000000 and then jumping to real entry
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
69 ## (_start).
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
70
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
71 #if defined(CYG_HAL_STARTUP_ROM) || defined(CYG_HAL_STARTUP_ROMRAM)
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
72
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
73 .section ".rom_startup_trampoline","ax"
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
74
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
75 .balign 4
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
76 .global hal_fr30_rom_startup_trampoline
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
77 hal_fr30_rom_startup_trampoline:
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
78 # disable interrupts and set priority to lowest (=disable)
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
79 andccr #0xef
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
80 stilm #0x0
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
81
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
82 ldi:32 #__rom_trampoline_start - 4, r11
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
83 ldi:32 #__ram_trampoline_start - 4, r13
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
84 ldi:32 #__rom_trampoline_end - 8, r12
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
85 1:
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
86 add #0x4, r11
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
87 add #0x4, r13
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
88 ld @r11, r0
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
89 cmp r12, r11
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
90 ble:d 1b
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
91 st r0, @r13
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
92
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
93 ## jump to the code in ram
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
94 ldi:32 #hal_fr30_ram_startup_trampoline, r0
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
95 jmp @r0
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
96
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
97 #endif
2461
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
98
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
99 ##-----------------------------------------------------------------------------
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
100 # Platform Initialization.
2492
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
101 # This code is copied to a location in RAM on startup and is executed there.
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
102 # It maps the the FLASH chip to 0x1000000 and sets the TBR to the new location
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
103 # of the hardware vector table (hal_fr30_vector_table). So we can reach the full
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
104 # range of the FLASH and it can be used for flashfilesystem. After that it jumps
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
105 # to the real application.
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
106
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
107 #if defined(CYG_HAL_STARTUP_ROM) || defined(CYG_HAL_STARTUP_ROMRAM)
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
108
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
109 .section ".ram_startup_trampoline","ax"
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
110
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
111 .balign 4
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
112 .global hal_fr30_ram_startup_trampoline
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
113 hal_fr30_ram_startup_trampoline:
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
114 hal_flash_init_from_ram
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
115
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
116 ## map TBR to the new location (for vector tables)
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
117 ldi:32 #0x10ffc00, r0
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
118 mov r0, tbr
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
119
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
120 ## jump to real startup
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
121 ldi:32 #_start, r0
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
122 jmp @r0
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
123
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
124 #endif
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
125
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
126
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
127 #==============================================================================
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
128 # Vector table for storage in flash, version for skmb91302 platform.
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
129 # it differs from variants/archs version in that uses a different reset vector
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
130 # that points to the special startup procedure that jumps to the normal entry
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
131 # (_start) later.
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
132 # base address is 0x000FFC00 and 0x10ffc00 after remapping the flash.
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
133 # This address stores the vector address for number 255
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
134 # address 0x000FFFFC (0x10ffffc) is the last vector, the reset vector, which
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
135 # is not alterable. Vectors 255 to 80 are used by the INT instruction and set
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
136 # to 0 here for now ...
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
137
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
138
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
139 #if defined(CYG_HAL_STARTUP_ROM) || defined(CYG_HAL_STARTUP_ROMRAM)
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
140
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
141 .section ".rom_vectors","ax"
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
142
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
143 .balign 4
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
144 .global hal_fr30_vector_table
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
145 hal_fr30_vector_table:
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
146 .rept 255-80 + 1
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
147 .long 0x0
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
148 .endr
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
149 .rept 79-67 + 1
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
150 .long 0x0
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
151 .endr
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
152
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
153 .long 0x0
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
154 .long 0x0
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
155 .long 0x0
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
156 # number 63 first interrupt source
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
157 .long hal_fr30_irq_63
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
158 .long hal_fr30_irq_62
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
159 .long hal_fr30_irq_61
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
160 .long hal_fr30_irq_60
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
161 .long hal_fr30_irq_59
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
162 .long hal_fr30_irq_58
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
163 .long hal_fr30_irq_57
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
164 .long hal_fr30_irq_56
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
165 .long hal_fr30_irq_55
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
166 .long hal_fr30_irq_54
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
167 .long hal_fr30_irq_53
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
168 .long hal_fr30_irq_52
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
169 .long hal_fr30_irq_51
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
170 .long hal_fr30_irq_50
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
171 .long hal_fr30_irq_49
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
172 .long hal_fr30_irq_48
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
173 .long hal_fr30_irq_47
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
174 .long hal_fr30_irq_46
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
175 .long hal_fr30_irq_45
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
176 .long hal_fr30_irq_44
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
177 .long hal_fr30_irq_43
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
178 .long hal_fr30_irq_42
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
179 .long hal_fr30_irq_41
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
180 .long hal_fr30_irq_40
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
181 .long hal_fr30_irq_39
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
182 .long hal_fr30_irq_38
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
183 .long hal_fr30_irq_37
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
184 .long hal_fr30_irq_36
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
185 .long hal_fr30_irq_35
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
186 .long hal_fr30_irq_34
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
187 .long hal_fr30_irq_33
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
188 .long hal_fr30_irq_32
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
189 .long hal_fr30_irq_31
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
190 .long hal_fr30_irq_30
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
191 .long hal_fr30_irq_29
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
192 .long hal_fr30_irq_28
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
193 .long hal_fr30_irq_27
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
194 .long hal_fr30_irq_26
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
195 .long hal_fr30_irq_25
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
196 .long hal_fr30_irq_24
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
197 .long hal_fr30_irq_23
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
198 .long hal_fr30_irq_22
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
199 .long hal_fr30_irq_21
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
200 .long hal_fr30_irq_20
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
201 .long hal_fr30_irq_19
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
202 .long hal_fr30_irq_18
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
203 .long hal_fr30_irq_17
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
204 .long hal_fr30_irq_16
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
205 .long hal_fr30_irq_15
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
206 .long hal_fr30_exception_noerr_14
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
207 .long hal_fr30_exception_noerr_13
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
208 .long hal_fr30_exception_noerr_12
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
209 .long hal_fr30_exception_noerr_11
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
210 .long hal_fr30_exception_noerr_10
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
211 .long hal_fr30_exception_noerr_9
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
212 .long hal_fr30_exception_noerr_8
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
213 .long hal_fr30_exception_noerr_7
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
214 .long hal_fr30_exception_noerr_6
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
215 .long hal_fr30_exception_noerr_5
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
216 .long hal_fr30_exception_noerr_4
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
217 .long hal_fr30_exception_noerr_3
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
218 .long hal_fr30_exception_noerr_2
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
219
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
220 # mode vector (only the first of the four byte is relevant)
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
221 .byte 0x1
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
222 .byte 0
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
223 .byte 0
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
224 .byte 0
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
225
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
226 # reset vector
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
227 .long hal_fr30_rom_startup_trampoline
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
228
7c92e5146d0a * src/platform.S: Startup routines for remapping the flash during
asl
parents: 2461
diff changeset
229 #endif /*CYG_HAL_STARTUP_ROM || CYG_HAL_STARTUP_ROMRAM*/
2461
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
230
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
231
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
232 ##-----------------------------------------------------------------------------
6ac315df1958 Port to the FR30 architecture, the mb91301 variant and the skmb91302 board.
asl
parents:
diff changeset
233 ## end of platform.S