]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.c
Refine code for OemHookStatusCodeLibNull.
[mirror_edk2.git] / IntelFrameworkModulePkg / Library / OemHookStatusCodeLibNull / OemHookStatusCodeLibNull.c
CommitLineData
54bd896e 1/** @file\r
85a90321 2 Null instance of OEM Hook Status Code Library with empty functions.\r
54bd896e 3\r
85a90321 4 Copyright (c) 2006 - 2009, Intel Corporation\r
54bd896e 5 All rights reserved. This program and the accompanying materials\r
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
54bd896e 13**/\r
14\r
54bd896e 15\r
16/**\r
54bd896e 17 Initialize OEM status code device .\r
18\r
85a90321 19 @retval EFI_SUCCESS Always return EFI_SUCCESS.\r
54bd896e 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
33 \r
85a90321 34 @param CodeType Indicates the type of status code being reported.\r
54bd896e 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
54bd896e 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
42 not meaningful, or not relevant. Valid instance numbers start with 1.\r
54bd896e 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
54bd896e 45 @param Data This optional parameter may be used to pass additional data\r
46 \r
85a90321 47 @retval EFI_SUCCESS Always return EFI_SUCCESS.\r
54bd896e 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
fd2537ef 60 return EFI_SUCCESS;\r
54bd896e 61}\r
62\r