]> git.proxmox.com Git - mirror_edk2.git/blob - 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
1 /*++
2
3 Copyright (c) 2004 - 2007, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13
14 RtPlatformStatusCodeLib.h
15
16 Abstract:
17
18 Lib to provide platform implementations necessary for the Monolithic status
19 code to work.
20
21 --*/
22
23 #ifndef _EFI_PLATFORM_STATUS_CODE_LIB_H_
24 #define _EFI_PLATFORM_STATUS_CODE_LIB_H_
25
26 //
27 // Statements that include other files
28 //
29 #include "Tiano.h"
30
31 //
32 // Initialization function
33 //
34 VOID
35 EFIAPI
36 RtPlatformInitializeStatusCode (
37 IN EFI_HANDLE ImageHandle,
38 IN EFI_SYSTEM_TABLE *SystemTable
39 )
40 ;
41
42 //
43 // Status code reporting function
44 //
45 EFI_STATUS
46 EFIAPI
47 RtPlatformReportStatusCode (
48 IN EFI_STATUS_CODE_TYPE CodeType,
49 IN EFI_STATUS_CODE_VALUE Value,
50 IN UINT32 Instance,
51 IN EFI_GUID * CallerId,
52 IN EFI_STATUS_CODE_DATA * Data OPTIONAL
53 )
54 ;
55
56 #endif