Last change
on this file since 367 was
294,
checked in by alain, 10 years ago
|
Introducing support for IOPIC component.
|
-
Property svn:executable set to
*
|
File size:
1.7 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[64]; |
---|
16 | |
---|
17 | ////////////////////////////////////////////////////////////////////////////////// |
---|
18 | // Prototypes os the syscall handlers (other than peripheral drivers) |
---|
19 | ////////////////////////////////////////////////////////////////////////////////// |
---|
20 | |
---|
21 | void _sys_ukn(); |
---|
22 | |
---|
23 | void _task_exit(); |
---|
24 | |
---|
25 | void _context_switch(); |
---|
26 | |
---|
27 | unsigned int _local_task_id(); |
---|
28 | |
---|
29 | unsigned int _global_task_id(); |
---|
30 | |
---|
31 | unsigned int _thread_id(); |
---|
32 | |
---|
33 | unsigned int _procs_number( unsigned int cluster_id, |
---|
34 | unsigned int* number ); |
---|
35 | |
---|
36 | unsigned int _vobj_get_vbase( char* vspace_name, |
---|
37 | char* vobj_name, |
---|
38 | unsigned int* vobj_vbase ); |
---|
39 | |
---|
40 | unsigned int _vobj_get_length( char* vspace_name, |
---|
41 | char* vobj_name, |
---|
42 | unsigned int* vobj_length ); |
---|
43 | |
---|
44 | #endif |
---|
45 | |
---|
46 | // Local Variables: |
---|
47 | // tab-width: 4 |
---|
48 | // c-basic-offset: 4 |
---|
49 | // c-file-offsets:((innamespace . 0)(inline-open . 0)) |
---|
50 | // indent-tabs-mode: nil |
---|
51 | // End: |
---|
52 | // vim: filetype=c:expandtab:shiftwidth=4:tabstop=4:softtabstop=4 |
---|
53 | |
---|
Note: See
TracBrowser
for help on using the repository browser.