From 993702aa7ba987891cb10308a5eb776c6eea4950 Mon Sep 17 00:00:00 2001 From: xdu2 Date: Fri, 12 Feb 2010 08:45:07 +0000 Subject: 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 --- MdePkg/Include/Uefi/UefiPxe.h | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'MdePkg/Include') 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. **/ @@ -368,6 +372,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 /// @@ -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 /// @@ -566,6 +579,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 /// -- cgit v1.2.3