]> git.proxmox.com Git - mirror_edk2.git/blame - EdkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c
Fixed EDKT118
[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 106.
CommitLineData
56836fe9 1\r
2/** @file\r
3 Serial I/O status code reporting worker.\r
4\r
5Copyright (c) 2006, Intel Corporation. All rights reserved. \r
6This software and associated documentation (if any) is furnished\r
7under a license and may only be used or copied in accordance\r
8with the terms of the license. Except as permitted by such\r
9license, no part of this software or documentation may be\r
10reproduced, stored in a retrieval system, or transmitted in any\r
11form or by any means without the express written consent of\r
12Intel Corporation.\r
13\r
14 Module Name: SerialStatusCodeWorker.c\r
15\r
16**/\r
17\r
18EFI_SERIAL_IO_PROTOCOL *SerialIoProtocol;\r
19\r
20/**\r
21 Initialize serial status code worker.\r
22 \r
23 @return The function always return EFI_SUCCESS\r
24\r
25**/\r
26EFI_STATUS\r
27EfiSerialStatusCodeInitializeWorker (\r
28 VOID\r
29 )\r
30{\r
31 EFI_STATUS Status;\r
32\r
33 Status = gBS->LocateProtocol (\r
34 &gEfiSerialIoProtocolGuid,\r
35 NULL,\r
36 (VOID **) &SerialIoProtocol\r
37 );\r
38\r
39 ASSERT_EFI_ERROR (Status);\r
40\r
41 return EFI_SUCCESS;\r
42}\r
43\r
44\r
45/**\r
46 Convert status code value and extended data to readable ASCII string, send string to serial I/O device.\r
47 \r
48