Cygwin: unlink_nt: clean up debug output and comment
[newlib-cygwin.git] / newlib / libc / machine / cr16 / sys / libh.h
blob75f7c791da50407f4af7106f76ff467ae0660447
1 /* libh.h -- CR16 default handlers
3 * Copyright (c) 2004 National Semiconductor Corporation
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.
16 #ifndef _LIBH
17 #define _LIBH
19 /* These are the first 16 entries of the default dispatch table as defined
20 in the CompactRISC architecture:
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
42 extern void (* const _dispatch_table[])(void);
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);
51 #endif /* _LIBH */