mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
MdePkg: Add definition for new warning code EFI_WARN_FILE_SYSTEM.
Add the definition for the new return status code defined in UEFI 2.6. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Samer El-Haj-Mahmoud <elhaj@hpe.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
b38ec3cd2f
commit
fed5f44759
@ -974,6 +974,12 @@ typedef UINTN RETURN_STATUS;
|
|||||||
///
|
///
|
||||||
#define RETURN_WARN_STALE_DATA ENCODE_WARNING (5)
|
#define RETURN_WARN_STALE_DATA ENCODE_WARNING (5)
|
||||||
|
|
||||||
|
///
|
||||||
|
/// The resulting buffer contains UEFI-compliant file system.
|
||||||
|
///
|
||||||
|
#define RETURN_WARN_FILE_SYSTEM ENCODE_WARNING (6)
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns a 16-bit signature built from 2 ASCII characters.
|
Returns a 16-bit signature built from 2 ASCII characters.
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
UEFI 2.0 can boot from any device that produces a LoadFile protocol.
|
UEFI 2.0 can boot from any device that produces a LoadFile protocol.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials are licensed and made available under
|
This program and the accompanying materials are licensed and made available under
|
||||||
the terms and conditions of the BSD License that accompanies this distribution.
|
the terms and conditions of the BSD License that accompanies this distribution.
|
||||||
The full text of the license may be found at
|
The full text of the license may be found at
|
||||||
@ -64,7 +64,7 @@ typedef EFI_LOAD_FILE_PROTOCOL EFI_LOAD_FILE_INTERFACE;
|
|||||||
@retval EFI_NO_RESPONSE The remote system did not respond.
|
@retval EFI_NO_RESPONSE The remote system did not respond.
|
||||||
@retval EFI_NOT_FOUND The file was not found.
|
@retval EFI_NOT_FOUND The file was not found.
|
||||||
@retval EFI_ABORTED The file load process was manually cancelled.
|
@retval EFI_ABORTED The file load process was manually cancelled.
|
||||||
|
@retval EFI_WARN_FILE_SYSTEM The resulting Buffer contains UEFI-compliant file system.
|
||||||
**/
|
**/
|
||||||
typedef
|
typedef
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Defines data types and constants introduced in UEFI.
|
Defines data types and constants introduced in UEFI.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||||
Portions copyright (c) 2011 - 2016, ARM Ltd. All rights reserved.<BR>
|
Portions copyright (c) 2011 - 2016, ARM Ltd. All rights reserved.<BR>
|
||||||
|
|
||||||
This program and the accompanying materials are licensed and made available under
|
This program and the accompanying materials are licensed and made available under
|
||||||
@ -158,6 +158,7 @@ typedef union {
|
|||||||
#define EFI_WARN_WRITE_FAILURE RETURN_WARN_WRITE_FAILURE
|
#define EFI_WARN_WRITE_FAILURE RETURN_WARN_WRITE_FAILURE
|
||||||
#define EFI_WARN_BUFFER_TOO_SMALL RETURN_WARN_BUFFER_TOO_SMALL
|
#define EFI_WARN_BUFFER_TOO_SMALL RETURN_WARN_BUFFER_TOO_SMALL
|
||||||
#define EFI_WARN_STALE_DATA RETURN_WARN_STALE_DATA
|
#define EFI_WARN_STALE_DATA RETURN_WARN_STALE_DATA
|
||||||
|
#define EFI_WARN_FILE_SYSTEM RETURN_WARN_FILE_SYSTEM
|
||||||
///@}
|
///@}
|
||||||
|
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user