]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/BaseSortLib/BaseSortLib.c
add carriage return
[mirror_edk2.git] / ShellPkg / Library / BaseSortLib / BaseSortLib.c
index 04d818efd1d3a54d8d641fd50227b35d58ac9e68..8ee9abb3d382a6145edc2b544c2dcbad64c87b7a 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Library used for sorting routines.\r
 \r
-Copyright (c) 2009, Intel Corporation\r
+Copyright (c) 2009, Intel Corporation<BR>\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
@@ -50,7 +50,8 @@ QuickSortWorker (
   IN CONST UINTN                        ElementSize,\r
   IN       SORT_COMPARE                 CompareFunction,\r
   IN VOID                               *Buffer\r
-  ){\r
+  )\r
+{\r
   VOID        *Pivot;\r
   UINTN       LoopCount;\r
   UINTN       NextSwapLocation;\r
@@ -149,7 +150,8 @@ PerformQuickSort (
   IN CONST UINTN                        Count,\r
   IN CONST UINTN                        ElementSize,\r
   IN       SORT_COMPARE                 CompareFunction\r
-  ){\r
+  )\r
+{\r
   VOID  *Buffer;\r
 \r
   ASSERT(BufferToSort     != NULL);\r
@@ -168,3 +170,18 @@ PerformQuickSort (
   FreePool(Buffer);\r
   return;\r
 }\r
+\r
+/**\r
+  Not supported in Base version.\r
+  \r
+  ASSERT and return 0.\r
+**/\r
+INTN\r
+DevicePathCompare (\r
+  IN  VOID             *Buffer1,\r
+  IN  VOID             *Buffer2\r
+  )\r
+{\r
+  ASSERT(FALSE);\r
+  return 0;\r
+}\r