OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

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

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

Line No. Rev Author Line
1 30 unneback
/*  Task_create_extension
2
 *
3
 *  This routine is the tcreate user extension.
4
 *
5
 *  Input parameters:
6
 *    unused       - pointer to currently running TCB
7
 *    created_task - pointer to new TCB being created
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: tcreate.c,v 1.2 2001-09-27 12:02:31 chris Exp $
19
 */
20
 
21
#include "system.h"
22
 
23
rtems_boolean Task_create_extension(
24
  rtems_tcb *unused,
25
  rtems_tcb *created_task
26
)
27
{
28
  if ( task_number( created_task->Object.id ) > 0 ) {
29
    puts_nocr( "TASK_CREATE - " );
30
    put_name( Task_name[ task_number( created_task->Object.id ) ], FALSE );
31
    puts( " - created." );
32
  }
33
  return TRUE;
34
}

powered by: WebSVN 2.1.0

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