]> git.proxmox.com Git - mirror_edk2.git/blame - DuetPkg/DxeIpl/PpisNeededByDxeCore.c
Update the copyright notice format
[mirror_edk2.git] / DuetPkg / DxeIpl / PpisNeededByDxeCore.c
CommitLineData
18b84857 1/** @file\r
ca162103 2\r
b1f700a8
HT
3Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
4This program and the accompanying materials \r
ca162103 5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13 PpisNeededByDxeCore.c\r
14\r
15Abstract:\r
16 \r
17Revision 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
25EFI_STATUS\r
26EFIAPI\r
27PreparePpisNeededByDxeCore (\r
28 IN HOB_TEMPLATE *Hob\r
29 )\r
30/*++\r
31\r
32Routine 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
41Arguments:\r
42\r
43 HobStart - Pointer to the beginning of the HOB List from PEI\r
44\r
45Returns:\r
46\r
47 This function should after it has add it's HOBs\r
48\r
49--*/\r
50{\r
51 //EFI_PEI_PE_COFF_LOADER_PROTOCOL *PeCoffLoader;\r
52 //EFI_DECOMPRESS_PROTOCOL *EfiDecompress;\r
53 //EFI_TIANO_DECOMPRESS_PROTOCOL *TianoDecompress;\r
54 EFI_REPORT_STATUS_CODE ReportStatusCode;\r
55\r
56 //InstallEfiPeiFlushInstructionCache (&FlushInstructionCache);\r
57 //Hob->FlushInstructionCache.Interface = FlushInstructionCache;\r
58\r
59 // R9 do not need this protocol.\r
60 // InstallEfiPeiTransferControl (&TransferControl);\r
61 // Hob->TransferControl.Interface = TransferControl;\r
62\r
63 //InstallEfiPeiPeCoffLoader (NULL, &PeCoffLoader, NULL);\r
64 //Hob->PeCoffLoader.Interface = PeCoffLoader;\r
65\r
66 //InstallEfiDecompress (&EfiDecompress);\r
67 //Hob->EfiDecompress.Interface = EfiDecompress;\r
68\r
69 //InstallTianoDecompress (&TianoDecompress);\r
70 //Hob->TianoDecompress.Interface = TianoDecompress;\r
71\r
72 InstallSerialStatusCode (&ReportStatusCode);\r
d555d90f 73 Hob->SerialStatusCode.Interface = (EFI_PHYSICAL_ADDRESS) (UINTN) ReportStatusCode;\r
ca162103 74\r
75 return EFI_SUCCESS;\r
76}\r
77\r
78\r