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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems/] [c/] [src/] [exec/] [itron/] [src/] [rel_wai.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 158 chris
/*
2
 *  COPYRIGHT (c) 1989-1999.
3
 *  On-Line Applications Research Corporation (OAR).
4
 *
5
 *  The license and distribution terms for this file may be
6
 *  found in the file LICENSE in this distribution or at
7
 *  http://www.OARcorp.com/rtems/license.html.
8
 *
9 208 chris
 *  $Id: rel_wai.c,v 1.2 2001-09-27 11:59:13 chris Exp $
10 158 chris
 */
11
 
12
#include <itron.h>
13
 
14
#include <rtems/score/thread.h>
15
#include <rtems/score/userext.h>
16
#include <rtems/score/wkspace.h>
17
#include <rtems/score/apiext.h>
18
#include <rtems/score/sysstate.h>
19
 
20
#include <rtems/itron/task.h>
21
 
22
/*
23
 *  rel_wai - Release Wait of Other Task
24
 */
25
 
26
ER rel_wai(
27
  ID tskid
28
)
29
{
30
  register Thread_Control *the_thread;
31
  Objects_Locations        location;
32
 
33
  the_thread = _ITRON_Task_Get( tskid, &location );
34
  switch ( location ) {
35
    case OBJECTS_REMOTE:
36
    case OBJECTS_ERROR:
37
      return _ITRON_Task_Clarify_get_id_error( tskid );
38
 
39
    case OBJECTS_LOCAL:
40
      /*
41
       * XXX - FILL ME IN.
42
       */
43
 
44
      break;
45
  }
46
 
47
  _ITRON_return_errorno( E_OK );
48
}
49
 
50
 
51
 

powered by: WebSVN 2.1.0

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