mirror of
https://github.com/reactos/reactos.git
synced 2024-08-29 14:48:37 +00:00
133 lines
1.3 KiB
C
Executable file
133 lines
1.3 KiB
C
Executable file
/*
|
|
* PROJECT: ReactOS Boot Loader
|
|
* LICENSE: BSD - See COPYING.ARM in the top level directory
|
|
* FILE: boot/armllb/inc/hw.h
|
|
* PURPOSE: LLB Hardware Functions
|
|
* PROGRAMMERS: ReactOS Portable Systems Group
|
|
*/
|
|
|
|
VOID
|
|
NTAPI
|
|
LlbHwInitialize(
|
|
VOID
|
|
);
|
|
|
|
ULONG
|
|
NTAPI
|
|
LlbHwGetScreenWidth(
|
|
VOID
|
|
);
|
|
|
|
ULONG
|
|
NTAPI
|
|
LlbHwGetScreenHeight(
|
|
VOID
|
|
);
|
|
|
|
ULONG
|
|
NTAPI
|
|
LlbHwVideoCreateColor(
|
|
IN ULONG Red,
|
|
IN ULONG Green,
|
|
IN ULONG Blue
|
|
);
|
|
|
|
PVOID
|
|
NTAPI
|
|
LlbHwGetFrameBuffer(
|
|
VOID
|
|
);
|
|
|
|
ULONG
|
|
NTAPI
|
|
LlbHwGetBoardType(
|
|
VOID
|
|
);
|
|
|
|
ULONG
|
|
NTAPI
|
|
LlbHwGetPClk(
|
|
VOID
|
|
);
|
|
|
|
ULONG
|
|
NTAPI
|
|
LlbHwGetTmr0Base(
|
|
VOID
|
|
);
|
|
|
|
ULONG
|
|
NTAPI
|
|
LlbHwGetUartBase(
|
|
IN ULONG Port
|
|
);
|
|
|
|
ULONG
|
|
NTAPI
|
|
LlbHwGetSerialUart(
|
|
VOID
|
|
);
|
|
|
|
VOID
|
|
NTAPI
|
|
LlbHwUartSendChar(
|
|
IN CHAR Char
|
|
);
|
|
|
|
BOOLEAN
|
|
NTAPI
|
|
LlbHwUartTxReady(
|
|
VOID
|
|
);
|
|
|
|
VOID
|
|
NTAPI
|
|
LlbHwBuildMemoryMap(
|
|
IN PBIOS_MEMORY_MAP MemoryMap
|
|
);
|
|
|
|
VOID
|
|
NTAPI
|
|
LlbHwKbdSend(
|
|
IN ULONG Value
|
|
);
|
|
|
|
BOOLEAN
|
|
NTAPI
|
|
LlbHwKbdReady(
|
|
VOID
|
|
);
|
|
|
|
INT
|
|
NTAPI
|
|
LlbHwKbdRead(
|
|
VOID
|
|
);
|
|
|
|
POSLOADER_INIT
|
|
NTAPI
|
|
LlbHwLoadOsLoaderFromRam(
|
|
VOID
|
|
);
|
|
|
|
ULONG
|
|
NTAPI
|
|
LlbHwRtcRead(
|
|
VOID
|
|
);
|
|
|
|
//fix
|
|
TIMEINFO*
|
|
NTAPI
|
|
LlbGetTime(
|
|
VOID
|
|
);
|
|
|
|
#ifdef _VERSATILE_
|
|
#include "versa.h"
|
|
#elif _OMAP3_
|
|
#include "omap3.h"
|
|
#endif
|
|
|
|
/* EOF */
|