summaryrefslogtreecommitdiff
path: root/MdePkg/Include
diff options
context:
space:
mode:
authorxdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-12 08:45:07 +0000
committerxdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-12 08:45:07 +0000
commit993702aa7ba987891cb10308a5eb776c6eea4950 (patch)
treeab2bc3474e1f67bde92383d7635093d5a979bfac /MdePkg/Include
parent3575301ce76ebc18e5dff77e5ec4926ff1889798 (diff)
downloadedk2-platforms-993702aa7ba987891cb10308a5eb776c6eea4950.tar.xz
Add media status relative definition to UEFI PXE header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9993 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include')
-rw-r--r--MdePkg/Include/Uefi/UefiPxe.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/MdePkg/Include/Uefi/UefiPxe.h b/MdePkg/Include/Uefi/UefiPxe.h
index 5fe479ae12..67b540da10 100644
--- a/MdePkg/Include/Uefi/UefiPxe.h
+++ b/MdePkg/Include/Uefi/UefiPxe.h
@@ -3,7 +3,7 @@
structure prototypes, global variables and constants that
are needed for porting PXE to EFI.
- Copyright (c) 2006 - 2008, Intel Corporation
+ Copyright (c) 2006 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -15,6 +15,10 @@
@par Revision Reference:
32/64-bit PXE specification:
alpha-4, 99-Dec-17
+
+ @attention The PXE_OPFLAGS_GET_MEDIA_STATUS and PXE_STATFLAGS_GET_STATUS_NO_MEDIA_xxx
+ are not defined in current UEFI spec (v2.3, approved May, 09), they will be
+ added by following erratas.
**/
@@ -369,6 +373,11 @@ typedef PXE_UINT16 PXE_OPFLAGS;
#define PXE_OPFLAGS_GET_TRANSMITTED_BUFFERS 0x0002
///
+/// Return current media status.
+///
+#define PXE_OPFLAGS_GET_MEDIA_STATUS 0x0004
+
+///
/// UNDI Fill Header
///
#define PXE_OPFLAGS_FILL_HEADER_OPMASK 0x0001
@@ -438,6 +447,10 @@ typedef PXE_UINT16 PXE_STATFLAGS;
#define PXE_STATFLAGS_CABLE_DETECT_NOT_SUPPORTED 0x0000
#define PXE_STATFLAGS_CABLE_DETECT_SUPPORTED 0x0001
+#define PXE_STATFLAGS_GET_STATUS_NO_MEDIA_MASK 0x0002
+#define PXE_STATFLAGS_GET_STATUS_NO_MEDIA_NOT_SUPPORTED 0x0000
+#define PXE_STATFLAGS_GET_STATUS_NO_MEDIA_SUPPORTED 0x0002
+
///
/// UNDI Initialize
///
@@ -567,6 +580,11 @@ typedef PXE_UINT16 PXE_STATFLAGS;
#define PXE_STATFLAGS_GET_STATUS_NO_TXBUFS_WRITTEN 0x0020
///
+/// This flag is set if there is no media detected.
+///
+#define PXE_STATFLAGS_GET_STATUS_NO_MEDIA 0x0040
+
+///
/// UNDI Fill Header
///
/// No additional StatFlags