]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/RtPlatformStatusCodeLib.h
1) Sync EdkCompatibilityPkg with EDK 1.04. The changes includes:
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Platform / Generic / RuntimeDxe / StatusCode / Lib / Include / RtPlatformStatusCodeLib.h
CommitLineData
b38907a6 1/*++\r
2\r
95d675b5 3Copyright (c) 2004 - 2007, Intel Corporation \r
b38907a6 4All rights reserved. This program and the accompanying materials \r
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 RtPlatformStatusCodeLib.h\r
15 \r
16Abstract:\r
17\r
18 Lib to provide platform implementations necessary for the Monolithic status\r
19 code to work.\r
20\r
21--*/\r
22\r
23#ifndef _EFI_PLATFORM_STATUS_CODE_LIB_H_\r
24#define _EFI_PLATFORM_STATUS_CODE_LIB_H_\r
25\r
26//\r
27// Statements that include other files\r
28//\r
29#include "Tiano.h"\r
30\r
31//\r
32// Initialization function\r
33//\r
34VOID\r
95d675b5 35EFIAPI\r
b38907a6 36RtPlatformInitializeStatusCode (\r
37 IN EFI_HANDLE ImageHandle,\r
38 IN EFI_SYSTEM_TABLE *SystemTable\r
39 )\r
40;\r
41\r
42//\r
43// Status code reporting function\r
44//\r
45EFI_STATUS\r
95d675b5 46EFIAPI\r
b38907a6 47RtPlatformReportStatusCode (\r
48 IN EFI_STATUS_CODE_TYPE CodeType,\r
49 IN EFI_STATUS_CODE_VALUE Value,\r
50 IN UINT32 Instance,\r
51 IN EFI_GUID * CallerId,\r
52 IN EFI_STATUS_CODE_DATA * Data OPTIONAL\r
53 )\r
54;\r
55\r
56#endif\r