2009-10-17 Till Straumann <strauman@slac.stanford.edu>

* network/tsec.c: rtems 4.10 no longer allows simple binary
	semaphores to have priority inheritance attribute; use ordinary
	binary semaphore instead.
This commit is contained in:
Till Straumann
2009-10-17 22:26:23 +00:00
parent 0a8f902e76
commit 887e1cb4ea
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2009-10-17 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c: rtems 4.10 no longer allows simple binary
semaphores to have priority inheritance attribute; use ordinary
binary semaphore instead.
2009-10-17 Till Straumann <strauman@slac.stanford.edu> 2009-10-17 Till Straumann <strauman@slac.stanford.edu>
* network/if_tsec_pub.h, network/tsec.c: Enhanced low-level * network/if_tsec_pub.h, network/tsec.c: Enhanced low-level

View File

@@ -1190,7 +1190,7 @@ struct ifnet *ifp;
sc = rtems_semaphore_create( sc = rtems_semaphore_create(
rtems_build_name('t','s','e','X'), rtems_build_name('t','s','e','X'),
1, 1,
RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_PRIORITY | RTEMS_INHERIT_PRIORITY | RTEMS_DEFAULT_ATTRIBUTES, RTEMS_BINARY_SEMAPHORE | RTEMS_PRIORITY | RTEMS_INHERIT_PRIORITY | RTEMS_DEFAULT_ATTRIBUTES,
0, 0,
&new_mtx); &new_mtx);
if ( RTEMS_SUCCESSFUL != sc ) { if ( RTEMS_SUCCESSFUL != sc ) {