4.115
Last change
on this file since a36094f was
c499856,
checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47
|
Change all references of rtems.com to rtems.org.
|
-
Property mode set to
100644
|
File size:
882 bytes
|
Line | |
---|
1 | /* |
---|
2 | * COPYRIGHT (c) 1989-2009. |
---|
3 | * On-Line Applications Research Corporation (OAR). |
---|
4 | * |
---|
5 | * Modified by Fernando Nicodemos <fgnicodemos@terra.com.br> |
---|
6 | * from NCB - Sistemas Embarcados Ltda. (Brazil) |
---|
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.rtems.org/license/LICENSE. |
---|
11 | */ |
---|
12 | |
---|
13 | #include <rtems/umon.h> |
---|
14 | |
---|
15 | /* XXX eventually add lock/unlock methods */ |
---|
16 | |
---|
17 | static int rtems_umon_connected = 0; |
---|
18 | |
---|
19 | void rtems_umon_connect(void) |
---|
20 | { |
---|
21 | int(*moncomptr)(int,void *,void *,void *); |
---|
22 | |
---|
23 | if ( rtems_umon_connected ) |
---|
24 | return; |
---|
25 | |
---|
26 | rtems_umon_connected = 1; |
---|
27 | |
---|
28 | moncomptr = rtems_bsp_get_umon_monptr(); |
---|
29 | monConnect( |
---|
30 | moncomptr, /* monitor base */ |
---|
31 | (void *)0, /* lock */ |
---|
32 | (void *)0 /* unlock */ |
---|
33 | ); |
---|
34 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.