Last change
on this file since 236 was
228,
checked in by meunier, 12 years ago
|
Added support for memspaces and const.
Added an interrupt masking to the "giet_context_switch" syscall
Corrected two bugs in boot/boot_init.c (one minor and one regarding barriers initialization)
Reformatted the code in all files.
|
File size:
1.3 KB
|
Rev | Line | |
---|
[158] | 1 | /////////////////////////////////////////////////////////////////////////////////// |
---|
| 2 | // File : sys_handler.h |
---|
| 3 | // Date : 01/04/2012 |
---|
| 4 | // Author : alain greiner and joel porquet |
---|
| 5 | // Copyright (c) UPMC-LIP6 |
---|
| 6 | /////////////////////////////////////////////////////////////////////////////////// |
---|
| 7 | |
---|
| 8 | #ifndef _SYS_HANDLER_H |
---|
| 9 | #define _SYS_HANDLER_H |
---|
| 10 | |
---|
| 11 | ////////////////////////////////////////////////////////////////////////////////// |
---|
[228] | 12 | // Syscall Vector Table (indexed by syscall index) |
---|
[158] | 13 | ////////////////////////////////////////////////////////////////////////////////// |
---|
| 14 | |
---|
[228] | 15 | extern const void * _syscall_vector[32]; |
---|
[158] | 16 | |
---|
| 17 | ////////////////////////////////////////////////////////////////////////////////// |
---|
| 18 | // Prototypes os the syscall handlers (other than peripheral drivers) |
---|
| 19 | ////////////////////////////////////////////////////////////////////////////////// |
---|
| 20 | |
---|
[228] | 21 | void _sys_ukn(); |
---|
| 22 | void _exit(); |
---|
| 23 | void _context_switch(); |
---|
| 24 | unsigned int _procid(); |
---|
| 25 | unsigned int _proctime(); |
---|
| 26 | unsigned int _procs_number(unsigned int cluster_id, unsigned int * buffer ); |
---|
| 27 | unsigned int _vobj_get_vbase(char * vspace_name, char * vobj_name, unsigned vobj_type, unsigned int * vobj_buffer); |
---|
[158] | 28 | |
---|
[228] | 29 | #endif |
---|
[158] | 30 | |
---|
[228] | 31 | // Local Variables: |
---|
| 32 | // tab-width: 4 |
---|
| 33 | // c-basic-offset: 4 |
---|
| 34 | // c-file-offsets:((innamespace . 0)(inline-open . 0)) |
---|
| 35 | // indent-tabs-mode: nil |
---|
| 36 | // End: |
---|
| 37 | // vim: filetype=c:expandtab:shiftwidth=4:tabstop=4:softtabstop=4 |
---|
[158] | 38 | |
---|
Note: See
TracBrowser
for help on using the repository browser.