mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
9393fc320e
Excluded: 3rd-party code (incl. wine) and most of the win32ss.
112 lines
1.4 KiB
C
112 lines
1.4 KiB
C
/*
|
|
* 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 */
|