OSDN Git Service

add Simple Microblaze Microcontroler sample
[hos/hos-v4a.git] / sample / mb / smm / gcc / vectors.S
1 /* ------------------------------------------------------------------------ */
2 /*  Hyper Operating System V4  サンプルプログラム                           */
3 /*    ベクタテーブル                                                        */
4 /*                                                                          */
5 /*                                  Copyright (C) 1998-2011 by Project HOS  */
6 /*                                  http://sourceforge.jp/projects/hos/     */
7 /* ------------------------------------------------------------------------ */
8
9
10                 /* --- 外部定数宣言 */
11                                 .global _reset_handler
12                                 .global _kernel_exc_hdr
13                                 .global _kernel_int_hdr
14                                 .global _kernel_brk_hdr
15                                 .global _kernel_hwe_hdr
16
17
18                                 .align  2
19
20 /* --------------------------------------- */
21 /*            ベクタ定義                   */
22 /* --------------------------------------- */
23
24                                 .section        .vectors.reset, "ax"
25                                 brai    _reset_handler
26
27                                 .section        .vectors.sw_exception, "ax"
28                                 bri             _kernel_exc_hdr
29
30                                 .section        .vectors.interrupt, "ax"
31                                 bri             _kernel_int_hdr
32
33                                 .section        .vectors.hw_exception, "ax"
34                                 bri             _kernel_hwe_hdr
35
36
37
38 /* end of file */