]>
Commit | Line | Data |
---|---|---|
f9a9d2dc AB |
1 | /** @file\r |
2 | *\r | |
3 | * Copyright (c) 2011-2012, ARM Limited. All rights reserved.\r | |
4 | *\r | |
9792fb0e | 5 | * SPDX-License-Identifier: BSD-2-Clause-Patent\r |
f9a9d2dc AB |
6 | *\r |
7 | **/\r | |
8 | \r | |
9 | #ifndef _PREPI_H_\r | |
10 | #define _PREPI_H_\r | |
11 | \r | |
12 | #include <PiPei.h>\r | |
13 | \r | |
14 | #include <Library/PcdLib.h>\r | |
15 | #include <Library/ArmLib.h>\r | |
16 | #include <Library/BaseMemoryLib.h>\r | |
17 | #include <Library/DebugLib.h>\r | |
18 | #include <Library/IoLib.h>\r | |
19 | #include <Library/MemoryAllocationLib.h>\r | |
20 | #include <Library/HobLib.h>\r | |
21 | #include <Library/SerialPortLib.h>\r | |
f9a9d2dc AB |
22 | \r |
23 | #define SerialPrint(txt) SerialPortWrite (txt, AsciiStrLen(txt)+1);\r | |
24 | \r | |
25 | RETURN_STATUS\r | |
26 | EFIAPI\r | |
27 | TimerConstructor (\r | |
28 | VOID\r | |
29 | );\r | |
30 | \r | |
31 | VOID\r | |
32 | PrePiMain (\r | |
2b16a4fb MK |
33 | IN UINTN UefiMemoryBase,\r |
34 | IN UINTN StacksBase,\r | |
35 | IN UINT64 StartTimeStamp\r | |
f9a9d2dc AB |
36 | );\r |
37 | \r | |
38 | EFI_STATUS\r | |
39 | EFIAPI\r | |
40 | MemoryPeim (\r | |
2b16a4fb MK |
41 | IN EFI_PHYSICAL_ADDRESS UefiMemoryBase,\r |
42 | IN UINT64 UefiMemorySize\r | |
f9a9d2dc AB |
43 | );\r |
44 | \r | |
45 | EFI_STATUS\r | |
46 | EFIAPI\r | |
47 | PlatformPeim (\r | |
48 | VOID\r | |
49 | );\r | |
50 | \r | |
51 | // Either implemented by PrePiLib or by MemoryInitPei\r | |
52 | VOID\r | |
53 | BuildMemoryTypeInformationHob (\r | |
54 | VOID\r | |
55 | );\r | |
56 | \r | |
f9a9d2dc AB |
57 | // Initialize the Architecture specific controllers\r |
58 | VOID\r | |
59 | ArchInitialize (\r | |
60 | VOID\r | |
61 | );\r | |
62 | \r | |
63 | #endif /* _PREPI_H_ */\r |