summaryrefslogtreecommitdiffstats
path: root/c/src/ada-tests/support/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-06-03 00:34:04 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-06-03 00:34:04 +0000
commitd0f426a1bf1233f0d166b358071ea28311e9aa30 (patch)
tree06593682a0114e67855a0ea41dc12d72e01550ef /c/src/ada-tests/support/init.c
parentadded rtems_interrupt_level_attribute routien to return a properly (diff)
downloadrtems-d0f426a1bf1233f0d166b358071ea28311e9aa30.tar.bz2
*** empty log message ***
Diffstat (limited to 'c/src/ada-tests/support/init.c')
-rw-r--r--c/src/ada-tests/support/init.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/c/src/ada-tests/support/init.c b/c/src/ada-tests/support/init.c
index c716311d80..de686055de 100644
--- a/c/src/ada-tests/support/init.c
+++ b/c/src/ada-tests/support/init.c
@@ -10,6 +10,7 @@
* $Id$
*/
+#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <bsp.h>
void *POSIX_Init(
@@ -23,5 +24,16 @@ void *POSIX_Init(
exit( 0 );
}
+/*
+ * Only for sp04
+ */
+
+rtems_id tcb_to_id(
+ Thread_Control *tcb
+)
+{
+ return tcb->Object.id;
+}
+
#define CONFIGURE_INIT
#include "config.h"