mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1509 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
d039f539ae
commit
7dd2b2ad65
@ -299,6 +299,8 @@ public class GenSectionTask extends Task implements EfiDefine, Section,FfsTypes
|
|||||||
// Call compress
|
// Call compress
|
||||||
//
|
//
|
||||||
byte[] fileBuffer = bo.toByteArray();
|
byte[] fileBuffer = bo.toByteArray();
|
||||||
|
|
||||||
|
synchronized (CompressSection.semaphore) {
|
||||||
Compress myCompress = new Compress(fileBuffer, fileBuffer.length);
|
Compress myCompress = new Compress(fileBuffer, fileBuffer.length);
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -350,6 +352,7 @@ public class GenSectionTask extends Task implements EfiDefine, Section,FfsTypes
|
|||||||
buffer.writeByte(0);
|
buffer.writeByte(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
catch (Exception e){
|
catch (Exception e){
|
||||||
throw new BuildException("compress.toBuffer failed!\n");
|
throw new BuildException("compress.toBuffer failed!\n");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user