]> git.proxmox.com Git - mirror_edk2.git/blame - EdkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c
Change license of following files from Intel Copy Right to BSD-license.
[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 117.
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
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