1 | /************************************************************************** |
---|
2 | * |
---|
3 | * Copyright (c) 2013 Alcatel-Lucent |
---|
4 | * |
---|
5 | * Alcatel Lucent licenses this file to You under the Apache License, |
---|
6 | * Version 2.0 (the "License"); you may not use this file except in |
---|
7 | * compliance with the License. A copy of the License is contained the |
---|
8 | * file LICENSE at the top level of this repository. |
---|
9 | * You may also obtain a copy of the License at: |
---|
10 | * |
---|
11 | * http://www.apache.org/licenses/LICENSE-2.0 |
---|
12 | * |
---|
13 | * Unless required by applicable law or agreed to in writing, software |
---|
14 | * distributed under the License is distributed on an "AS IS" BASIS, |
---|
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
16 | * See the License for the specific language governing permissions and |
---|
17 | * limitations under the License. |
---|
18 | * |
---|
19 | ************************************************************************** |
---|
20 | * |
---|
21 | * fbi.h: |
---|
22 | * |
---|
23 | * Frame Buffer Interface... |
---|
24 | * |
---|
25 | * Original author: Ed Sutter (ed.sutter@alcatel-lucent.com) |
---|
26 | * |
---|
27 | */ |
---|
28 | #include "config.h" |
---|
29 | |
---|
30 | #if INCLUDE_FBI |
---|
31 | |
---|
32 | #define fbi_putchar(a) fbi_putchar(a) |
---|
33 | extern void fbi_putchar(char c); |
---|
34 | |
---|
35 | #ifdef FBI_NO_CURSOR |
---|
36 | #define fbi_cursor() |
---|
37 | #else |
---|
38 | #define fbi_cursor(a) fbi_cursor(a) |
---|
39 | extern void fbi_cursor(void); |
---|
40 | #endif |
---|
41 | |
---|
42 | #else |
---|
43 | |
---|
44 | #define fbi_putchar(a) |
---|
45 | #define fbi_cursor() |
---|
46 | |
---|
47 | #endif |
---|
48 | |
---|
49 | extern void fbi_setpixel(int x, int y, long rgbcolor); |
---|
50 | extern void fbi_splash(void); |
---|
51 | extern void fbdev_init(void); |
---|