]>
Commit | Line | Data |
---|---|---|
878ddf1f | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2006, Intel Corporation \r | |
4 | All rights reserved. This program and the accompanying materials \r | |
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 | \r | |
14 | RtMemoryStatusCodeLib.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | Lib to provide memory status code reporting.\r | |
19 | \r | |
20 | --*/\r | |
21 | \r | |
22 | #ifndef _EFI_RT_MEMORY_STATUS_CODE_LIB_H_\r | |
23 | #define _EFI_RT_MEMORY_STATUS_CODE_LIB_H_\r | |
24 | \r | |
25 | //\r | |
26 | // Initialization function\r | |
27 | //\r | |
28 | VOID\r | |
29 | RtMemoryStatusCodeInitialize (\r | |
30 | VOID\r | |
31 | )\r | |
32 | ;\r | |
33 | \r | |
34 | //\r | |
35 | // Status code reporting function\r | |
36 | //\r | |
37 | EFI_STATUS\r | |
38 | RtMemoryReportStatusCode (\r | |
39 | IN EFI_STATUS_CODE_TYPE CodeType,\r | |
40 | IN EFI_STATUS_CODE_VALUE Value,\r | |
41 | IN UINT32 Instance,\r | |
42 | IN EFI_GUID * CallerId,\r | |
43 | IN EFI_STATUS_CODE_DATA * Data OPTIONAL\r | |
44 | )\r | |
45 | ;\r | |
46 | \r | |
47 | //\r | |
48 | // Playback all prior status codes to a listener\r | |
49 | //\r | |
50 | typedef\r | |
51 | EFI_STATUS\r | |
52 | (*PLATFORM_REPORT_STATUS_CODE) (\r | |
53 | IN EFI_STATUS_CODE_TYPE Type,\r | |
54 | IN EFI_STATUS_CODE_VALUE Value,\r | |
55 | IN UINT32 Instance,\r | |
56 | IN EFI_GUID * CallerId OPTIONAL,\r | |
57 | IN EFI_STATUS_CODE_DATA * Data OPTIONAL\r | |
58 | );\r | |
59 | \r | |
60 | VOID\r | |
61 | PlaybackStatusCodes (\r | |
62 | IN PLATFORM_REPORT_STATUS_CODE ReportStatusCode\r | |
63 | )\r | |
64 | ;\r | |
65 | \r | |
66 | #endif\r |