5
Last change
on this file since 0e6f7dc4 was
0e6f7dc4,
checked in by Sebastian Huber <sebastian.huber@…>, on 08/10/18 at 05:10:20
|
bsps/sparc: Fix external variable declarations
|
-
Property mode set to
100644
|
File size:
890 bytes
|
Line | |
---|
1 | /* |
---|
2 | * COPYRIGHT (c) 1989-1998. |
---|
3 | * On-Line Applications Research Corporation (OAR). |
---|
4 | * |
---|
5 | * Modified for LEON3 BSP. |
---|
6 | * COPYRIGHT (c) 2004. |
---|
7 | * Gaisler Research. |
---|
8 | * |
---|
9 | * The license and distribution terms for this file may be |
---|
10 | * found in the file LICENSE in this distribution or at |
---|
11 | * http://www.rtems.org/license/LICENSE. |
---|
12 | */ |
---|
13 | |
---|
14 | #ifndef APBUART_TERMIOS_H |
---|
15 | #define APBUART_TERMIOS_H |
---|
16 | |
---|
17 | #include <rtems/termiostypes.h> |
---|
18 | #include <grlib.h> |
---|
19 | |
---|
20 | #ifdef __cplusplus |
---|
21 | extern "C" { |
---|
22 | #endif /* __cplusplus */ |
---|
23 | |
---|
24 | struct apbuart_context { |
---|
25 | rtems_termios_device_context base; |
---|
26 | struct apbuart_regs *regs; |
---|
27 | unsigned int freq_hz; |
---|
28 | rtems_vector_number irq; |
---|
29 | volatile int sending; |
---|
30 | char *buf; |
---|
31 | }; |
---|
32 | |
---|
33 | extern const rtems_termios_device_handler apbuart_handler_interrupt; |
---|
34 | |
---|
35 | extern const rtems_termios_device_handler apbuart_handler_polled; |
---|
36 | |
---|
37 | #ifdef __cplusplus |
---|
38 | } |
---|
39 | #endif /* __cplusplus */ |
---|
40 | |
---|
41 | #endif /* APBUART_TERMIOS_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.