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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 158 chris
/*  Task_start_extension
2
 *
3
 *  This routine is the tstart user extension.
4
 *
5
 *  Input parameters:
6
 *    unused        - pointer to currently running TCB
7
 *    started_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 208 chris
 *  $Id: tstart.c,v 1.2 2001-09-27 12:02:31 chris Exp $
19 158 chris
 */
20
 
21
#include "system.h"
22
 
23
rtems_extension Task_start_extension(
24
  rtems_tcb *unused,
25
  rtems_tcb *started_task
26
)
27
{
28
  if ( task_number( started_task->Object.id ) > 0 ) {
29
    puts_nocr( "TASK_START - " );
30
    put_name( Task_name[ task_number( started_task->Object.id ) ], FALSE );
31
    puts( " - started." );
32
  }
33
}

powered by: WebSVN 2.1.0

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