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