VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.c@ 67508

Last change on this file since 67508 was 58466, checked in by vboxsync, 9 years ago

EFI/Firmware: Merged in the svn:eol-style, svn:mime-type and trailing whitespace cleanup that was done after the initial UDK2014.SP1 import: svn merge /vendor/edk2/UDK2014.SP1 /vendor/edk2/current .

  • Property svn:eol-style set to native
File size: 2.3 KB
Line 
1/** @file
2 Null instance of OEM Hook Status Code Library with empty functions.
3
4 Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13**/
14
15
16/**
17 Initialize OEM status code device .
18
19 @retval EFI_SUCCESS Always return EFI_SUCCESS.
20
21**/
22EFI_STATUS
23EFIAPI
24OemHookStatusCodeInitialize (
25 VOID
26 )
27{
28 return EFI_SUCCESS;
29}
30
31/**
32 Report status code to OEM device.
33
34 @param CodeType Indicates the type of status code being reported.
35 @param Value Describes the current status of a hardware or software entity.
36 This included information about the class and subclass that is used to classify the entity
37 as well as an operation. For progress codes, the operation is the current activity.
38 For error codes, it is the exception. For debug codes, it is not defined at this time.
39 @param Instance The enumeration of a hardware or software entity within the system.
40 A system may contain multiple entities that match a class/subclass pairing.
41 The instance differentiates between them. An instance of 0 indicates that instance information is unavailable,
42 not meaningful, or not relevant. Valid instance numbers start with 1.
43 @param CallerId This optional parameter may be used to identify the caller.
44 This parameter allows the status code driver to apply different rules to different callers.
45 @param Data This optional parameter may be used to pass additional data
46
47 @retval EFI_SUCCESS Always return EFI_SUCCESS.
48
49**/
50EFI_STATUS
51EFIAPI
52OemHookStatusCodeReport (
53 IN EFI_STATUS_CODE_TYPE CodeType,
54 IN EFI_STATUS_CODE_VALUE Value,
55 IN UINT32 Instance,
56 IN EFI_GUID *CallerId, OPTIONAL
57 IN EFI_STATUS_CODE_DATA *Data OPTIONAL
58 )
59{
60 return EFI_SUCCESS;
61}
62
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette