mirror of
https://github.com/reactos/reactos.git
synced 2024-08-29 22:58:34 +00:00
113 lines
1.4 KiB
C
Executable file
113 lines
1.4 KiB
C
Executable file
/*
|
|
* PROJECT: ReactOS Boot Loader
|
|
* LICENSE: BSD - See COPYING.ARM in the top level directory
|
|
* FILE: boot/armllb/inc/fw.h
|
|
* PURPOSE: LLB Firmware Functions
|
|
* PROGRAMMERS: ReactOS Portable Systems Group
|
|
*/
|
|
|
|
typedef struct _TIMEINFO
|
|
{
|
|
USHORT Year;
|
|
USHORT Month;
|
|
USHORT Day;
|
|
USHORT Hour;
|
|
USHORT Minute;
|
|
USHORT Second;
|
|
} TIMEINFO;
|
|
|
|
VOID
|
|
LlbFwPutChar(
|
|
INT Ch
|
|
);
|
|
|
|
BOOLEAN
|
|
LlbFwKbHit(
|
|
VOID
|
|
);
|
|
|
|
INT
|
|
LlbFwGetCh(
|
|
VOID
|
|
);
|
|
|
|
ULONG
|
|
LlbFwVideoSetDisplayMode(
|
|
IN PCHAR DisplayModeName,
|
|
IN BOOLEAN Init
|
|
);
|
|
|
|
VOID
|
|
LlbFwVideoGetDisplaySize(
|
|
OUT PULONG Width,
|
|
OUT PULONG Height,
|
|
OUT PULONG Depth
|
|
);
|
|
|
|
ULONG
|
|
LlbFwVideoGetBufferSize(
|
|
VOID
|
|
);
|
|
|
|
VOID
|
|
LlbFwVideoSetTextCursorPosition(
|
|
IN ULONG X,
|
|
IN ULONG Y
|
|
);
|
|
|
|
VOID
|
|
LlbFwVideoHideShowTextCursor(
|
|
IN BOOLEAN Show
|
|
);
|
|
|
|
VOID
|
|
LlbFwVideoCopyOffScreenBufferToVRAM(
|
|
IN PVOID Buffer
|
|
);
|
|
|
|
VOID
|
|
LlbFwVideoClearScreen(
|
|
IN UCHAR Attr
|
|
);
|
|
|
|
VOID
|
|
LlbFwVideoPutChar(
|
|
IN INT c,
|
|
IN UCHAR Attr,
|
|
IN ULONG X,
|
|
IN ULONG Y
|
|
);
|
|
|
|
BOOLEAN
|
|
LlbFwVideoIsPaletteFixed(
|
|
VOID
|
|
);
|
|
|
|
VOID
|
|
LlbFwVideoSetPaletteColor(
|
|
IN UCHAR Color,
|
|
IN UCHAR Red,
|
|
IN UCHAR Green,
|
|
IN UCHAR Blue
|
|
);
|
|
|
|
VOID
|
|
LlbFwVideoGetPaletteColor(
|
|
IN UCHAR Color,
|
|
OUT PUCHAR Red,
|
|
OUT PUCHAR Green,
|
|
OUT PUCHAR Blue
|
|
);
|
|
|
|
VOID
|
|
LlbFwVideoSync(
|
|
VOID
|
|
);
|
|
|
|
TIMEINFO*
|
|
LlbFwGetTime(
|
|
VOID
|
|
);
|
|
|
|
/* EOF */
|