]>
Commit | Line | Data |
---|---|---|
18b84857 | 1 | /** @file\r |
ca162103 | 2 | \r |
b68b78e6 | 3 | Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r |
b1f700a8 | 4 | This program and the accompanying materials \r |
ca162103 | 5 | are licensed and made available under the terms and conditions of the BSD License \r |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name:\r | |
13 | PpisNeededByDxeCore.c\r | |
14 | \r | |
15 | Abstract:\r | |
16 | \r | |
17 | Revision History:\r | |
18 | \r | |
18b84857 | 19 | **/\r |
ca162103 | 20 | \r |
21 | #include "PpisNeededByDxeCore.h"\r | |
22 | #include "HobGeneration.h"\r | |
23 | #include "SerialStatusCode.h"\r | |
24 | \r | |
25 | EFI_STATUS\r | |
26 | EFIAPI\r | |
27 | PreparePpisNeededByDxeCore (\r | |
28 | IN HOB_TEMPLATE *Hob\r | |
29 | )\r | |
30 | /*++\r | |
31 | \r | |
32 | Routine Description:\r | |
33 | \r | |
34 | This routine adds the PPI/Protocol Hobs that are consumed by the DXE Core.\r | |
35 | Normally these come from PEI, but since our PEI was 32-bit we need an\r | |
36 | alternate source. That is this driver.\r | |
37 | \r | |
38 | This driver does not consume PEI or DXE services and thus updates the \r | |
39 | Phit (HOB list) directly\r | |
40 | \r | |
41 | Arguments:\r | |
42 | \r | |
43 | HobStart - Pointer to the beginning of the HOB List from PEI\r | |
44 | \r | |
45 | Returns:\r | |
46 | \r | |
47 | This function should after it has add it's HOBs\r | |
48 | \r | |
49 | --*/\r | |
50 | {\r | |
ca162103 | 51 | EFI_REPORT_STATUS_CODE ReportStatusCode;\r |
52 | \r | |
ca162103 | 53 | InstallSerialStatusCode (&ReportStatusCode);\r |
d555d90f | 54 | Hob->SerialStatusCode.Interface = (EFI_PHYSICAL_ADDRESS) (UINTN) ReportStatusCode;\r |
ca162103 | 55 | \r |
56 | return EFI_SUCCESS;\r | |
57 | }\r | |
58 | \r | |
59 | \r |