/** @file\r
- Library used for sorting routines.\r
+ Library used for sorting and comparison routines.\r
\r
Copyright (c) 2009, Intel Corporation\r
All rights reserved. This program and the accompanying materials\r
IN SORT_COMPARE CompareFunction\r
);\r
\r
+\r
+/**\r
+ Function to compare 2 device paths for use as CompareFunction.\r
+\r
+ @param[in] Buffer1 pointer to Device Path to compare\r
+ @param[in] Buffer2 pointer to second DevicePath to compare\r
+\r
+ @retval 0 Buffer1 equal to Buffer2\r
+ @return < 0 Buffer1 is less than Buffer2\r
+ @return > 0 Buffer1 is greater than Buffer2 \r
+**/\r
+INTN\r
+DevicePathCompare (\r
+ IN VOID *Buffer1,\r
+ IN VOID *Buffer2\r
+ );\r
#endif //__SORT_LIB_H__\r