]>
Commit | Line | Data |
---|---|---|
3cbfba02 DW |
1 | /** @file\r |
2 | This PEIM will parse the hoblist from fsp and report them into pei core.\r | |
3 | This file contains the main entrypoint of the PEIM.\r | |
4 | \r | |
5 | Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r | |
6 | This program and the accompanying materials\r | |
7 | are licensed and made available under the terms and conditions of the BSD License\r | |
8 | which accompanies this distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php.\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | \r | |
16 | \r | |
17 | #include <PiPei.h>\r | |
18 | #include <Library\DebugLib.h>\r | |
19 | #include <Library\SerialPortLib.h>\r | |
20 | \r | |
21 | VOID EnableInternalUart ();\r | |
22 | \r | |
23 | VOID\r | |
24 | EFIAPI\r | |
25 | PlatformInit (\r | |
26 | IN VOID *FspHobList,\r | |
27 | IN VOID *StartOfRange,\r | |
28 | IN VOID *EndOfRange\r | |
29 | )\r | |
30 | {\r | |
31 | //\r | |
32 | // Platform initialization\r | |
33 | // Enable Serial port here\r | |
34 | //\r | |
35 | EnableInternalUart ();\r | |
36 | SerialPortInitialize ();\r | |
37 | \r | |
38 | DEBUG ((DEBUG_INFO, "PlatformInit\n"));\r | |
39 | DEBUG ((DEBUG_INFO, "FspHobList - 0x%x\n", FspHobList));\r | |
40 | DEBUG ((DEBUG_INFO, "StartOfRange - 0x%x\n", StartOfRange));\r | |
41 | DEBUG ((DEBUG_INFO, "EndOfRange - 0x%x\n", EndOfRange));\r | |
42 | }\r |