]>
Commit | Line | Data |
---|---|---|
56836fe9 | 1 | \r |
2 | /** @file\r | |
3 | Serial I/O status code reporting worker.\r | |
4 | \r | |
5 | Copyright (c) 2006, Intel Corporation. All rights reserved. \r | |
6 | This software and associated documentation (if any) is furnished\r | |
7 | under a license and may only be used or copied in accordance\r | |
8 | with the terms of the license. Except as permitted by such\r | |
9 | license, no part of this software or documentation may be\r | |
10 | reproduced, stored in a retrieval system, or transmitted in any\r | |
11 | form or by any means without the express written consent of\r | |
12 | Intel Corporation.\r | |
13 | \r | |
14 | Module Name: SerialStatusCodeWorker.c\r | |
15 | \r | |
16 | **/\r | |
17 | \r | |
18 | EFI_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 | |
26 | EFI_STATUS\r | |
27 | EfiSerialStatusCodeInitializeWorker (\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 | Content-type: text/html ]>