source: rtems/c/src/lib/libc/support.c @ ac7d5ef0

4.104.114.84.95
Last change on this file since ac7d5ef0 was ac7d5ef0, checked in by Joel Sherrill <joel.sherrill@…>, on 05/11/95 at 17:39:37

Initial revision

  • Property mode set to 100644
File size: 922 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->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->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.