source: umon/main/cpu/arm/vectors_arm.S @ a7b6f00

Last change on this file since a7b6f00 was a7b6f00, checked in by Ed Sutter <edsutterjr@…>, on Aug 4, 2015 at 1:35:50 AM

tree cleanup using 'astyle --unpad-paren --align-pointer=name --lineend=linux --add-brackets --convert-tabs --style=knf -A4 FILENAME'

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/**************************************************************************
2 *
3 * Copyright (c) 2013 Alcatel-Lucent
4 *
5 * Alcatel Lucent licenses this file to You under the Apache License,
6 * Version 2.0 (the "License"); you may not use this file except in
7 * compliance with the License.  A copy of the License is contained the
8 * file LICENSE at the top level of this repository.
9 * You may also obtain a copy of the License at:
10 *
11 *      http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 *
19 **************************************************************************
20 *
21 * vectors_arm.S
22 *
23 * Minimalist exception handlers...
24 * Catch the exception, call generic handler with exception-specific id.
25 *
26 * Original author:     Ed Sutter (ed.sutter@alcatel-lucent.com)
27 *
28 */
29
30#include "arm.h"
31
32.global undefined_instruction
33undefined_instruction:
34mov r1, #EXCTYPE_UNDEF
35b umon_exception
36
37.global software_interrupt
38software_interrupt:
39mov r1, #EXCTYPE_SWI
40b umon_exception
41
42.global abort_prefetch
43abort_prefetch:
44mov r1, #EXCTYPE_ABORTP
45b umon_exception
46
47.global abort_data
48abort_data:
49mov r1, #EXCTYPE_ABORTD
50b umon_exception
51
52.global not_assigned
53not_assigned:
54mov r1, #EXCTYPE_NOTASSGN
55b umon_exception
56
57.global interrupt_request
58interrupt_request:
59mov r1, #EXCTYPE_IRQ
60b umon_exception
61
62.global fast_interrupt_request
63fast_interrupt_request:
64mov r1, #EXCTYPE_FIRQ
65b umon_exception
Note: See TracBrowser for help on using the repository browser.