source: rtems/c/src/lib/libbsp/arm/raspberrypi/console/fbcons.h @ 6b5df95

5
Last change on this file since 6b5df95 was 6b5df95, checked in by YANG Qiao <yangqiao0505@…>, on 08/12/15 at 22:06:49

arm/raspberrypi: add fbcons support for rpi bsp

  • Property mode set to 100644
File size: 777 bytes
Line 
1/**
2 * @file
3 *
4 * @ingroup raspberrypi_console
5 *
6 * @brief framebuffer graphic console support.
7 */
8
9/*
10 * Copyright (c) 2015 Yang Qiao
11 *
12 *  The license and distribution terms for this file may be
13 *  found in the file LICENSE in this distribution or at
14 *
15 *  http://www.rtems.org/license/LICENSE
16 *
17 */
18
19#ifndef _FBCONS_H_
20#define _FBCONS_H_
21
22#include <libchip/serial.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28/*
29 *  This is the ASCII for "PI" in the upper word and 2835
30 *  in the lower which should be unique enough to
31 *  distinguish this type of serial device from others.
32 */
33
34#define FB_CONSOLE 0x50492835
35
36bool fbcons_probe( int minor );
37
38/*
39 * Driver function table
40 */
41extern const console_fns fbcons_fns;
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif /* _FBCONS_H_ */
Note: See TracBrowser for help on using the repository browser.