]>
Commit | Line | Data |
---|---|---|
b38907a6 | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2004 - 2005, 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 | RtLedStatusCodeLib.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | Lib to provide status code reporting via LED.\r | |
19 | \r | |
20 | --*/\r | |
21 | \r | |
22 | #ifndef _RT_LED_STATUS_CODE_H_\r | |
23 | #define _RT_LED_STATUS_CODE_H_\r | |
24 | \r | |
25 | #include "Tiano.h"\r | |
26 | \r | |
27 | //\r | |
28 | // Initialization function\r | |
29 | //\r | |
30 | VOID\r | |
31 | RtLedInitializeStatusCode (\r | |
32 | IN EFI_HANDLE ImageHandle,\r | |
33 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
e00e1d46 | 34 | );\r |
b38907a6 | 35 | \r |
36 | //\r | |
37 | // Status code reporting function\r | |
38 | //\r | |
39 | EFI_STATUS\r | |
40 | RtLedReportStatusCode (\r | |
41 | IN EFI_STATUS_CODE_TYPE CodeType,\r | |
42 | IN EFI_STATUS_CODE_VALUE Value,\r | |
43 | IN UINT32 Instance,\r | |
44 | IN EFI_GUID * CallerId,\r | |
45 | IN EFI_STATUS_CODE_DATA * Data OPTIONAL\r | |
e00e1d46 | 46 | );\r |
b38907a6 | 47 | #endif\r |