]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Library / OemHookStatusCodeLibNull / OemHookStatusCodeLibNull.c
CommitLineData
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
cd5ebaa0 5 This program and the accompanying materials\r
d9ab4740 6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15\r
16/**\r
17 Initialize OEM status code device .\r
18\r
19 @retval EFI_SUCCESS Always return EFI_SUCCESS.\r
20\r
21**/\r
22EFI_STATUS\r
23EFIAPI\r
24OemHookStatusCodeInitialize (\r
25 VOID\r
26 )\r
27{\r
28 return EFI_SUCCESS;\r
29}\r
30\r
31/**\r
32 Report status code to OEM device.\r
d1102dba 33\r
d9ab4740 34 @param CodeType Indicates the type of status code being reported.\r
d1102dba
LG
35 @param Value Describes the current status of a hardware or software entity.\r
36 This included information about the class and subclass that is used to classify the entity\r
37 as well as an operation. For progress codes, the operation is the current activity.\r
38 For error codes, it is the exception. For debug codes, it is not defined at this time.\r
39 @param Instance The enumeration of a hardware or software entity within the system.\r
40 A system may contain multiple entities that match a class/subclass pairing.\r
41 The instance differentiates between them. An instance of 0 indicates that instance information is unavailable,\r
d9ab4740 42 not meaningful, or not relevant. Valid instance numbers start with 1.\r
d1102dba
LG
43 @param CallerId This optional parameter may be used to identify the caller.\r
44 This parameter allows the status code driver to apply different rules to different callers.\r
d9ab4740 45 @param Data This optional parameter may be used to pass additional data\r
d1102dba 46\r
d9ab4740 47 @retval EFI_SUCCESS Always return EFI_SUCCESS.\r
48\r
49**/\r
50EFI_STATUS\r
51EFIAPI\r
52OemHookStatusCodeReport (\r
53 IN EFI_STATUS_CODE_TYPE CodeType,\r
54 IN EFI_STATUS_CODE_VALUE Value,\r
55 IN UINT32 Instance,\r
56 IN EFI_GUID *CallerId, OPTIONAL\r
57 IN EFI_STATUS_CODE_DATA *Data OPTIONAL\r
58 )\r
59{\r
60 return EFI_SUCCESS;\r
61}\r
62\r