diff options
Diffstat (limited to 'c/src/lib/libc/support.c')
-rw-r--r-- | c/src/lib/libc/support.c | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/c/src/lib/libc/support.c b/c/src/lib/libc/support.c new file mode 100644 index 0000000000..ac7b06963d --- /dev/null +++ b/c/src/lib/libc/support.c @@ -0,0 +1,44 @@ +/* + * Routines to Access Internal RTEMS Resources + * + * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. + * On-Line Applications Research Corporation (OAR). + * All rights assigned to U.S. Government, 1994. + * + * This material may be reproduced by or for the U.S. Government pursuant + * to the copyright license under the clause at DFARS 252.227-7013. This + * notice must appear in all copies of this file and its derivatives. + * + * $Id$ + * + */ + +#include <rtems/system.h> +#include <rtems/thread.h> + +void MY_task_set_note( + Thread_Control *the_thread, + unsigned32 notepad, + unsigned32 note +) +{ + the_thread->Notepads[ notepad ] = note; +} + + +unsigned32 MY_task_get_note( + Thread_Control *the_thread, + unsigned32 notepad +) +{ + return the_thread->Notepads[ notepad ]; +} + +void *MY_CPU_Context_FP_start( + void *base, + unsigned32 offset +) +{ + return _CPU_Context_Fp_start( base, offset ); +} + |