forked from Imagelibrary/rtems
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:
@@ -1,6 +1,12 @@
|
|||||||
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/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>
|
||||||
|
|
||||||
|
* network/if_tsec_pub.h, network/tsec.c: Enhanced low-level
|
||||||
API allowing the user to selectively enable/disable/acknowledge
|
API allowing the user to selectively enable/disable/acknowledge
|
||||||
interrupts and to install their own ISR (rather than having
|
interrupts and to install their own ISR (rather than having
|
||||||
the driver posting an event to a single task).
|
the driver posting an event to a single task).
|
||||||
|
|||||||
@@ -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 ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user