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
|
Line | |
---|
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 | ////////////////////////////////////////////////////////////////////////////////// |
---|
12 | // Syscall Vector Table (indexed by syscall index) |
---|
13 | ////////////////////////////////////////////////////////////////////////////////// |
---|
14 | |
---|
15 | extern const void * _syscall_vector[32]; |
---|
16 | |
---|
17 | ////////////////////////////////////////////////////////////////////////////////// |
---|
18 | // Prototypes os the syscall handlers (other than peripheral drivers) |
---|
19 | ////////////////////////////////////////////////////////////////////////////////// |
---|
20 | |
---|
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); |
---|
28 | |
---|
29 | #endif |
---|
30 | |
---|
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 |
---|
38 | |
---|
Note: See
TracBrowser
for help on using the repository browser.