]> git.proxmox.com Git - mirror_edk2.git/blame - EdkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c
Fix EdkII tracker 223 to enhance genfvimage tool to support TE image format. If so...
[mirror_edk2.git] / EdkModulePkg / Universal / StatusCode / Dxe / SerialStatusCodeWorker.c
Content-type: text/html ]> git.proxmox.com Git - mirror_edk2.git/blame - EdkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c


500 - Internal Server Error

Malformed UTF-8 character (fatal) at (eval 6) line 1, <$fd> line 130.
CommitLineData
56836fe9 1\r
2/** @file\r
3 Serial I/O status code reporting worker.\r
4\r
161c26a7 5 Copyright (c) 2006, Intel Corporation \r
6 All rights reserved. This program and the accompanying materials \r
7 are licensed and made available under the terms and conditions of the BSD License \r
8 which accompanies this distribution. The full text of the license may be found at \r
9 http://opensource.org/licenses/bsd-license.php \r
10 \r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
56836fe9 13\r
14 Module Name: SerialStatusCodeWorker.c\r
15\r
16**/\r
17\r
a93763b7 18STATIC\r
19EFI_SERIAL_IO_PROTOCOL *mSerialIoProtocol;\r
56836fe9 20\r
21/**\r
22 Initialize serial status code worker.\r
23 \r
24 @return The function always return EFI_SUCCESS\r
25\r
26**/\r
27EFI_STATUS\r
28EfiSerialStatusCodeInitializeWorker (\r
29 VOID\r
30 )\r
31{\r
32 EFI_STATUS Status;\r
33\r
34 Status = gBS->LocateProtocol (\r
35 &gEfiSerialIoProtocolGuid,\r
36 NULL,\r
a93763b7 37 (VOID **) &mSerialIoProtocol\r
56836fe9 38 );\r
39\r
40 ASSERT_EFI_ERROR (Status);\r
41\r
42 return EFI_SUCCESS;\r
43}\r
44\r
45\r
46/**\r
47 Convert status code value and extended data to readable ASCII string, send string to serial I/O device.\r
48 \r
49