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 | **/
|
---|
16 | EFI_STATUS
|
---|
17 | EFIAPI
|
---|
18 | OemHookStatusCodeInitialize (
|
---|
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 | **/
|
---|
44 | EFI_STATUS
|
---|
45 | EFIAPI
|
---|
46 | OemHookStatusCodeReport (
|
---|
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 |
|
---|