2008-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>

* libfs/src/pipe/fifo.c: Actually disable initializing pipes as
	requested in confdefs.h.
This commit is contained in:
Joel Sherrill
2008-12-03 17:38:21 +00:00
parent b2d7d16566
commit 9efa012d9b
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -1,3 +1,8 @@
2008-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/pipe/fifo.c: Actually disable initializing pipes as
requested in confdefs.h.
2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Add disable of pipes by default since they
+4
View File
@@ -22,6 +22,7 @@
extern uint16_t rtems_pipe_no;
static rtems_id rtems_pipe_semaphore = 0;
extern bool rtems_pipe_configured;
#define PIPE_EMPTY(_pipe) (_pipe->Length == 0)
@@ -534,6 +535,9 @@ int pipe_lseek(
*/
void rtems_pipe_initialize (void)
{
if (!rtems_pipe_configured)
return;
if (rtems_pipe_semaphore)
return;