summaryrefslogtreecommitdiffstats
path: root/c/src/libchip
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1995-09-29 17:19:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1995-09-29 17:19:16 +0000
commit11290355c9454c575d56c7928a725fd95e88d6f8 (patch)
tree1cd5ff063250cff764a59189f1e1956c40925a35 /c/src/libchip
parentnew programs added (diff)
downloadrtems-11290355c9454c575d56c7928a725fd95e88d6f8.tar.bz2
all targets compile .. tony's patches in place
Diffstat (limited to 'c/src/libchip')
-rw-r--r--c/src/libchip/shmdr/dump.c1
-rw-r--r--c/src/libchip/shmdr/fatal.c4
-rw-r--r--c/src/libchip/shmdr/getlq.c2
-rw-r--r--c/src/libchip/shmdr/shm_driver.h6
4 files changed, 10 insertions, 3 deletions
diff --git a/c/src/libchip/shmdr/dump.c b/c/src/libchip/shmdr/dump.c
index e028ab4204..dc02961138 100644
--- a/c/src/libchip/shmdr/dump.c
+++ b/c/src/libchip/shmdr/dump.c
@@ -19,7 +19,6 @@
#include <rtems.h>
#include <stdio.h>
-#include <libcsupport.h>
#include "shm.h"
diff --git a/c/src/libchip/shmdr/fatal.c b/c/src/libchip/shmdr/fatal.c
index fc1e9f8624..b36ff8da41 100644
--- a/c/src/libchip/shmdr/fatal.c
+++ b/c/src/libchip/shmdr/fatal.c
@@ -22,7 +22,9 @@
#include "shm.h"
void MPCI_Fatal(
- rtems_unsigned32 error
+ Internal_errors_Source source,
+ boolean is_internal,
+ rtems_unsigned32 error
)
{
/* Eventually need to attempt to broadcast a K_FATAL message
diff --git a/c/src/libchip/shmdr/getlq.c b/c/src/libchip/shmdr/getlq.c
index 180c33ef00..ebc5bed8b6 100644
--- a/c/src/libchip/shmdr/getlq.c
+++ b/c/src/libchip/shmdr/getlq.c
@@ -33,6 +33,7 @@ Shm_Envelope_control *Shm_Locked_queue_Get(
tmp_ecb = NULL;
Shm_Lock( lq_cb );
+
tmpfront = Shm_Convert(lq_cb->front);
if ( tmpfront != Shm_Locked_queue_End_of_list ) {
tmp_ecb = &Shm_Envelopes[ tmpfront ];
@@ -41,6 +42,7 @@ Shm_Envelope_control *Shm_Locked_queue_Get(
lq_cb->rear = Shm_Locked_queue_End_of_list;
tmp_ecb->next = Shm_Locked_queue_Not_on_list;
}
+
Shm_Unlock( lq_cb );
return( tmp_ecb );
}
diff --git a/c/src/libchip/shmdr/shm_driver.h b/c/src/libchip/shmdr/shm_driver.h
index 5ccb0aab6b..f4671dde97 100644
--- a/c/src/libchip/shmdr/shm_driver.h
+++ b/c/src/libchip/shmdr/shm_driver.h
@@ -470,7 +470,11 @@ void Shm_Locked_queue_Initialize(
/* portable routines */
void Init_env_pool();
void Shm_Print_statistics( void );
-void MPCI_Fatal( rtems_unsigned32 );
+void MPCI_Fatal(
+ Internal_errors_Source source,
+ boolean is_internal,
+ rtems_unsigned32 error
+ );
rtems_task Shm_Cause_interrupt( rtems_unsigned32 );
void Shm_Poll();
void Shm_setclockvec();