source: rtems/c/src/lib/libc/support.c @ 7f6a24ab

4.104.114.84.95
Last change on this file since 7f6a24ab was 7f6a24ab, checked in by Joel Sherrill <joel.sherrill@…>, on 08/28/95 at 15:30:29

Added unused priority ceiling parameter to rtems_semaphore_create.

Rearranged code to created thread handler routines to initialize,
start, restart, and "close/delete" a thread.

Made internal threads their own object class. This now uses the
thread support routines for starting and initializing a thread.

Insured deleted tasks are freed to the Inactive pool associated with the
correct Information block.

Added an RTEMS API specific data area to the thread control block.

Beginnings of removing the word "rtems" from the core.

  • Property mode set to 100644
File size: 944 bytes
Line 
1/*
2 *  Routines to Access Internal RTEMS Resources
3 *
4 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
5 *  On-Line Applications Research Corporation (OAR).
6 *  All rights assigned to U.S. Government, 1994.
7 *
8 *  This material may be reproduced by or for the U.S. Government pursuant
9 *  to the copyright license under the clause at DFARS 252.227-7013.  This
10 *  notice must appear in all copies of this file and its derivatives.
11 *
12 *  $Id$
13 *
14 */
15
16#include <rtems/system.h>
17#include <rtems/thread.h>
18
19void MY_task_set_note(
20  Thread_Control *the_thread,
21  unsigned32      notepad,
22  unsigned32      note
23)
24{
25  the_thread->RTEMS_API->Notepads[ notepad ] = note;
26}
27
28
29unsigned32 MY_task_get_note(
30  Thread_Control *the_thread,
31  unsigned32      notepad
32)
33{
34  return the_thread->RTEMS_API->Notepads[ notepad ];
35}
36
37void *MY_CPU_Context_FP_start(
38  void       *base,
39  unsigned32  offset
40)
41{
42  return _CPU_Context_Fp_start( base, offset );
43}
44
Note: See TracBrowser for help on using the repository browser.