4.104.114.84.95
Last change
on this file since b546242 was
98e4ebf5,
checked in by Joel Sherrill <joel.sherrill@…>, on 10/08/97 at 15:45:54
|
Fixed typo in the pointer to the license terms.
|
-
Property mode set to
100644
|
File size:
983 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Routines to Access Internal RTEMS Resources |
---|
3 | * |
---|
4 | * COPYRIGHT (c) 1989-1997. |
---|
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 | |
---|
18 | void 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 | |
---|
33 | unsigned32 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 | |
---|
45 | void *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.