Last change
on this file since 667 was
440,
checked in by alain, 10 years ago
|
Introducing dynamic allocation of peripheral channels (NIC, TTY, CMA, TIM)
Intoducing a kernel function for all system calls: No more direct call
to the peripheral drivers.
|
-
Property svn:executable set to
*
|
File size:
874 bytes
|
Rev | Line | |
---|
[258] | 1 | /////////////////////////////////////////////////////////////////////////////////// |
---|
| 2 | // File : exc_handler.h |
---|
| 3 | // Date : 01/04/2012 |
---|
| 4 | // Author : alain greiner and joel porquet |
---|
| 5 | // Copyright (c) UPMC-LIP6 |
---|
| 6 | /////////////////////////////////////////////////////////////////////////////////// |
---|
[440] | 7 | // The exc_handler.c and exc_handler.h files are part of the GIET nano-kernel. |
---|
| 8 | // They define the exception handler code. |
---|
| 9 | /////////////////////////////////////////////////////////////////////////////////// |
---|
[258] | 10 | |
---|
[440] | 11 | |
---|
[258] | 12 | #ifndef _EXCP_HANDLER_H |
---|
| 13 | #define _EXCP_HANDLER_H |
---|
| 14 | |
---|
| 15 | /////////////////////////////////////////////////////////////////////////////////// |
---|
[440] | 16 | // Exception Vector Table (indexed by cause register XCODE field) |
---|
[258] | 17 | /////////////////////////////////////////////////////////////////////////////////// |
---|
| 18 | |
---|
| 19 | typedef void (*_exc_func_t)(void); |
---|
[440] | 20 | |
---|
[258] | 21 | extern const _exc_func_t _cause_vector[16]; |
---|
| 22 | |
---|
| 23 | #endif |
---|
| 24 | |
---|
Note: See
TracBrowser
for help on using the repository browser.