source: soft/giet_vm/sys/sys_handler.h @ 253

Last change on this file since 253 was 238, checked in by alain, 11 years ago

Major evolution to support physical addresses larger than 32 bits.
The map.xml format has been modified: the vsegs associated to schedulers
are now explicitely defined and mapped in the page tables.

File size: 1.6 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
15extern const void * _syscall_vector[32];
16
17//////////////////////////////////////////////////////////////////////////////////
18// Prototypes os the syscall handlers (other than peripheral drivers)
19//////////////////////////////////////////////////////////////////////////////////
20
21void         _sys_ukn();
22void         _exit();
23void         _context_switch();
24unsigned int _procid();
25unsigned int _proctime();
26unsigned int _local_task_id();
27unsigned int _global_task_id();
28
29unsigned int _procs_number( unsigned int  cluster_id, 
30                            unsigned int* buffer );
31
32unsigned int _vobj_get_vbase( char*         vspace_name, 
33                              char*         vobj_name, 
34                              unsigned      vobj_type, 
35                              unsigned int* vobj_buffer);
36
37#endif
38
39// Local Variables:
40// tab-width: 4
41// c-basic-offset: 4
42// c-file-offsets:((innamespace . 0)(inline-open . 0))
43// indent-tabs-mode: nil
44// End:
45// vim: filetype=c:expandtab:shiftwidth=4:tabstop=4:softtabstop=4
46
Note: See TracBrowser for help on using the repository browser.