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

Subversion Repositories openrisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  Task_restart_extension
2
 *
3
 *  This routine is the trestart user extension.
4
 *
5
 *  Input parameters:
6
 *    unused          - pointer to currently running TCB
7
 *    restarted_task  - pointer to new TCB being started
8
 *
9
 *  Output parameters:  NONE
10
 *
11
 *  COPYRIGHT (c) 1989-1999.
12
 *  On-Line Applications Research Corporation (OAR).
13
 *
14
 *  The license and distribution terms for this file may be
15
 *  found in the file LICENSE in this distribution or at
16
 *  http://www.OARcorp.com/rtems/license.html.
17
 *
18
 *  $Id: trestart.c,v 1.2 2001-09-27 12:02:31 chris Exp $
19
 */
20
 
21
#include "system.h"
22
 
23
void Task_restart_extension(
24
  rtems_tcb *unused,
25
  rtems_tcb *restarted_task
26
)
27
{
28
  if ( task_number( restarted_task->Object.id ) > 0 ) {
29
    puts_nocr( "TASK_RESTART - " );
30
    put_name( Task_name[ task_number( restarted_task->Object.id ) ], FALSE );
31
    puts( " - restarted." );
32
  }
33
}

powered by: WebSVN 2.1.0

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