5c2c0b8f3315819a28dbd21801b859ab3fc9fd90
[reactos.git] / reactos / boot / armllb / hw / versatile / hwinfo.c
1 /*
2 * PROJECT: ReactOS Boot Loader
3 * LICENSE: BSD - See COPYING.ARM in the top level directory
4 * FILE: boot/armllb/hw/versatile/hwinfo.c
5 * PURPOSE: LLB Hardware Info Routines
6 * PROGRAMMERS: ReactOS Portable Systems Group
7 */
8
9 #include "precomp.h"
10
11 ULONG
12 NTAPI
13 LlbHwGetBoardType(VOID)
14 {
15 return MACH_TYPE_VERSATILE_PB;
16 }
17
18 ULONG
19 NTAPI
20 LlbHwGetPClk(VOID)
21 {
22 return 24000000;
23 }
24
25 ULONG
26 NTAPI
27 LlbHwGetTmr0Base(VOID)
28 {
29 return 0x101E2000;
30 }
31
32 ULONG
33 NTAPI
34 LlbHwGetSerialUart(VOID)
35 {
36 return 0;
37 }
38
39 VOID
40 NTAPI
41 LlbHwBuildMemoryMap(IN PBIOS_MEMORY_MAP MemoryMap)
42 {
43 /* Mark MMIO space as reserved */
44 LlbAllocateMemoryEntry(BiosMemoryReserved, 0x10000000, 128 * 1024 * 1024);
45 }
46
47 /* EOF */