]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/CCode/Source/CompressDll/CompressDll.c
(1) Using EfiCompress in place of TianoCompress as EFI_STANDARD_COMPRESSION type...
[mirror_edk2.git] / Tools / CCode / Source / CompressDll / CompressDll.c
index f46e6032836f34ec7bebf82ac099a5b2d62f638a..00cff5649fc58efd588c25613d1d49af7e21b22e 100644 (file)
@@ -19,7 +19,7 @@ typedef long long __int64;/*For cygwin build*/
 \r
 extern\r
 EFI_STATUS\r
-TianoCompress (\r
+EfiCompress (\r
   IN      UINT8   *SrcBuffer,\r
   IN      UINT32  SrcSize,\r
   IN      UINT8   *DstBuffer,\r
@@ -47,7 +47,7 @@ JNIEXPORT jbyteArray JNICALL  Java_org_tianocore_framework_tasks_Compress_CallCo
    //  First call compress function and get need buffer size\r
    //\r
 \r
-   Result = TianoCompress (\r
+   Result = EfiCompress (\r
         (char*) InputBuffer, \r
         SourceSize,  \r
         DestBuffer,\r
@@ -61,12 +61,12 @@ JNIEXPORT jbyteArray JNICALL  Java_org_tianocore_framework_tasks_Compress_CallCo
    //\r
    //  Second call compress and get the DestBuffer value\r
    //\r
-   Result = TianoCompress(\r
-              (char*) InputBuffer, \r
+   Result = EfiCompress(\r
+        (char*) InputBuffer, \r
         SourceSize,  \r
         DestBuffer,\r
         &DestSize  \r
-     );\r
+        );\r
 \r
    //\r
    // new a MV array to store the return compressed buffer\r