|
Last change
on this file since 532 was
440,
checked in by alain, 11 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
|
| Line | |
|---|
| 1 | /////////////////////////////////////////////////////////////////////////////////// |
|---|
| 2 | // File : exc_handler.h |
|---|
| 3 | // Date : 01/04/2012 |
|---|
| 4 | // Author : alain greiner and joel porquet |
|---|
| 5 | // Copyright (c) UPMC-LIP6 |
|---|
| 6 | /////////////////////////////////////////////////////////////////////////////////// |
|---|
| 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 | /////////////////////////////////////////////////////////////////////////////////// |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | #ifndef _EXCP_HANDLER_H |
|---|
| 13 | #define _EXCP_HANDLER_H |
|---|
| 14 | |
|---|
| 15 | /////////////////////////////////////////////////////////////////////////////////// |
|---|
| 16 | // Exception Vector Table (indexed by cause register XCODE field) |
|---|
| 17 | /////////////////////////////////////////////////////////////////////////////////// |
|---|
| 18 | |
|---|
| 19 | typedef void (*_exc_func_t)(void); |
|---|
| 20 | |
|---|
| 21 | extern const _exc_func_t _cause_vector[16]; |
|---|
| 22 | |
|---|
| 23 | #endif |
|---|
| 24 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.