mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 15:44:04 +02:00
Add #include <Uefi/UefiBaseType.h> for the reference of "EFI_GUID" in the library class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7779 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
da0c760e76
commit
2af44cf003
@ -15,6 +15,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
#ifndef __REPORT_STATUS_CODE_LIB_H__
|
#ifndef __REPORT_STATUS_CODE_LIB_H__
|
||||||
#define __REPORT_STATUS_CODE_LIB_H__
|
#define __REPORT_STATUS_CODE_LIB_H__
|
||||||
|
|
||||||
|
#include <Uefi/UefiBaseType.h>
|
||||||
#include <Pi/PiMultiPhase.h>
|
#include <Pi/PiMultiPhase.h>
|
||||||
#include <Protocol/DevicePath.h>
|
#include <Protocol/DevicePath.h>
|
||||||
|
|
||||||
@ -25,10 +26,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||||||
#define REPORT_STATUS_CODE_PROPERTY_ERROR_CODE_ENABLED 0x00000002
|
#define REPORT_STATUS_CODE_PROPERTY_ERROR_CODE_ENABLED 0x00000002
|
||||||
#define REPORT_STATUS_CODE_PROPERTY_DEBUG_CODE_ENABLED 0x00000004
|
#define REPORT_STATUS_CODE_PROPERTY_DEBUG_CODE_ENABLED 0x00000004
|
||||||
|
|
||||||
//
|
|
||||||
// Extended Data structure definitions with EFI_STATUS_CODE_DATA headers removed
|
|
||||||
//
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Converts a status code to an 8-bit POST code value.
|
Converts a status code to an 8-bit POST code value.
|
||||||
|
|
||||||
@ -151,7 +148,7 @@ ReportStatusCodeExtractDebugInfo (
|
|||||||
passed in a zero instance, NULL extended data, and a caller ID of
|
passed in a zero instance, NULL extended data, and a caller ID of
|
||||||
gEfiCallerIdGuid, which is the GUID for the module.
|
gEfiCallerIdGuid, which is the GUID for the module.
|
||||||
|
|
||||||
ReportStatusCode()must actively prevent recusrsion. If ReportStatusCode()
|
ReportStatusCode()must actively prevent recursion. If ReportStatusCode()
|
||||||
is called while processing another any other Report Status Code Library function,
|
is called while processing another any other Report Status Code Library function,
|
||||||
then ReportStatusCode() must return immediately.
|
then ReportStatusCode() must return immediately.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user