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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems/] [c/] [src/] [tests/] [sptests/] [sp07/] [taskexit.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 158 chris
/*  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 208 chris
 *  $Id: taskexit.c,v 1.2 2001-09-27 12:02:31 chris Exp $
17 158 chris
 */
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.