Mercurial > ecos-v3_0-branch
comparison packages/hal/arm/arch/current/src/vectors.S @ 16:4f2df4ab82c8 ecos-sw-1999-06-18
Merge from eCos master repository on 1999-06-18-15:25:04-BST
| author | jlarmour |
|---|---|
| date | Fri, 18 Jun 1999 07:59:09 +0000 |
| parents | 01ce82f3e11a |
| children | 5f5102441818 |
comparison
equal
deleted
inserted
replaced
| 15:c0d8793d9978 | 16:4f2df4ab82c8 |
|---|---|
| 64 _name: | 64 _name: |
| 65 | 65 |
| 66 #define PTR(name) \ | 66 #define PTR(name) \ |
| 67 .##name: .word name | 67 .##name: .word name |
| 68 | 68 |
| 69 #ifdef CYGHWR_HAL_ARM_HAS_MMU | |
| 70 #define UNMAPPED(x) ((x)-__exception_handlers) | |
| 71 #else | |
| 72 #define UNMAPPED(x) (x) | |
| 73 #endif | |
| 74 | |
| 75 #define UNMAPPED_PTR(name) \ | |
| 76 .##name: .word UNMAPPED(name) | |
| 77 | |
| 69 | 78 |
| 70 .file "vectors.S" | 79 .file "vectors.S" |
| 71 | 80 |
| 72 | 81 |
| 73 //========================================================================== | 82 //========================================================================== |
| 89 | 98 |
| 90 // The layout of these pointers should match the vector table above since | 99 // The layout of these pointers should match the vector table above since |
| 91 // they are copied in pairs. | 100 // they are copied in pairs. |
| 92 .global vectors | 101 .global vectors |
| 93 vectors: | 102 vectors: |
| 94 PTR(reset_vector) | 103 UNMAPPED_PTR(reset_vector) |
| 95 PTR(undefined_instruction) | 104 PTR(undefined_instruction) |
| 96 PTR(software_interrupt) | 105 PTR(software_interrupt) |
| 97 PTR(abort_prefetch) | 106 PTR(abort_prefetch) |
| 98 PTR(abort_data) | 107 PTR(abort_data) |
| 99 .word 0 | 108 .word 0 |
