]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/Include/BsSerialStatusCodeLib.h
Remove debug #ifdef in USB HC init
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Platform / Generic / RuntimeDxe / StatusCode / Lib / Include / BsSerialStatusCodeLib.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 BsSerialStatusCodeLib.h\r
15 \r
16Abstract:\r
17\r
18 Lib to provide Serial I/O status code reporting.\r
19\r
20--*/\r
21\r
22#ifndef _EFI_BS_SERIAL_STATUS_CODE_LIB_H_\r
23#define _EFI_BS_SERIAL_STATUS_CODE_LIB_H_\r
24\r
25//\r
26// Statements that include other files\r
27//\r
28#include "Tiano.h"\r
29\r
30//\r
31// Initialization function\r
32//\r
33VOID\r
95d675b5 34EFIAPI\r
b38907a6 35BsSerialInitializeStatusCode (\r
36 IN EFI_HANDLE ImageHandle,\r
37 IN EFI_SYSTEM_TABLE *SystemTable\r
e00e1d46 38 );\r
b38907a6 39\r
40//\r
41// Status code reporting function\r
42//\r
43EFI_STATUS\r
95d675b5 44EFIAPI\r
b38907a6 45BsSerialReportStatusCode (\r
46 IN EFI_STATUS_CODE_TYPE CodeType,\r
47 IN EFI_STATUS_CODE_VALUE Value,\r
48 IN UINT32 Instance,\r
49 IN EFI_GUID * CallerId,\r
50 IN EFI_STATUS_CODE_DATA * Data OPTIONAL\r
e00e1d46 51 );\r
b38907a6 52\r
53#endif\r