OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [tests/] [sptests/] [sp07/] [taskexit.c] - Blame information for rev 173

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  Task_exit_extension
2
 *
3
 *  This routine is the task exitted user extension.
4
 *
5
 *  Input parameters:   NONE
6
 *
7
 *  Output parameters:  NONE
8
 *
9
 *  COPYRIGHT (c) 1989-1999.
10
 *  On-Line Applications Research Corporation (OAR).
11
 *
12
 *  The license and distribution terms for this file may be
13
 *  found in the file LICENSE in this distribution or at
14
 *  http://www.OARcorp.com/rtems/license.html.
15
 *
16
 *  $Id: taskexit.c,v 1.2 2001-09-27 12:02:31 chris Exp $
17
 */
18
 
19
#include "system.h"
20
 
21
rtems_extension Task_exit_extension(
22
  rtems_tcb *running_task
23
)
24
{
25
  if ( task_number( running_task->Object.id ) > 0 ) {
26
    puts_nocr( "RTEMS_TASK_EXITTED - extension invoked for " );
27
    put_name( Task_name[ task_number( running_task->Object.id ) ], TRUE );
28
  }
29
 
30
  puts("*** END OF TEST 7 ***" );
31
  exit( 0 );
32
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.