summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-13 04:55:24 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-13 04:55:24 +0000
commit51d0a7aaf3bd287c6cb5b7a2109110c840eaf47d (patch)
treef61a765da0ddf91ff2430243e130927aa82c0185
parent5aa4c3bced9bce1fc128159080ef3d5327ae91c0 (diff)
downloadedk2-51d0a7aaf3bd287c6cb5b7a2109110c840eaf47d.zip
edk2-51d0a7aaf3bd287c6cb5b7a2109110c840eaf47d.tar.gz
edk2-51d0a7aaf3bd287c6cb5b7a2109110c840eaf47d.tar.bz2
Update database sync with main trunk protocol change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/AntJava@7875 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--Tools/Conf/Migration/Library.csv22
-rw-r--r--Tools/Conf/Migration/Macro.csv7
-rw-r--r--Tools/Conf/Migration/R8Lib.c104
3 files changed, 133 insertions, 0 deletions
diff --git a/Tools/Conf/Migration/Library.csv b/Tools/Conf/Migration/Library.csv
index 758393f..c4b183b 100644
--- a/Tools/Conf/Migration/Library.csv
+++ b/Tools/Conf/Migration/Library.csv
@@ -187,3 +187,25 @@ PeiLib,PEI_CR,CR,DebugLib,MdePkg
PeiLib,PEI_DEBUG,DEBUG#%%,DebugLib,MdePkg
PeiLib,PEI_DEBUG_CODE,DEBUG_CODE#%%,DebugLib,MdePkg
PeiLib,PEI_DEBUG_SET_MEMORY,DEBUG_CLEAR_MEMORY,DebugLib,MdePkg
+EfiCommonLib,EFI_END_DEVICE_PATH_LENGTH,END_DEVICE_PATH_LENGTH,DevicePathLib,MdePkg
+EfiCommonLib,END_DEVICE_PATH_LENGTH,END_DEVICE_PATH_LENGTH,DevicePathLib,MdePkg
+EfiCommonLib,EfiDevicePathNodeLength,DevicePathNodeLength,DevicePathLib,MdePkg
+EfiCommonLib,EfiNextDevicePathNode,NextDevicePathNode,DevicePathLib,MdePkg
+EfiCommonLib,EfiDevicePathType,DevicePathType,DevicePathLib,MdePkg
+EfiCommonLib,EfiIsDevicePathEndType,IsDevicePathEndType,DevicePathLib,MdePkg
+EfiCommonLib,EfiIsDevicePathEnd,IsDevicePathEnd,DevicePathLib,MdePkg
+EfiCommonLib,EfiIsDevicePathEndInstance,IsDevicePathEndInstance,DevicePathLib,MdePkg
+EfiCommonLib,DevicePathNodeLength,DevicePathNodeLength,DevicePathLib,MdePkg
+EfiCommonLib,NextDevicePathNode,NextDevicePathNode,DevicePathLib,MdePkg
+EfiCommonLib,DevicePathType,DevicePathType,DevicePathLib,MdePkg
+EfiCommonLib,IsDevicePathEndType,IsDevicePathEndType,DevicePathLib,MdePkg
+EfiCommonLib,IsDevicePathEnd,IsDevicePathEnd,DevicePathLib,MdePkg
+EfiCommonLib,IsDevicePathEndInstance,IsDevicePathEndInstance,DevicePathLib,MdePkg
+EfiCommonLib,DP_IS_END_SUBTYPE,R8_DP_IS_END_SUBTYPE,%,MdePkg
+EfiCommonLib,EfiIsDevicePathEndSubType,R8_EfiIsDevicePathEndSubType,%,MdePkg
+EfiCommonLib,EfiIsDevicePathEndInstanceSubType,R8_EfiIsDevicePathEndInstanceSubType,%,MdePkg
+EfiCommonLib,IsDevicePathEndSubType,R8_IsDevicePathEndSubType,%,MdePkg
+EfiCommonLib,SetDevicePathNodeLength,SetDevicePathNodeLength,DevicePathLib,MdePkg
+EfiCommonLib,SetDevicePathEndNode,SetDevicePathEndNode,DevicePathLib,MdePkg
+EfiCommonLib,EFI_DP_TYPE_UNPACKED,n/a,n/a,MdePkg
+EfiCommonLib,IsDevicePathUnpacked,n/a,n/a,MdePkg
diff --git a/Tools/Conf/Migration/Macro.csv b/Tools/Conf/Migration/Macro.csv
index 71c70b5..6dd39f6 100644
--- a/Tools/Conf/Migration/Macro.csv
+++ b/Tools/Conf/Migration/Macro.csv
@@ -176,3 +176,10 @@ PeiPciCfgWidthUint32,EfiPeiPciCfgWidthUint32,MdePkg
PeiPciCfgWidthUint64,EfiPeiPciCfgWidthUint64,MdePkg
PeiPciCfgWidthMaximum,EfiPeiPciCfgWidthMaximum,MdePkg
PEI_PCI_CFG_PPI_PCI_ADDRESS,EFI_PEI_PCI_CFG_PPI_PCI_ADDRESS,MdePkg
+EFI_FIELD_OFFSET,OFFSET_OF,MdePkg
+EFI_FVB_ATTRIBUTES,EFI_FVB_ATTRIBUTES_2,MdePkg
+EFI_NETWORK_PROTOCOL_TYPE,EFI_NETWORK_INTERFACE_TYPE,MdePkg
+EFI_DP_TYPE_MASK,0x7F,MdePkg
+EFI_END_ENTIRE_DEVICE_PATH,END_ENTIRE_DEVICE_PATH_SUBTYPE,MdePkg
+EFI_END_INSTANCE_DEVICE_PATH,END_INSTANCE_DEVICE_PATH_SUBTYPE,MdePkg
+EFI_END_ENTIRE_DEVICE_PATH_SUBTYPE,END_ENTIRE_DEVICE_PATH_SUBTYPE,MdePkg
diff --git a/Tools/Conf/Migration/R8Lib.c b/Tools/Conf/Migration/R8Lib.c
index 6ef5f91..576f094 100644
--- a/Tools/Conf/Migration/R8Lib.c
+++ b/Tools/Conf/Migration/R8Lib.c
@@ -978,3 +978,107 @@ Returns:
return EFI_SUCCESS;
}
////~
+
+////#DevicePathLib
+BOOLEAN
+R8_IsDevicePathEndSubType (
+ IN EFI_DEVICE_PATH_PROTOCOL *Node
+ )
+/*++
+
+Routine Description:
+
+ Determines if a device path node sub type is an end node of an entire device path.
+
+Arguments:
+
+ Node - A pointer to a device path node data structure.
+
+Returns:
+
+ TRUE - The device path node specified by Node is the end of an entire device path.
+ FALSE - The device path node specified by Node is not the end of an entire device path.
+
+--*/
+{
+ return (BOOLEAN) ((Node)->SubType == END_ENTIRE_DEVICE_PATH_SUBTYPE);
+}
+////~
+
+////#DevicePathLib
+BOOLEAN
+R8_DP_IS_END_SUBTYPE (
+ IN EFI_DEVICE_PATH_PROTOCOL *Node
+ )
+/*++
+
+Routine Description:
+
+ Determines if a device path node sub type is an end node of an entire device path.
+
+Arguments:
+
+ Node - A pointer to a device path node data structure.
+
+Returns:
+
+ TRUE - The device path node specified by Node is the end of an entire device path.
+ FALSE - The device path node specified by Node is not the end of an entire device path.
+
+--*/
+{
+ return (BOOLEAN) ((Node)->SubType == END_ENTIRE_DEVICE_PATH_SUBTYPE);
+}
+////~
+
+////#DevicePathLib
+BOOLEAN
+R8_EfiIsDevicePathEndSubType (
+ IN EFI_DEVICE_PATH_PROTOCOL *Node
+ )
+/*++
+
+Routine Description:
+
+ Determines if a device path node sub type is an end node of an entire device path.
+
+Arguments:
+
+ Node - A pointer to a device path node data structure.
+
+Returns:
+
+ TRUE - The device path node specified by Node is the end of an entire device path.
+ FALSE - The device path node specified by Node is not the end of an entire device path.
+
+--*/
+{
+ return (BOOLEAN) ((Node)->SubType == END_ENTIRE_DEVICE_PATH_SUBTYPE);
+}
+////~
+
+////#DevicePathLib
+BOOLEAN
+R8_EfiIsDevicePathEndInstanceSubType (
+ IN EFI_DEVICE_PATH_PROTOCOL *Node
+ )
+/*++
+
+Routine Description:
+
+ Determines if a device path node sub type is an end node of an entire device path instance.
+
+Arguments:
+
+ Node - A pointer to a device path node data structure.
+
+Returns:
+
+ TRUE - The device path node specified by Node is the end of an entire device path instance.
+ FALSE - The device path node specified by Node is not the end of an entire device path instance.
+
+--*/
+{
+ return (BOOLEAN) ((Node)->SubType == END_INSTANCE_DEVICE_PATH_SUBTYPE);
+}
+////~