Last change
on this file since 444 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
1.3 KB
|
Line | |
---|
1 | /* libh.h -- CR16 default handlers |
---|
2 | * |
---|
3 | * Copyright (c) 2004 National Semiconductor Corporation |
---|
4 | * |
---|
5 | * The authors hereby grant permission to use, copy, modify, distribute, |
---|
6 | * and license this software and its documentation for any purpose, provided |
---|
7 | * that existing copyright notices are retained in all copies and that this |
---|
8 | * notice is included verbatim in any distributions. No written agreement, |
---|
9 | * license, or royalty fee is required for any of the authorized uses. |
---|
10 | * Modifications to this software may be copyrighted by their authors |
---|
11 | * and need not follow the licensing terms described here, provided that |
---|
12 | * the new terms are clearly indicated on the first page of each file where |
---|
13 | * they apply. |
---|
14 | */ |
---|
15 | |
---|
16 | #ifndef _LIBH |
---|
17 | #define _LIBH |
---|
18 | |
---|
19 | /* These are the first 16 entries of the default dispatch table as defined |
---|
20 | in the CompactRISC architecture: |
---|
21 | |
---|
22 | Entry Function |
---|
23 | ----- -------- |
---|
24 | 0 NULL |
---|
25 | 1 nmi |
---|
26 | 2 NULL |
---|
27 | 3 NULL |
---|
28 | 4 NULL |
---|
29 | 5 svc |
---|
30 | 6 dvz |
---|
31 | 7 flg |
---|
32 | 8 bpt |
---|
33 | 9 trc |
---|
34 | 10 und |
---|
35 | 11 NULL |
---|
36 | 12 iad |
---|
37 | 13 NULL |
---|
38 | 14 dbg |
---|
39 | 15 ise |
---|
40 | */ |
---|
41 | |
---|
42 | extern void (* const _dispatch_table[])(void); |
---|
43 | |
---|
44 | /* Function prototypes */ |
---|
45 | void svc_handler(void); |
---|
46 | void dvz_handler(void); |
---|
47 | void flg_handler(void); |
---|
48 | void und_handler(void); |
---|
49 | void iad_handler(void); |
---|
50 | |
---|
51 | #endif /* _LIBH */ |
---|
Note: See
TracBrowser
for help on using the repository browser.