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

4.104.114.84.95
Last change on this file since a5f56a43 was b3ac6a8d, checked in by Joel Sherrill <joel.sherrill@…>, on 09/12/95 at 19:45:42

Initial attempt at building HP PA-RISC using Solaris hosted tools.

Changed back to Newlib for Solaris UNIX simulator.

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