VirtualBox

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

最後變更 在這個檔案從95057是 80721,由 vboxsync 提交於 6 年 前

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

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

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