]>
Commit | Line | Data |
---|---|---|
d9ab4740 | 1 | /** @file\r |
2 | Null instance of OEM Hook Status Code Library with empty functions.\r | |
3 | \r | |
d1102dba | 4 | Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r |
9d510e61 | 5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
d9ab4740 | 6 | \r |
7 | **/\r | |
8 | \r | |
9 | \r | |
10 | /**\r | |
11 | Initialize OEM status code device .\r | |
12 | \r | |
13 | @retval EFI_SUCCESS Always return EFI_SUCCESS.\r | |
14 | \r | |
15 | **/\r | |
16 | EFI_STATUS\r | |
17 | EFIAPI\r | |
18 | OemHookStatusCodeInitialize (\r | |
19 | VOID\r | |
20 | )\r | |
21 | {\r | |
22 | return EFI_SUCCESS;\r | |
23 | }\r | |
24 | \r | |
25 | /**\r | |
26 | Report status code to OEM device.\r | |
d1102dba | 27 | \r |
d9ab4740 | 28 | @param CodeType Indicates the type of status code being reported.\r |
d1102dba LG |
29 | @param Value Describes the current status of a hardware or software entity.\r |
30 | This included information about the class and subclass that is used to classify the entity\r | |
31 | as well as an operation. For progress codes, the operation is the current activity.\r | |
32 | For error codes, it is the exception. For debug codes, it is not defined at this time.\r | |
33 | @param Instance The enumeration of a hardware or software entity within the system.\r | |
34 | A system may contain multiple entities that match a class/subclass pairing.\r | |
35 | The instance differentiates between them. An instance of 0 indicates that instance information is unavailable,\r | |
d9ab4740 | 36 | not meaningful, or not relevant. Valid instance numbers start with 1.\r |
d1102dba LG |
37 | @param CallerId This optional parameter may be used to identify the caller.\r |
38 | This parameter allows the status code driver to apply different rules to different callers.\r | |
d9ab4740 | 39 | @param Data This optional parameter may be used to pass additional data\r |
d1102dba | 40 | \r |
d9ab4740 | 41 | @retval EFI_SUCCESS Always return EFI_SUCCESS.\r |
42 | \r | |
43 | **/\r | |
44 | EFI_STATUS\r | |
45 | EFIAPI\r | |
46 | OemHookStatusCodeReport (\r | |
47 | IN EFI_STATUS_CODE_TYPE CodeType,\r | |
48 | IN EFI_STATUS_CODE_VALUE Value,\r | |
49 | IN UINT32 Instance,\r | |
50 | IN EFI_GUID *CallerId, OPTIONAL\r | |
51 | IN EFI_STATUS_CODE_DATA *Data OPTIONAL\r | |
52 | )\r | |
53 | {\r | |
54 | return EFI_SUCCESS;\r | |
55 | }\r | |
56 | \r |