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/] [mptests/] [mp03/] [delay.c] - Blame information for rev 509

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

Line No. Rev Author Line
1 30 unneback
/*  Delayed_send_event
2
 *
3
 *  This routine is a timer service routine which sends an event to task 1.
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: delay.c,v 1.2 2001-09-27 12:02:17 chris Exp $
17
 */
18
 
19
#include "system.h"
20
 
21
rtems_timer_service_routine Delayed_send_event(
22
  rtems_id  ignored_id,
23
  void     *ignored_address
24
)
25
{
26
  rtems_status_code status;
27
 
28
  status = rtems_event_send( Task_id[ 1 ], RTEMS_EVENT_16 );
29
  directive_failed( status, "rtems_event_send" );
30
}

powered by: WebSVN 2.1.0

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