xref: /reactos/boot/armllb/inc/fw.h (revision 9393fc32)
1*c2c66affSColin Finck /*
2*c2c66affSColin Finck  * PROJECT:         ReactOS Boot Loader
3*c2c66affSColin Finck  * LICENSE:         BSD - See COPYING.ARM in the top level directory
4*c2c66affSColin Finck  * FILE:            boot/armllb/inc/fw.h
5*c2c66affSColin Finck  * PURPOSE:         LLB Firmware Functions
6*c2c66affSColin Finck  * PROGRAMMERS:     ReactOS Portable Systems Group
7*c2c66affSColin Finck  */
8*c2c66affSColin Finck 
9*c2c66affSColin Finck typedef struct _TIMEINFO
10*c2c66affSColin Finck {
11*c2c66affSColin Finck     USHORT Year;
12*c2c66affSColin Finck     USHORT Month;
13*c2c66affSColin Finck     USHORT Day;
14*c2c66affSColin Finck     USHORT Hour;
15*c2c66affSColin Finck     USHORT Minute;
16*c2c66affSColin Finck     USHORT Second;
17*c2c66affSColin Finck } TIMEINFO;
18*c2c66affSColin Finck 
19*c2c66affSColin Finck VOID
20*c2c66affSColin Finck LlbFwPutChar(
21*c2c66affSColin Finck     INT Ch
22*c2c66affSColin Finck );
23*c2c66affSColin Finck 
24*c2c66affSColin Finck BOOLEAN
25*c2c66affSColin Finck LlbFwKbHit(
26*c2c66affSColin Finck     VOID
27*c2c66affSColin Finck );
28*c2c66affSColin Finck 
29*c2c66affSColin Finck INT
30*c2c66affSColin Finck LlbFwGetCh(
31*c2c66affSColin Finck     VOID
32*c2c66affSColin Finck );
33*c2c66affSColin Finck 
34*c2c66affSColin Finck ULONG
35*c2c66affSColin Finck LlbFwVideoSetDisplayMode(
36*c2c66affSColin Finck     IN PCHAR DisplayModeName,
37*c2c66affSColin Finck     IN BOOLEAN Init
38*c2c66affSColin Finck );
39*c2c66affSColin Finck 
40*c2c66affSColin Finck VOID
41*c2c66affSColin Finck LlbFwVideoGetDisplaySize(
42*c2c66affSColin Finck     OUT PULONG Width,
43*c2c66affSColin Finck     OUT PULONG Height,
44*c2c66affSColin Finck     OUT PULONG Depth
45*c2c66affSColin Finck );
46*c2c66affSColin Finck 
47*c2c66affSColin Finck ULONG
48*c2c66affSColin Finck LlbFwVideoGetBufferSize(
49*c2c66affSColin Finck     VOID
50*c2c66affSColin Finck );
51*c2c66affSColin Finck 
52*c2c66affSColin Finck VOID
53*c2c66affSColin Finck LlbFwVideoSetTextCursorPosition(
54*c2c66affSColin Finck     IN ULONG X,
55*c2c66affSColin Finck     IN ULONG Y
56*c2c66affSColin Finck );
57*c2c66affSColin Finck 
58*c2c66affSColin Finck VOID
59*c2c66affSColin Finck LlbFwVideoHideShowTextCursor(
60*c2c66affSColin Finck     IN BOOLEAN Show
61*c2c66affSColin Finck );
62*c2c66affSColin Finck 
63*c2c66affSColin Finck VOID
64*c2c66affSColin Finck LlbFwVideoCopyOffScreenBufferToVRAM(
65*c2c66affSColin Finck     IN PVOID Buffer
66*c2c66affSColin Finck );
67*c2c66affSColin Finck 
68*c2c66affSColin Finck VOID
69*c2c66affSColin Finck LlbFwVideoClearScreen(
70*c2c66affSColin Finck     IN UCHAR Attr
71*c2c66affSColin Finck );
72*c2c66affSColin Finck 
73*c2c66affSColin Finck VOID
74*c2c66affSColin Finck LlbFwVideoPutChar(
75*c2c66affSColin Finck     IN INT c,
76*c2c66affSColin Finck     IN UCHAR Attr,
77*c2c66affSColin Finck     IN ULONG X,
78*c2c66affSColin Finck     IN ULONG Y
79*c2c66affSColin Finck );
80*c2c66affSColin Finck 
81*c2c66affSColin Finck BOOLEAN
82*c2c66affSColin Finck LlbFwVideoIsPaletteFixed(
83*c2c66affSColin Finck     VOID
84*c2c66affSColin Finck );
85*c2c66affSColin Finck 
86*c2c66affSColin Finck VOID
87*c2c66affSColin Finck LlbFwVideoSetPaletteColor(
88*c2c66affSColin Finck     IN UCHAR Color,
89*c2c66affSColin Finck     IN UCHAR Red,
90*c2c66affSColin Finck     IN UCHAR Green,
91*c2c66affSColin Finck     IN UCHAR Blue
92*c2c66affSColin Finck );
93*c2c66affSColin Finck 
94*c2c66affSColin Finck VOID
95*c2c66affSColin Finck LlbFwVideoGetPaletteColor(
96*c2c66affSColin Finck     IN UCHAR Color,
97*c2c66affSColin Finck     OUT PUCHAR Red,
98*c2c66affSColin Finck     OUT PUCHAR Green,
99*c2c66affSColin Finck     OUT PUCHAR Blue
100*c2c66affSColin Finck );
101*c2c66affSColin Finck 
102*c2c66affSColin Finck VOID
103*c2c66affSColin Finck LlbFwVideoSync(
104*c2c66affSColin Finck     VOID
105*c2c66affSColin Finck );
106*c2c66affSColin Finck 
107*c2c66affSColin Finck TIMEINFO*
108*c2c66affSColin Finck LlbFwGetTime(
109*c2c66affSColin Finck     VOID
110*c2c66affSColin Finck );
111*c2c66affSColin Finck 
112*c2c66affSColin Finck /* EOF */
113