diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-06-12 17:20:42 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-06-12 17:20:42 +0000 |
commit | ba6f12b7e42e9d85102e83b27d1e7ea65107f0e4 (patch) | |
tree | 582fbdfa085a603fe27df65a8c8fd910a8e4ad87 /c/src/lib/libbsp/shared/umon/umonrtemsglue.c | |
parent | Add new test for error cases in _Objects_Name_to_id_string which is currently... (diff) | |
download | rtems-ba6f12b7e42e9d85102e83b27d1e7ea65107f0e4.tar.bz2 |
2009-06-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* umon/README, umon/cli.h, umon/monlib.c, umon/monlib.h, umon/tfs.h,
umon/tfsDriver.c, umon/umonrtemsglue.c: New files.
Diffstat (limited to 'c/src/lib/libbsp/shared/umon/umonrtemsglue.c')
-rw-r--r-- | c/src/lib/libbsp/shared/umon/umonrtemsglue.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/shared/umon/umonrtemsglue.c b/c/src/lib/libbsp/shared/umon/umonrtemsglue.c new file mode 100644 index 0000000000..0e1e5dc78b --- /dev/null +++ b/c/src/lib/libbsp/shared/umon/umonrtemsglue.c @@ -0,0 +1,26 @@ +/* + * COPYRIGHT (c) 1989-2009. + * On-Line Applications Research Corporation (OAR). + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + * + * $Id$ + */ + +#include <umon/monlib.h> + +/* XXX eventually add lock/unlock methods */ + +void rtems_umon_connect(void) +{ + void *moncomptr; + + moncomptr = rtems_bsp_get_umon_monptr(); + monConnect( + (int(*)())(*(unsigned long *)moncomptr), /* monitor base */ + (void *)0, /* lock */ + (void *)0 /* unlock */ + ); +} |