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

Last change on this file since 235 was 228, checked in by meunier, 11 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
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 _procs_number(unsigned int cluster_id, unsigned int * buffer );
27unsigned 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.