]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/Include/MemoryStatusCodeLib.h
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Platform / Generic / MonoStatusCode / Library / Pei / Include / MemoryStatusCodeLib.h
CommitLineData
b38907a6 1/*++\r
2\r
4b1e1121
HT
3Copyright (c) 2004 - 2005, Intel Corporation. All rights reserved.<BR>\r
4This program and the accompanying materials \r
b38907a6 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\r
14 MemoryStatusCodeLib.h\r
15\r
16Abstract:\r
17\r
18 Lib to provide memory status code reporting.\r
19\r
20--*/\r
21\r
22#ifndef _PEI_MEMORY_STATUS_CODE_LIB_H_\r
23#define _PEI_MEMORY_STATUS_CODE_LIB_H_\r
24\r
25//\r
26// Statements that include other files\r
27//\r
28#include "Tiano.h"\r
29#include "Pei.h"\r
30\r
31//\r
32// Publicly exported data\r
33//\r
34extern BOOLEAN mRunningFromMemory;\r
35\r
36//\r
37// Initialization function\r
38//\r
39VOID\r
40MemoryInitializeStatusCode (\r
41 IN EFI_FFS_FILE_HEADER *FfsHeader,\r
42 IN EFI_PEI_SERVICES **PeiServices\r
e00e1d46 43 );\r
b38907a6 44\r
45//\r
46// Status code reporting function\r
47//\r
48EFI_STATUS\r
49MemoryReportStatusCode (\r
50 IN EFI_PEI_SERVICES **PeiServices,\r
51 IN EFI_STATUS_CODE_TYPE CodeType,\r
52 IN EFI_STATUS_CODE_VALUE Value,\r
53 IN UINT32 Instance,\r
54 IN EFI_GUID * CallerId,\r
55 IN EFI_STATUS_CODE_DATA * Data OPTIONAL\r
e00e1d46 56 );\r
b38907a6 57\r
58#endif\r