2010-02-01 18:33:24 +00:00
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
);
|
2021-09-13 01:33:14 +00:00
|
|
|
|
2010-02-01 18:33:24 +00:00
|
|
|
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
|
|
|
|
);
|
2021-09-13 01:33:14 +00:00
|
|
|
|
2010-02-01 18:33:24 +00:00
|
|
|
ULONG
|
|
|
|
NTAPI
|
|
|
|
LlbHwGetUartBase(
|
|
|
|
IN ULONG Port
|
|
|
|
);
|
|
|
|
|
|
|
|
ULONG
|
|
|
|
NTAPI
|
|
|
|
LlbHwGetSerialUart(
|
|
|
|
VOID
|
|
|
|
);
|
2021-09-13 01:33:14 +00:00
|
|
|
|
2010-02-01 18:33:24 +00:00
|
|
|
VOID
|
|
|
|
NTAPI
|
|
|
|
LlbHwUartSendChar(
|
|
|
|
IN CHAR Char
|
|
|
|
);
|
|
|
|
|
|
|
|
BOOLEAN
|
|
|
|
NTAPI
|
|
|
|
LlbHwUartTxReady(
|
|
|
|
VOID
|
|
|
|
);
|
|
|
|
|
2010-02-02 00:14:14 +00:00
|
|
|
VOID
|
|
|
|
NTAPI
|
|
|
|
LlbHwBuildMemoryMap(
|
|
|
|
IN PBIOS_MEMORY_MAP MemoryMap
|
|
|
|
);
|
|
|
|
|
2010-02-03 01:19:26 +00:00
|
|
|
VOID
|
|
|
|
NTAPI
|
|
|
|
LlbHwKbdSend(
|
|
|
|
IN ULONG Value
|
|
|
|
);
|
|
|
|
|
2010-02-04 08:02:30 +00:00
|
|
|
BOOLEAN
|
|
|
|
NTAPI
|
|
|
|
LlbHwKbdReady(
|
|
|
|
VOID
|
|
|
|
);
|
|
|
|
|
2010-02-03 01:19:26 +00:00
|
|
|
INT
|
|
|
|
NTAPI
|
|
|
|
LlbHwKbdRead(
|
|
|
|
VOID
|
|
|
|
);
|
|
|
|
|
2010-02-02 00:14:14 +00:00
|
|
|
POSLOADER_INIT
|
|
|
|
NTAPI
|
|
|
|
LlbHwLoadOsLoaderFromRam(
|
|
|
|
VOID
|
|
|
|
);
|
|
|
|
|
2010-02-04 07:22:03 +00:00
|
|
|
ULONG
|
|
|
|
NTAPI
|
|
|
|
LlbHwRtcRead(
|
|
|
|
VOID
|
|
|
|
);
|
|
|
|
|
|
|
|
//fix
|
|
|
|
TIMEINFO*
|
|
|
|
NTAPI
|
|
|
|
LlbGetTime(
|
|
|
|
VOID
|
|
|
|
);
|
|
|
|
|
2010-02-01 18:33:24 +00:00
|
|
|
#ifdef _VERSATILE_
|
|
|
|
#include "versa.h"
|
|
|
|
#elif _OMAP3_
|
|
|
|
#include "omap3.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* EOF */
|