Changeset 519 for soft/giet_vm/giet_kernel/sys_handler.h
- Timestamp:
- Mar 10, 2015, 3:01:43 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_kernel/sys_handler.h
r516 r519 1 /////////////////////////////////////////////////////////////////////////////// ////1 /////////////////////////////////////////////////////////////////////////////// 2 2 // File : sys_handler.h 3 3 // Date : 01/04/2012 4 // Author : alain greiner and joel porquet4 // Author : alain greiner 5 5 // Copyright (c) UPMC-LIP6 6 /////////////////////////////////////////////////////////////////////////////// ////7 // The sys_handler.c and sys_handler.h files are part of the GIET-VM nano-kernel.6 /////////////////////////////////////////////////////////////////////////////// 7 // The sys_handler.c and sys_handler.h files are part of the GIET-VM kernel. 8 8 // It define the syscall_vector[] (at the end of this file), as well as the 9 9 // associated syscall handlers. 10 /////////////////////////////////////////////////////////////////////////////// ////10 /////////////////////////////////////////////////////////////////////////////// 11 11 12 12 #ifndef _SYS_HANDLER_H … … 15 15 #include "giet_config.h" 16 16 #include "kernel_locks.h" 17 #include "stdio.h" 17 18 18 19 /////////////////////////////////////////////////////////////////////////////// … … 74 75 } nic_chbuf_t; 75 76 77 78 79 80 /////////////////////////////////////////////////////////////////////////////// 81 // Coprocessors related syscall handlers 82 /////////////////////////////////////////////////////////////////////////////// 83 84 int _sys_coproc_alloc( unsigned int coproc_type, 85 unsigned int* coproc_info, 86 unsigned int* cluster_xy ); 87 88 int _sys_coproc_release( unsigned int cluster_xy ); 89 90 int _sys_coproc_channel_init( unsigned int cluster_xy, 91 unsigned int channel, 92 giet_coproc_channel_t* desc ); 93 94 int _sys_coproc_channel_start( unsigned int cluster_xy, 95 unsigned int channel ); 96 97 int _sys_coproc_channel_stop( unsigned int cluster_xy, 98 unsigned int channel ); 99 100 int _sys_coproc_completed( unsigned int cluster_xy ); 101 76 102 /////////////////////////////////////////////////////////////////////////////// 77 103 // TTY related syscall handlers … … 93 119 int _sys_tty_release_lock( unsigned int channel, 94 120 unsigned int * save_sr_ptr ); 121 122 int _sys_coproc_register_set( unsigned int cluster_xy, 123 unsigned int reg_index, 124 unsigned int value ); 125 126 int _sys_coproc_register_get( unsigned int cluster_xy, 127 unsigned int reg_index, 128 unsigned int* buffer ); 95 129 96 130 //////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.