From b3ac6a8dfe10aeaf3a9c59fd145bddfff119480e Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 12 Sep 1995 19:45:42 +0000 Subject: Initial attempt at building HP PA-RISC using Solaris hosted tools. Changed back to Newlib for Solaris UNIX simulator. --- cpukit/score/src/mpci.c | 2 +- cpukit/score/src/thread.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'cpukit/score/src') diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c index ee72d6c396..33bfee80c5 100644 --- a/cpukit/score/src/mpci.c +++ b/cpukit/score/src/mpci.c @@ -67,7 +67,7 @@ void _MPCI_Handler_initialization( THREAD_QUEUE_DISCIPLINE_FIFO, STATES_WAITING_FOR_RPC_REPLY, NULL, - RTEMS_TIMEOUT + RTEMS_TIMEOUT /* XXX */ ); } diff --git a/cpukit/score/src/thread.c b/cpukit/score/src/thread.c index d507e8e075..3f58c8ef12 100644 --- a/cpukit/score/src/thread.c +++ b/cpukit/score/src/thread.c @@ -471,6 +471,9 @@ void _Thread_Close( if ( the_thread->extensions ) (void) _Workspace_Free( the_thread->extensions ); + + the_thread->Start.stack = NULL; + the_thread->extensions = NULL; } /*PAGE -- cgit v1.2.3