You've already forked edk2-platforms
mirror of
https://github.com/Dasharo/edk2-platforms.git
synced 2026-03-06 14:51:43 -08:00
33 lines
1.0 KiB
C
33 lines
1.0 KiB
C
|
|
/** @file
|
||
|
|
This library class provides Platform PostCode Map.
|
||
|
|
|
||
|
|
Copyright (c) 2011 - 2020, Intel Corporation. All rights reserved.<BR>
|
||
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||
|
|
|
||
|
|
**/
|
||
|
|
|
||
|
|
#ifndef __POST_CODE_MAP_LIB__
|
||
|
|
#define __POST_CODE_MAP_LIB__
|
||
|
|
|
||
|
|
/**
|
||
|
|
Get PostCode from status code type and value.
|
||
|
|
|
||
|
|
@param CodeType Indicates the type of status code being reported.
|
||
|
|
@param Value Describes the current status of a hardware or
|
||
|
|
software entity. This includes information about the class and
|
||
|
|
subclass that is used to classify the entity as well as an operation.
|
||
|
|
For progress codes, the operation is the current activity.
|
||
|
|
For error codes, it is the exception.For debug codes,it is not defined at this time.
|
||
|
|
|
||
|
|
@return PostCode
|
||
|
|
|
||
|
|
**/
|
||
|
|
UINT32
|
||
|
|
EFIAPI
|
||
|
|
GetPostCodeFromStatusCode (
|
||
|
|
IN EFI_STATUS_CODE_TYPE CodeType,
|
||
|
|
IN EFI_STATUS_CODE_VALUE Value
|
||
|
|
);
|
||
|
|
|
||
|
|
#endif
|