Last change
on this file since 397 was
396,
checked in by alain, 10 years ago
|
Housekeeping
|
-
Property svn:executable set to
*
|
File size:
1.8 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 | unsigned int _get_xy_from_ptr( void* ptr, |
---|
45 | unsigned int* x, |
---|
46 | unsigned int* y ); |
---|
47 | |
---|
48 | |
---|
49 | #endif |
---|
50 | |
---|
51 | // Local Variables: |
---|
52 | // tab-width: 4 |
---|
53 | // c-basic-offset: 4 |
---|
54 | // c-file-offsets:((innamespace . 0)(inline-open . 0)) |
---|
55 | // indent-tabs-mode: nil |
---|
56 | // End: |
---|
57 | // vim: filetype=c:expandtab:shiftwidth=4:tabstop=4:softtabstop=4 |
---|
58 | |
---|
Note: See
TracBrowser
for help on using the repository browser.