Changeset 523 for soft/giet_vm/giet_common/kernel_locks.h
- Timestamp:
- Mar 10, 2015, 3:21:01 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_common/kernel_locks.h
r495 r523 1 ////////////////////////////////////////////////////////////////////////////// /////1 ////////////////////////////////////////////////////////////////////////////// 2 2 // File : kernel_locks.h 3 3 // Date : 01/12/2014 4 4 // Author : alain greiner 5 5 // Copyright (c) UPMC-LIP6 6 ////////////////////////////////////////////////////////////////////////////// /////6 ////////////////////////////////////////////////////////////////////////////// 7 7 // The locks.c and locks.h files are part of the GIET-VM nano-kernel. 8 8 // They define both atomic increment operations and three types of locks. 9 ////////////////////////////////////////////////////////////////////////////// /////9 ////////////////////////////////////////////////////////////////////////////// 10 10 11 11 #ifndef GIET_LOCKS_H … … 14 14 #include "hard_config.h" 15 15 16 ////////////////////////////////////////////////////////////////////////////// /////16 ////////////////////////////////////////////////////////////////////////////// 17 17 // Simple lock structure and access functions 18 ////////////////////////////////////////////////////////////////////////////// /////18 ////////////////////////////////////////////////////////////////////////////// 19 19 20 20 typedef struct simple_lock_s … … 28 28 extern void _simple_lock_release( simple_lock_t* lock ); 29 29 30 ////////////////////////////////////////////////////////////////////////////// /////30 ////////////////////////////////////////////////////////////////////////////// 31 31 // Queuing lock structure and access functions 32 ////////////////////////////////////////////////////////////////////////////// /////32 ////////////////////////////////////////////////////////////////////////////// 33 33 34 34 typedef struct spin_lock_s … … 49 49 50 50 51 ///////////////////////////////////////////////////////////////////////////// /////51 ///////////////////////////////////////////////////////////////////////////// 52 52 // SQT lock structures and access functions 53 ///////////////////////////////////////////////////////////////////////////// /////53 ///////////////////////////////////////////////////////////////////////////// 54 54 55 55 typedef struct sqt_lock_node_s
Note: See TracChangeset
for help on using the changeset viewer.