source: rtems/c/src/lib/libbsp/shared/console_private.h @ a36094f

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: 1.6 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup Console
5 *
6 * @brief  Extension of the generic libchip console driver shell
7 */
8
9/*
10 *  COPYRIGHT (c) 1989-2011.
11 *  On-Line Applications Research Corporation (OAR).
12 *
13 *  The license and distribution terms for this file may be
14 *  found in the file LICENSE in this distribution or at
15 *  http://www.rtems.org/license/LICENSE.
16 */
17
18#ifndef _PC386_CONSOLE_PRIVATE_h
19#define _PC386_CONSOLE_PRIVATE_h
20
21#include <rtems.h>
22
23#include <libchip/serial.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29extern rtems_device_minor_number  BSPPrintkPort;
30
31/**
32 *  @brief bsp_com_outch
33 *
34 *  This function puts a character out of the console port.
35 *
36 *  @param[in] ch specifies the character to write
37 */
38extern void bsp_com_outch(char ch);
39
40/**
41 *  @brief bsp_com_inch
42 *
43 *  This function gets a character from the console
44 *  port.
45 *
46 *  @return This method returns the character that
47 *    was retrieved from the console port.
48 */
49extern int bsp_com_inch(void);
50
51/**
52 *  @brief
53 *
54 *  This function
55 *
56 *  @return This method returns
57 */
58int vt_ioctl( unsigned int cmd, unsigned long arg);
59
60/**
61 *  @brief console_register_devices
62 *
63 *  This function expands the console table to include previous
64 *  ports and the array of new ports specified.
65 *
66 *  @param[in] new_ports specifies an array of new ports to register
67 *  @param[in] number_of_ports specifies the number of elements
68 *         in the new_ports array
69 *
70 */
71void console_register_devices(
72  console_tbl *new_ports,
73  size_t       number_of_ports
74);
75
76#ifdef __cplusplus
77}
78#endif
79
80/**@}*/
81
82#endif
83/* end of include file */
Note: See TracBrowser for help on using the repository browser.