Add the definition of new format of IPv4 device path node, FibreEx device path node.

Signed-off-by: niruiyu
Reviewed-by: tye
Reviewed-by: jjin9


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12275 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
niruiyu 2011-09-05 04:49:22 +00:00
parent cf7958f7f9
commit 09e1962905
1 changed files with 30 additions and 0 deletions

View File

@ -346,6 +346,26 @@ typedef struct {
UINT64 Lun; UINT64 Lun;
} FIBRECHANNEL_DEVICE_PATH; } FIBRECHANNEL_DEVICE_PATH;
///
/// Fibre Channel Ex SubType.
///
#define MSG_FIBRECHANNELEX_DP 0x15
typedef struct {
EFI_DEVICE_PATH_PROTOCOL Header;
///
/// Reserved for the future.
///
UINT32 Reserved;
///
/// 8 byte array containing Fibre Channel End Device Port Name.
///
UINT8 WWN[8];
///
/// 8 byte array containing Fibre Channel Logical Unit Number.
///
UINT8 Lun[8];
} FIBRECHANNELEX_DEVICE_PATH;
/// ///
/// 1394 Device Path SubType /// 1394 Device Path SubType
/// ///
@ -541,6 +561,14 @@ typedef struct {
/// 0x01 - The Source IP Address is statically bound. /// 0x01 - The Source IP Address is statically bound.
/// ///
BOOLEAN StaticIpAddress; BOOLEAN StaticIpAddress;
///
/// The gateway IP address
///
EFI_IPv4_ADDRESS GatewayIpAddress;
///
/// The subnet mask
///
EFI_IPv4_ADDRESS SubnetMask;
} IPv4_DEVICE_PATH; } IPv4_DEVICE_PATH;
/// ///
@ -1002,6 +1030,7 @@ typedef union {
SCSI_DEVICE_PATH Scsi; SCSI_DEVICE_PATH Scsi;
ISCSI_DEVICE_PATH Iscsi; ISCSI_DEVICE_PATH Iscsi;
FIBRECHANNEL_DEVICE_PATH FibreChannel; FIBRECHANNEL_DEVICE_PATH FibreChannel;
FIBRECHANNELEX_DEVICE_PATH FibreChannelEx;
F1394_DEVICE_PATH F1394; F1394_DEVICE_PATH F1394;
USB_DEVICE_PATH Usb; USB_DEVICE_PATH Usb;
@ -1049,6 +1078,7 @@ typedef union {
SCSI_DEVICE_PATH *Scsi; SCSI_DEVICE_PATH *Scsi;
ISCSI_DEVICE_PATH *Iscsi; ISCSI_DEVICE_PATH *Iscsi;
FIBRECHANNEL_DEVICE_PATH *FibreChannel; FIBRECHANNEL_DEVICE_PATH *FibreChannel;
FIBRECHANNELEX_DEVICE_PATH *FibreChannelEx;
F1394_DEVICE_PATH *F1394; F1394_DEVICE_PATH *F1394;
USB_DEVICE_PATH *Usb; USB_DEVICE_PATH *Usb;