source: rtems/c/src/lib/libbsp/powerpc/qoriq/include/uart-bridge.h @ dc0a7df

4.115
Last change on this file since dc0a7df was dc0a7df, checked in by Sebastian Huber <sebastian.huber@…>, on 07/21/11 at 15:18:02

2011-07-21 Sebastian Huber <sebastian.huber@…>

PR 1799/bsps

  • .cvsignore, ChangeLog?, Makefile.am, README, bsp_specs, configure.ac, clock/clock-config.c, console/console-config.c, console/uart-bridge-master.c, console/uart-bridge-slave.c, include/.cvsignore, include/bsp.h, include/hwreg_vals.h, include/intercom.h, include/irq.h, include/mmu.h, include/qoriq.h, include/tm27.h, include/tsec-config.h, include/u-boot-config.h, include/uart-bridge.h, irq/irq.c, make/custom/qoriq.inc, make/custom/qoriq_core_0.cfg, make/custom/qoriq_core_1.cfg, make/custom/qoriq_p1020rdb.cfg, network/if_intercom.c, network/network.c, rtc/rtc-config.c, shmsupp/intercom-mpci.c, shmsupp/intercom.c, shmsupp/lock.S, start/start.S, startup/bsppredriverhook.c, startup/bspreset.c, startup/bspstart.c, startup/linkcmds.base, startup/linkcmds.qoriq_core_0, startup/linkcmds.qoriq_core_1, startup/linkcmds.qoriq_p1020rdb, startup/mmu-config.c, startup/mmu-tlb1.S, startup/mmu.c: New files.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup QorIQUartBridge
5 *
6 * @brief UART to Intercom bridge API.
7 */
8
9/*
10 * Copyright (c) 2011 embedded brains GmbH.  All rights reserved.
11 *
12 *  embedded brains GmbH
13 *  Obere Lagerstr. 30
14 *  82178 Puchheim
15 *  Germany
16 *  <rtems@embedded-brains.de>
17 *
18 * The license and distribution terms for this file may be
19 * found in the file LICENSE in this distribution or at
20 * http://www.rtems.com/license/LICENSE.
21 *
22 * $Id$
23 */
24
25#ifndef LIBBSP_POWERPC_QORIQ_UART_BRIDGE_H
26#define LIBBSP_POWERPC_QORIQ_UART_BRIDGE_H
27
28#include <libchip/serial.h>
29
30#include <bsp/intercom.h>
31
32#ifdef __cplusplus
33extern "C" {
34#endif /* __cplusplus */
35
36/**
37 * @defgroup QorIQUartBridge QorIQ - UART to Intercom Bridge Support
38 *
39 * @ingroup QorIQ
40 *
41 * @brief UART to Intercom bridge support.
42 *
43 * @{
44 */
45
46typedef struct {
47  const char *device_path;
48  intercom_type type;
49  rtems_id transmit_task;
50  rtems_chain_control transmit_fifo;
51} uart_bridge_master_control;
52
53typedef struct {
54  struct rtems_termios_tty *tty;
55  intercom_type type;
56  rtems_id transmit_task;
57  rtems_chain_control transmit_fifo;
58} uart_bridge_slave_control;
59
60extern console_fns qoriq_uart_bridge_master;
61
62extern console_fns qoriq_uart_bridge_slave;
63
64/** @} */
65
66#ifdef __cplusplus
67}
68#endif /* __cplusplus */
69
70#endif /* LIBBSP_POWERPC_QORIQ_UART_BRIDGE_H */
Note: See TracBrowser for help on using the repository browser.