]> git.proxmox.com Git - mirror_edk2.git/blame - ArmVirtPkg/PrePi/PrePi.h
ArmVirtPkg: Apply uncrustify changes
[mirror_edk2.git] / ArmVirtPkg / PrePi / PrePi.h
CommitLineData
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
25RETURN_STATUS\r
26EFIAPI\r
27TimerConstructor (\r
28 VOID\r
29 );\r
30\r
31VOID\r
32PrePiMain (\r
2b16a4fb
MK
33 IN UINTN UefiMemoryBase,\r
34 IN UINTN StacksBase,\r
35 IN UINT64 StartTimeStamp\r
f9a9d2dc
AB
36 );\r
37\r
38EFI_STATUS\r
39EFIAPI\r
40MemoryPeim (\r
2b16a4fb
MK
41 IN EFI_PHYSICAL_ADDRESS UefiMemoryBase,\r
42 IN UINT64 UefiMemorySize\r
f9a9d2dc
AB
43 );\r
44\r
45EFI_STATUS\r
46EFIAPI\r
47PlatformPeim (\r
48 VOID\r
49 );\r
50\r
51// Either implemented by PrePiLib or by MemoryInitPei\r
52VOID\r
53BuildMemoryTypeInformationHob (\r
54 VOID\r
55 );\r
56\r
f9a9d2dc
AB
57// Initialize the Architecture specific controllers\r
58VOID\r
59ArchInitialize (\r
60 VOID\r
61 );\r
62\r
63#endif /* _PREPI_H_ */\r