Mercurial > flash_v2
comparison packages/hal/arm/arch/current/src/vectors.S @ 145:2e9a636d9de9 ecos-sw-2000-12-21
Merge from eCos master repository on 2000-12-21-14:18:40-GMT
| author | jlarmour |
|---|---|
| date | Fri, 22 Dec 2000 02:37:28 +0000 |
| parents | 0ae0bc38e387 |
| children | 8f2f7615e727 |
comparison
equal
deleted
inserted
replaced
| 144:da1052144c56 | 145:2e9a636d9de9 |
|---|---|
| 227 | 227 |
| 228 // We cannot access any LED registers until after PLATFORM_SETUP1 | 228 // We cannot access any LED registers until after PLATFORM_SETUP1 |
| 229 LED 7 | 229 LED 7 |
| 230 | 230 |
| 231 mov r0,#0 // move vectors | 231 mov r0,#0 // move vectors |
| 232 // We cannot perform a store until after PLATFORM_SETUP1 | |
| 233 #ifndef CYGPKG_HAL_ARM_EBSA285 // EBSA285 sets the DRAM size above | |
| 234 #ifndef CYGPKG_HAL_ARM_SA11X0 // SA11x0 also uses this | |
| 235 ldr r1,=hal_dram_size | |
| 236 str r0, [r1] // DRAM size to zero => unknown | |
| 237 #endif | |
| 238 #endif | |
| 239 | |
| 240 ldr r1,=__exception_handlers | 232 ldr r1,=__exception_handlers |
| 241 #ifndef CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS | 233 #ifndef CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS |
| 242 // Wait with this if stubs are included (see further down). | 234 // Wait with this if stubs are included (see further down). |
| 243 ldr r2,[r1,#0x04] // undefined instruction | 235 ldr r2,[r1,#0x04] // undefined instruction |
| 244 str r2,[r0,#0x04] | 236 str r2,[r0,#0x04] |
