source: rtems/c/src/lib/libc/support.c @ 21bfd93

4.104.114.84.95
Last change on this file since 21bfd93 was 60b791ad, checked in by Joel Sherrill <joel.sherrill@…>, on 02/17/98 at 23:46:28

updated copyright to 1998

  • Property mode set to 100644
File size: 983 bytes
Line 
1/*
2 *  Routines to Access Internal RTEMS Resources
3 *
4 *  COPYRIGHT (c) 1989-1998.
5 *  On-Line Applications Research Corporation (OAR).
6 *  Copyright assigned to U.S. Government, 1994.
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.OARcorp.com/rtems/license.html.
11 *
12 *  $Id$
13 *
14 */
15
16#include <rtems.h>
17
18void MY_task_set_note(
19  Thread_Control *the_thread,
20  unsigned32      notepad,
21  unsigned32      note
22)
23{
24  RTEMS_API_Control    *api;
25 
26  api = the_thread->API_Extensions[ THREAD_API_RTEMS ];
27
28  if ( api )
29    api->Notepads[ notepad ] = note;
30}
31
32
33unsigned32 MY_task_get_note(
34  Thread_Control *the_thread,
35  unsigned32      notepad
36)
37{
38  RTEMS_API_Control    *api;
39 
40  api = the_thread->API_Extensions[ THREAD_API_RTEMS ];
41
42  return api->Notepads[ notepad ];
43}
44
45void *MY_CPU_Context_FP_start(
46  void       *base,
47  unsigned32  offset
48)
49{
50  return _CPU_Context_Fp_start( base, offset );
51}
52
Note: See TracBrowser for help on using the repository browser.