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