]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add media status relative definition to UEFI PXE header file.
authorxdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 12 Feb 2010 08:45:07 +0000 (08:45 +0000)
committerxdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 12 Feb 2010 08:45:07 +0000 (08:45 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9993 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Uefi/UefiPxe.h

index 5fe479ae1204f70e69403d113cf2fbf98222943b..67b540da10d3c267dadf85c6d8bfca86c600ceba 100644 (file)
@@ -3,7 +3,7 @@
   structure prototypes, global variables and constants that\r
   are needed for porting PXE to EFI.\r
   \r
-  Copyright (c) 2006 - 2008, Intel Corporation                                                         \r
+  Copyright (c) 2006 - 2010, Intel Corporation                                                         \r
   All rights reserved. This program and the accompanying materials                          \r
   are licensed and made available under the terms and conditions of the BSD License         \r
   which accompanies this distribution.  The full text of the license may be found at        \r
   @par Revision Reference:\r
   32/64-bit PXE specification:\r
   alpha-4, 99-Dec-17\r
+\r
+  @attention The PXE_OPFLAGS_GET_MEDIA_STATUS and PXE_STATFLAGS_GET_STATUS_NO_MEDIA_xxx\r
+  are not defined in current UEFI spec (v2.3, approved May, 09), they will be\r
+  added by following erratas.\r
   \r
 **/\r
 \r
@@ -368,6 +372,11 @@ typedef PXE_UINT16  PXE_OPFLAGS;
 ///\r
 #define PXE_OPFLAGS_GET_TRANSMITTED_BUFFERS 0x0002\r
 \r
+///\r
+/// Return current media status.\r
+///\r
+#define PXE_OPFLAGS_GET_MEDIA_STATUS    0x0004\r
+\r
 ///\r
 /// UNDI Fill Header\r
 ///\r
@@ -438,6 +447,10 @@ typedef PXE_UINT16  PXE_STATFLAGS;
 #define PXE_STATFLAGS_CABLE_DETECT_NOT_SUPPORTED  0x0000\r
 #define PXE_STATFLAGS_CABLE_DETECT_SUPPORTED      0x0001\r
 \r
+#define PXE_STATFLAGS_GET_STATUS_NO_MEDIA_MASK           0x0002\r
+#define PXE_STATFLAGS_GET_STATUS_NO_MEDIA_NOT_SUPPORTED  0x0000\r
+#define PXE_STATFLAGS_GET_STATUS_NO_MEDIA_SUPPORTED      0x0002\r
+\r
 ///\r
 /// UNDI Initialize\r
 ///\r
@@ -566,6 +579,11 @@ typedef PXE_UINT16  PXE_STATFLAGS;
 ///\r
 #define PXE_STATFLAGS_GET_STATUS_NO_TXBUFS_WRITTEN  0x0020\r
 \r
+///\r
+/// This flag is set if there is no media detected.\r
+///\r
+#define PXE_STATFLAGS_GET_STATUS_NO_MEDIA  0x0040\r
+\r
 ///\r
 /// UNDI Fill Header\r
 ///\r