moved exception and logger classes to org.tianocore.common package
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1269 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -2,14 +2,14 @@
|
||||
CreateMtFileTask class.
|
||||
|
||||
CreateMtFileTask is used to call CreateMtFile.exe to create MT file.
|
||||
|
||||
|
||||
|
||||
|
||||
Copyright (c) 2006, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
@ -24,7 +24,8 @@ import org.apache.tools.ant.BuildException;
|
||||
import org.apache.tools.ant.taskdefs.Execute;
|
||||
import org.apache.tools.ant.taskdefs.LogStreamHandler;
|
||||
import org.apache.tools.ant.types.Commandline;
|
||||
import org.tianocore.logger.EdkLog;
|
||||
|
||||
import org.tianocore.common.logger.EdkLog;
|
||||
|
||||
/**
|
||||
CreateMtFileTask class.
|
||||
@ -53,10 +54,10 @@ public class CreateMtFileTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* execute
|
||||
*
|
||||
*
|
||||
* StripTask execute function is to assemble tool command line & execute
|
||||
* tool command line
|
||||
*
|
||||
*
|
||||
* @throws BuidException
|
||||
*/
|
||||
public void execute() throws BuildException {
|
||||
@ -85,7 +86,7 @@ public class CreateMtFileTask extends Task implements EfiDefine {
|
||||
File file = new File(outputFile);
|
||||
if (!file.isAbsolute() && (!this.outputDir.equalsIgnoreCase(""))) {
|
||||
argument = outputDir + File.separatorChar + outputFile + " " + this.fileSize;
|
||||
|
||||
|
||||
} else {
|
||||
argument = outputFile + " " + this.fileSize;
|
||||
}
|
||||
@ -111,7 +112,7 @@ public class CreateMtFileTask extends Task implements EfiDefine {
|
||||
EdkLog.log(EdkLog.EDK_VERBOSE, Commandline.toString(cmdline.getCommandline()));
|
||||
EdkLog.log(EdkLog.EDK_INFO, (new File(this.outputFile)).getName());
|
||||
revl = runner.execute();
|
||||
|
||||
|
||||
if (EFI_SUCCESS == revl) {
|
||||
//
|
||||
// command execution success
|
||||
@ -131,9 +132,9 @@ public class CreateMtFileTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getFileSize
|
||||
*
|
||||
*
|
||||
* This function is to get class member "fileSize".
|
||||
*
|
||||
*
|
||||
* @return fileSize string of file size.
|
||||
*/
|
||||
public String getFileSize() {
|
||||
@ -142,9 +143,9 @@ public class CreateMtFileTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setFileSize
|
||||
*
|
||||
*
|
||||
* This function is to set class member "fileSize".
|
||||
*
|
||||
*
|
||||
* @param fileSize
|
||||
* string of file size value.
|
||||
*/
|
||||
@ -154,9 +155,9 @@ public class CreateMtFileTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputFile"
|
||||
*
|
||||
*
|
||||
* @return outputFile string of output file name.
|
||||
*/
|
||||
public String getOutputFile() {
|
||||
@ -165,9 +166,9 @@ public class CreateMtFileTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputFile"
|
||||
*
|
||||
*
|
||||
* @param outputFile
|
||||
* string of output file name.
|
||||
*/
|
||||
@ -177,9 +178,9 @@ public class CreateMtFileTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @return outputDir string of output directory.
|
||||
*/
|
||||
public String getOutputDir() {
|
||||
@ -188,9 +189,9 @@ public class CreateMtFileTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @param outputDir
|
||||
* string of output directory.
|
||||
*/
|
||||
|
@ -2,14 +2,14 @@
|
||||
EfiCompressTask class.
|
||||
|
||||
EfiCompressTask is used to call EfiCompress.exe to strip input file.
|
||||
|
||||
|
||||
|
||||
|
||||
Copyright (c) 2006, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
@ -24,7 +24,8 @@ import org.apache.tools.ant.BuildException;
|
||||
import org.apache.tools.ant.taskdefs.Execute;
|
||||
import org.apache.tools.ant.taskdefs.LogStreamHandler;
|
||||
import org.apache.tools.ant.types.Commandline;
|
||||
import org.tianocore.logger.EdkLog;
|
||||
|
||||
import org.tianocore.common.logger.EdkLog;
|
||||
|
||||
/**
|
||||
EfiCompressTask class.
|
||||
@ -49,10 +50,10 @@ public class EfiCompressTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* execute
|
||||
*
|
||||
*
|
||||
* EfiCompressTask execute function is to assemble tool command line & execute
|
||||
* tool command line
|
||||
*
|
||||
*
|
||||
* @throws BuidException
|
||||
*/
|
||||
public void execute() throws BuildException {
|
||||
@ -106,9 +107,9 @@ public class EfiCompressTask extends Task implements EfiDefine {
|
||||
//
|
||||
EdkLog.log(EdkLog.EDK_VERBOSE, Commandline.toString(cmdline.getCommandline()));
|
||||
EdkLog.log(EdkLog.EDK_INFO, (new File(this.inputFile)).getName());
|
||||
|
||||
|
||||
revl = runner.execute();
|
||||
|
||||
|
||||
if (EFI_SUCCESS == revl) {
|
||||
//
|
||||
// command execution success
|
||||
@ -129,9 +130,9 @@ public class EfiCompressTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getInputFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "inputFile".
|
||||
*
|
||||
*
|
||||
* @return string of input file name.
|
||||
*/
|
||||
public String getInputFile() {
|
||||
@ -140,9 +141,9 @@ public class EfiCompressTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setComponentType
|
||||
*
|
||||
*
|
||||
* This function is to set class member "inputFile".
|
||||
*
|
||||
*
|
||||
* @param inputFile
|
||||
* string of input file name.
|
||||
*/
|
||||
@ -152,9 +153,9 @@ public class EfiCompressTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputFile"
|
||||
*
|
||||
*
|
||||
* @return outputFile string of output file name.
|
||||
*/
|
||||
public String getOutputFile() {
|
||||
@ -163,9 +164,9 @@ public class EfiCompressTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputFile"
|
||||
*
|
||||
*
|
||||
* @param outputFile
|
||||
* string of output file name.
|
||||
*/
|
||||
@ -175,9 +176,9 @@ public class EfiCompressTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @return outputDir string of output directory.
|
||||
*/
|
||||
public String getOutputDir() {
|
||||
@ -186,9 +187,9 @@ public class EfiCompressTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @param outputDir
|
||||
* string of output directory.
|
||||
*/
|
||||
|
@ -2,14 +2,14 @@
|
||||
EfiRomTask class.
|
||||
|
||||
EfiRomTask is used to call FlashMap.exe to lay out the flash.
|
||||
|
||||
|
||||
|
||||
|
||||
Copyright (c) 2006, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
@ -26,11 +26,12 @@ import java.util.List;
|
||||
import org.apache.tools.ant.Task;
|
||||
import org.apache.tools.ant.Project;
|
||||
import org.apache.tools.ant.BuildException;
|
||||
import org.tianocore.logger.EdkLog;
|
||||
|
||||
import org.tianocore.common.logger.EdkLog;
|
||||
|
||||
/**
|
||||
* SecFixupTask class.
|
||||
*
|
||||
*
|
||||
* SecFixupTask is used to call SecFixup.exe to fix up sec image.
|
||||
*/
|
||||
public class EfiRomTask extends Task implements EfiDefine {
|
||||
@ -38,7 +39,7 @@ public class EfiRomTask extends Task implements EfiDefine {
|
||||
/// tool name
|
||||
///
|
||||
private final String toolName = "EfiRom";
|
||||
|
||||
|
||||
///
|
||||
/// Flash default file
|
||||
///
|
||||
@ -53,59 +54,59 @@ public class EfiRomTask extends Task implements EfiDefine {
|
||||
/// Flash device Image
|
||||
///
|
||||
private String deviceId = "";
|
||||
|
||||
|
||||
///
|
||||
/// MCI file
|
||||
///
|
||||
private String outputFile = "";
|
||||
|
||||
|
||||
///
|
||||
/// MCO file
|
||||
///
|
||||
private List<Input> binaryFileList = new ArrayList<Input>();
|
||||
|
||||
|
||||
///
|
||||
/// Efi PE32 image file
|
||||
///
|
||||
private List<Input> pe32FileList = new ArrayList<Input>();
|
||||
|
||||
|
||||
///
|
||||
/// Compress efi PE32 image file
|
||||
///
|
||||
private List<Input> pe32ComprFileList = new ArrayList<Input>();
|
||||
|
||||
|
||||
///
|
||||
/// Hex class code in the PCI data strutor header
|
||||
///
|
||||
private String classCode = "";
|
||||
|
||||
|
||||
///
|
||||
/// Hex revision in the PCI data header.
|
||||
///
|
||||
private String revision = "";
|
||||
|
||||
|
||||
///
|
||||
/// Dump the headers of an existing option rom image.
|
||||
///
|
||||
private String dump = "";
|
||||
|
||||
|
||||
|
||||
|
||||
///
|
||||
/// output directory
|
||||
///
|
||||
private String outputDir = ".";
|
||||
|
||||
|
||||
|
||||
|
||||
///
|
||||
/// command and argument list
|
||||
///
|
||||
LinkedList<String> argList = new LinkedList<String>();
|
||||
/**
|
||||
* execute
|
||||
*
|
||||
*
|
||||
* EfiRomTask execute function is to assemble tool command line & execute
|
||||
* tool command line
|
||||
*
|
||||
*
|
||||
* @throws BuidException
|
||||
*/
|
||||
public void execute() throws BuildException {
|
||||
@ -128,7 +129,7 @@ public class EfiRomTask extends Task implements EfiDefine {
|
||||
command = path + File.separatorChar + toolName;
|
||||
}
|
||||
argList.addFirst(command);
|
||||
|
||||
|
||||
//
|
||||
// add microcode binary files
|
||||
//
|
||||
@ -139,7 +140,7 @@ public class EfiRomTask extends Task implements EfiDefine {
|
||||
argList.add(((Input)binList.next()).getFile());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// add pe32 file
|
||||
//
|
||||
@ -150,7 +151,7 @@ public class EfiRomTask extends Task implements EfiDefine {
|
||||
argList.add(((Input)pe32List.next()).getFile());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// add compressed pe32 file
|
||||
//
|
||||
@ -191,48 +192,48 @@ public class EfiRomTask extends Task implements EfiDefine {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* getVerbose
|
||||
*
|
||||
*
|
||||
* This function is to get class member "verbose"
|
||||
*
|
||||
*
|
||||
* @return verbose for verbose output.
|
||||
*/
|
||||
public String getVerbose() {
|
||||
return verbose;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* setVerbose
|
||||
*
|
||||
*
|
||||
* This function is to set class member "verbose"
|
||||
*
|
||||
*
|
||||
* @param verbose for verbose output.
|
||||
*/
|
||||
public void setVerbose(boolean verbose) {
|
||||
if (verbose){
|
||||
this.verbose = "-p";
|
||||
argList.add(this.verbose);
|
||||
argList.add(this.verbose);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* getVenderId
|
||||
*
|
||||
*
|
||||
* This function is to get class member "venderId"
|
||||
*
|
||||
*
|
||||
* @return venderId String of venderId.
|
||||
*/
|
||||
public String getVenderId() {
|
||||
return venderId;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* setVenderId
|
||||
*
|
||||
*
|
||||
* This function is to set class member "venderId"
|
||||
*
|
||||
*
|
||||
* @param venderId String of venderId.
|
||||
*/
|
||||
public void setVenderId(String VenderId) {
|
||||
@ -240,23 +241,23 @@ public class EfiRomTask extends Task implements EfiDefine {
|
||||
argList.add("-v");
|
||||
argList.add(this.venderId);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* getDeviceId
|
||||
*
|
||||
*
|
||||
* This function is to get class member "deviceId"
|
||||
*
|
||||
*
|
||||
* @return deviceId String of device ID.
|
||||
*/
|
||||
public String getDeviceId() {
|
||||
return this.deviceId;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* setDeviceId
|
||||
*
|
||||
*
|
||||
* This function is to set class member "deviceId"
|
||||
*
|
||||
*
|
||||
* @param deviceId String of device ID.
|
||||
*/
|
||||
public void setDeviceId(String deviceId) {
|
||||
@ -265,46 +266,46 @@ public class EfiRomTask extends Task implements EfiDefine {
|
||||
argList.add(this.deviceId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* getOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputFile"
|
||||
*
|
||||
*
|
||||
* @return outputFile name of output directory.
|
||||
*/
|
||||
public String getOutputFile() {
|
||||
return outputFile;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* setOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "dscFile"
|
||||
*
|
||||
*
|
||||
* @param outputFile name of DSC file
|
||||
*/
|
||||
public void setOutputFile(String outputFile) {
|
||||
this.outputFile = outputFile;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* getClassCode
|
||||
*
|
||||
*
|
||||
* This function is to get class member "classCode"
|
||||
*
|
||||
*
|
||||
* @return fdImage name of class code file.
|
||||
*/
|
||||
public String getClassCode() {
|
||||
return classCode;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* setclassCode
|
||||
*
|
||||
*
|
||||
* This function is to set class member "classCode"
|
||||
*
|
||||
*
|
||||
* @param fdImage name of class code file.
|
||||
*/
|
||||
public void setclassCode(String classCode) {
|
||||
@ -312,23 +313,23 @@ public class EfiRomTask extends Task implements EfiDefine {
|
||||
argList.add("-cc");
|
||||
argList.add(this.classCode);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* getRevision
|
||||
*
|
||||
*
|
||||
* This function is to get class member "revision".
|
||||
*
|
||||
*
|
||||
* @return revision hex revision in the PDI data header.
|
||||
*/
|
||||
public String getRevision() {
|
||||
return revision;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* setRevision
|
||||
*
|
||||
*
|
||||
* This function is to set class member "revision"
|
||||
*
|
||||
*
|
||||
* @param revision hex revision in the PDI data header.
|
||||
*/
|
||||
public void setRevision(String revision) {
|
||||
@ -336,23 +337,23 @@ public class EfiRomTask extends Task implements EfiDefine {
|
||||
argList.add("-rev");
|
||||
argList.add(this.revision);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* getFlashDeviceImage
|
||||
*
|
||||
*
|
||||
* This function is to get class member "dump"
|
||||
*
|
||||
*
|
||||
* @return flashDeviceImage name of flash device image
|
||||
*/
|
||||
public String getDump() {
|
||||
return dump;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* setFlashDeviceImage
|
||||
*
|
||||
*
|
||||
* This function is to set class member "dump"
|
||||
*
|
||||
*
|
||||
* @param flashDeviceImage name of flash device image
|
||||
*/
|
||||
public void setDump(boolean dump) {
|
||||
@ -364,20 +365,20 @@ public class EfiRomTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputDir"
|
||||
*
|
||||
* @return outputDir string of output directory
|
||||
*
|
||||
* @return outputDir string of output directory
|
||||
*/
|
||||
public String getOutputDir() {
|
||||
return outputDir;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* setOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @param outputDir string of output directory
|
||||
*/
|
||||
public void setOutputDir(String outputDir) {
|
||||
@ -385,31 +386,31 @@ public class EfiRomTask extends Task implements EfiDefine {
|
||||
}
|
||||
/**
|
||||
* addBinaryFile
|
||||
*
|
||||
*
|
||||
* This function is to add binary file to binaryFile list.
|
||||
*
|
||||
*
|
||||
* @param binaryFile name of binary file.
|
||||
*/
|
||||
public void addBinaryFile(Input binaryFile){
|
||||
this.binaryFileList.add(binaryFile);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* addPe32File
|
||||
*
|
||||
* This function is to add pe32 file to pe32File list.
|
||||
*
|
||||
*
|
||||
* This function is to add pe32 file to pe32File list.
|
||||
*
|
||||
* @param pe32File name of pe32 file.
|
||||
*/
|
||||
public void addPe32File(Input pe32File){
|
||||
this.pe32FileList.add(pe32File);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* addPe32ComprFile
|
||||
*
|
||||
*
|
||||
* This function os to add compressed pe32 file to pe32ComprFile list.
|
||||
*
|
||||
*
|
||||
* @param pe32ComprFile name of compressed pe32 file.
|
||||
*/
|
||||
public void addPe32ComprFile(Input pe32ComprFile){
|
||||
|
@ -2,14 +2,14 @@
|
||||
FlashMapTask class.
|
||||
|
||||
FlashMapTask is used to call FlashMap.exe to lay out the flash.
|
||||
|
||||
|
||||
|
||||
|
||||
Copyright (c) 2006, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
@ -26,11 +26,12 @@ import java.util.List;
|
||||
import org.apache.tools.ant.Task;
|
||||
import org.apache.tools.ant.Project;
|
||||
import org.apache.tools.ant.BuildException;
|
||||
import org.tianocore.logger.EdkLog;
|
||||
|
||||
import org.tianocore.common.logger.EdkLog;
|
||||
|
||||
/**
|
||||
* FlashMapTask class.
|
||||
*
|
||||
*
|
||||
* FlashMapTask is used to call FlashMap.exe to generate flash map defition files and fd files.
|
||||
*/
|
||||
public class FlashMapTask extends Task implements EfiDefine {
|
||||
@ -131,10 +132,10 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* execute
|
||||
*
|
||||
*
|
||||
* FlashMapTask execute function is to assemble tool command line & execute
|
||||
* tool command line
|
||||
*
|
||||
*
|
||||
* @throws BuidException
|
||||
*/
|
||||
public void execute() throws BuildException {
|
||||
@ -168,8 +169,8 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
argList.add(this.inStrFile);
|
||||
argList.add(this.outStrFile);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
//
|
||||
// add microcode binary files
|
||||
//
|
||||
@ -216,9 +217,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getFlashDefFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "flashDefFile"
|
||||
*
|
||||
*
|
||||
* @return flashDeFile Name of flash definition file.
|
||||
*/
|
||||
public String getFlashDefFile() {
|
||||
@ -227,9 +228,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setFlashDefFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "flashDefFile"
|
||||
*
|
||||
*
|
||||
* @param flashDefFile
|
||||
* Name of flash definition file.
|
||||
*/
|
||||
@ -241,9 +242,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getAligment
|
||||
*
|
||||
*
|
||||
* This function is to get class member "aligment"
|
||||
*
|
||||
*
|
||||
* @return aligment String of aligment value.
|
||||
*/
|
||||
public String getAligment() {
|
||||
@ -252,9 +253,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setAligment
|
||||
*
|
||||
*
|
||||
* This function is to set class member "aligment"
|
||||
*
|
||||
*
|
||||
* @param aligment
|
||||
* String of aligment value.
|
||||
*/
|
||||
@ -266,9 +267,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getAsmIncFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "asmIncFile"
|
||||
*
|
||||
*
|
||||
* @return asmIncFile String of ASM include file.
|
||||
*/
|
||||
public String getAsmIncFile() {
|
||||
@ -277,9 +278,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setAsmIncFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "asmIncFile"
|
||||
*
|
||||
*
|
||||
* @param asmIncFile
|
||||
* String of ASM include file.
|
||||
*/
|
||||
@ -291,9 +292,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getBaseAddr
|
||||
*
|
||||
*
|
||||
* This function is to get class member "baseAddr"
|
||||
*
|
||||
*
|
||||
* @return baseAddr String of base address value.
|
||||
*/
|
||||
public String getBaseAddr() {
|
||||
@ -302,9 +303,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setBaseAddr
|
||||
*
|
||||
*
|
||||
* This function is to set class member "baseAddr"
|
||||
*
|
||||
*
|
||||
* @param baseAddr
|
||||
* String of base address value.
|
||||
*/
|
||||
@ -316,9 +317,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getDscFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "dscFile"
|
||||
*
|
||||
*
|
||||
* @return dscFile name of DSC file
|
||||
*/
|
||||
public String getDscFile() {
|
||||
@ -327,9 +328,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setDscFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "dscFile"
|
||||
*
|
||||
*
|
||||
* @param dscFile
|
||||
* name of DSC file
|
||||
*/
|
||||
@ -341,9 +342,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getFdImage
|
||||
*
|
||||
*
|
||||
* This function is to get class member "fdImage"
|
||||
*
|
||||
*
|
||||
* @return fdImage name of input FDI image file.
|
||||
*/
|
||||
public String getFdImage() {
|
||||
@ -352,9 +353,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setFdImage
|
||||
*
|
||||
*
|
||||
* This function is to set class member "fdImage"
|
||||
*
|
||||
*
|
||||
* @param fdImage
|
||||
* name of input FDI image file.
|
||||
*/
|
||||
@ -366,9 +367,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getFlashDevice
|
||||
*
|
||||
*
|
||||
* This function is to get class member "flashDevice".
|
||||
*
|
||||
*
|
||||
* @return flashDevice name of flash device.
|
||||
*/
|
||||
public String getFlashDevice() {
|
||||
@ -377,9 +378,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setFlashDevice
|
||||
*
|
||||
*
|
||||
* This function is to set class member "flashDevice"
|
||||
*
|
||||
*
|
||||
* @param flashDevice
|
||||
* name of flash device.
|
||||
*/
|
||||
@ -391,9 +392,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getFlashDeviceImage
|
||||
*
|
||||
*
|
||||
* This function is to get class member "flashDeviceImage"
|
||||
*
|
||||
*
|
||||
* @return flashDeviceImage name of flash device image
|
||||
*/
|
||||
public String getFlashDeviceImage() {
|
||||
@ -402,9 +403,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setFlashDeviceImage
|
||||
*
|
||||
*
|
||||
* This function is to set class member "flashDeviceImage"
|
||||
*
|
||||
*
|
||||
* @param flashDeviceImage
|
||||
* name of flash device image
|
||||
*/
|
||||
@ -417,9 +418,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getHeaderFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "headerFile"
|
||||
*
|
||||
*
|
||||
* @return headerFile name of include file
|
||||
*/
|
||||
public String getHeaderFile() {
|
||||
@ -428,9 +429,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setHeaderFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "headerFile"
|
||||
*
|
||||
*
|
||||
* @param headerFile
|
||||
* name of include file
|
||||
*/
|
||||
@ -442,9 +443,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getImageOutFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "imageOutFile"
|
||||
*
|
||||
*
|
||||
* @return imageOutFile name of output image file
|
||||
*/
|
||||
public String getImageOutFile() {
|
||||
@ -453,9 +454,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setImageOutFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "ImageOutFile"
|
||||
*
|
||||
*
|
||||
* @param imageOutFile
|
||||
* name of output image file
|
||||
*/
|
||||
@ -467,9 +468,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getInStrFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "inStrFile"
|
||||
*
|
||||
*
|
||||
* @return inStrFile name of input file which used to replace symbol names.
|
||||
*/
|
||||
public String getInStrFile() {
|
||||
@ -478,9 +479,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setInStrFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "inStrFile"
|
||||
*
|
||||
*
|
||||
* @param inStrFile
|
||||
* name of input file which used to replace symbol names.
|
||||
*/
|
||||
@ -490,9 +491,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getMciFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "mciFile"
|
||||
*
|
||||
*
|
||||
* @return mciFile name of input microcode file
|
||||
*/
|
||||
public String getMciFile() {
|
||||
@ -501,9 +502,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setMciFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "mciFile"
|
||||
*
|
||||
*
|
||||
* @param mciFile
|
||||
* name of input microcode file
|
||||
*/
|
||||
@ -515,9 +516,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getMcoFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "mcoFile"
|
||||
*
|
||||
*
|
||||
* @return mcoFile name of output binary microcode image
|
||||
*/
|
||||
public String getMcoFile() {
|
||||
@ -526,9 +527,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setMcoFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "mcoFile"
|
||||
*
|
||||
*
|
||||
* @param mcoFile
|
||||
* name of output binary microcode image
|
||||
*/
|
||||
@ -540,9 +541,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutStrFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outStrFile"
|
||||
*
|
||||
*
|
||||
* @return outStrFile name of output string substitution file
|
||||
*/
|
||||
public String getOutStrFile() {
|
||||
@ -551,9 +552,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutStrFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outStrFile"
|
||||
*
|
||||
*
|
||||
* @param outStrFile
|
||||
* name of output string substitution file
|
||||
*/
|
||||
@ -563,9 +564,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getPadValue
|
||||
*
|
||||
*
|
||||
* This function is to get class member "padValue"
|
||||
*
|
||||
*
|
||||
* @return padValue string of byte value to use as padding
|
||||
*/
|
||||
public String getPadValue() {
|
||||
@ -574,9 +575,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setPadValue
|
||||
*
|
||||
*
|
||||
* This function is to set class member "padValue"
|
||||
*
|
||||
*
|
||||
* @param padValue
|
||||
* string of byte value to use as padding
|
||||
*/
|
||||
@ -588,9 +589,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* addMciFile
|
||||
*
|
||||
*
|
||||
* This function is to add Microcode binary file
|
||||
*
|
||||
*
|
||||
* @param mciFile
|
||||
* instance of input class
|
||||
*/
|
||||
@ -600,9 +601,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @return outputDir string of output directory
|
||||
*/
|
||||
public String getOutputDir() {
|
||||
@ -611,9 +612,9 @@ public class FlashMapTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @param outputDir
|
||||
* string of output directory
|
||||
*/
|
||||
|
@ -17,18 +17,20 @@ Abstract:
|
||||
--*/
|
||||
|
||||
package org.tianocore.framework.tasks;
|
||||
|
||||
import org.apache.tools.ant.Project;
|
||||
import org.tianocore.logger.LogMethod;
|
||||
|
||||
import org.tianocore.common.logger.LogMethod;
|
||||
|
||||
class FrameworkLogger implements LogMethod {
|
||||
private Project project;
|
||||
private String titleName;
|
||||
public FrameworkLogger(Project project, String taskName) {
|
||||
this.project = project;
|
||||
this.titleName = taskName;
|
||||
this.titleName = taskName;
|
||||
}
|
||||
|
||||
public void putMessage(Object msgSource, int msgLevel, String msg) {
|
||||
public void putMessage(Object msgSource, int msgLevel, String msg) {
|
||||
String frameworkMsg = " [" + this.titleName + "] " + msg;
|
||||
this.project.log(frameworkMsg, Project.MSG_INFO);
|
||||
}
|
||||
|
@ -2,14 +2,14 @@
|
||||
FwImageTask class.
|
||||
|
||||
FwImageTask is used to call FwImage.ext to generate the FwImage.
|
||||
|
||||
|
||||
|
||||
|
||||
Copyright (c) 2006, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
@ -24,7 +24,8 @@ import org.apache.tools.ant.Task;
|
||||
import org.apache.tools.ant.taskdefs.Execute;
|
||||
import org.apache.tools.ant.taskdefs.LogStreamHandler;
|
||||
import org.apache.tools.ant.types.Commandline;
|
||||
import org.tianocore.logger.EdkLog;
|
||||
|
||||
import org.tianocore.common.logger.EdkLog;
|
||||
|
||||
|
||||
/**
|
||||
@ -34,17 +35,17 @@ import org.tianocore.logger.EdkLog;
|
||||
**/
|
||||
public class FwImageTask extends Task implements EfiDefine{
|
||||
///
|
||||
/// time&data
|
||||
/// time&data
|
||||
///
|
||||
private String time = "";
|
||||
///
|
||||
/// input PE image
|
||||
///
|
||||
///
|
||||
private String peImage = "";
|
||||
private String peImageName = "";
|
||||
///
|
||||
/// output EFI image
|
||||
///
|
||||
///
|
||||
private String outImage = "";
|
||||
///
|
||||
/// component type
|
||||
@ -53,15 +54,15 @@ public class FwImageTask extends Task implements EfiDefine{
|
||||
|
||||
/**
|
||||
* assemble tool command line & execute tool command line
|
||||
*
|
||||
*
|
||||
* @throws BuildException
|
||||
*/
|
||||
/**
|
||||
execute
|
||||
|
||||
execute
|
||||
|
||||
FwimageTask execute function is to assemble tool command line & execute
|
||||
tool command line
|
||||
|
||||
|
||||
@throws BuidException
|
||||
**/
|
||||
public void execute() throws BuildException {
|
||||
@ -117,9 +118,9 @@ public class FwImageTask extends Task implements EfiDefine{
|
||||
|
||||
/**
|
||||
setTime
|
||||
|
||||
|
||||
This function is to set operation of class member "time".
|
||||
|
||||
|
||||
@param time string of time
|
||||
**/
|
||||
public void setTime(String time) {
|
||||
@ -128,7 +129,7 @@ public class FwImageTask extends Task implements EfiDefine{
|
||||
|
||||
/**
|
||||
getTime
|
||||
|
||||
|
||||
This function is to get class member "time"
|
||||
@return time string of time
|
||||
**/
|
||||
@ -138,7 +139,7 @@ public class FwImageTask extends Task implements EfiDefine{
|
||||
|
||||
/**
|
||||
getPeImage
|
||||
|
||||
|
||||
This function is to get class member "peImage".
|
||||
@return name of PE image
|
||||
**/
|
||||
@ -148,7 +149,7 @@ public class FwImageTask extends Task implements EfiDefine{
|
||||
|
||||
/**
|
||||
setPeImage
|
||||
|
||||
|
||||
This function is to set class member "peImage"
|
||||
@param peImage name of PE image
|
||||
**/
|
||||
@ -159,7 +160,7 @@ public class FwImageTask extends Task implements EfiDefine{
|
||||
|
||||
/**
|
||||
getOutImage
|
||||
|
||||
|
||||
This function is to get class member "outImage".
|
||||
@return name of output EFI image
|
||||
**/
|
||||
@ -169,7 +170,7 @@ public class FwImageTask extends Task implements EfiDefine{
|
||||
|
||||
/**
|
||||
setOutImage
|
||||
|
||||
|
||||
This function is to set class member "outImage".
|
||||
@param outImage name of output EFI image
|
||||
**/
|
||||
@ -179,9 +180,9 @@ public class FwImageTask extends Task implements EfiDefine{
|
||||
|
||||
/**
|
||||
getComponentType
|
||||
|
||||
|
||||
This function is to get class member "componentType".
|
||||
|
||||
|
||||
@return string of componentType
|
||||
**/
|
||||
public String getComponentType() {
|
||||
@ -190,7 +191,7 @@ public class FwImageTask extends Task implements EfiDefine{
|
||||
|
||||
/**
|
||||
setComponentType
|
||||
|
||||
|
||||
This function is to set class member "componentType".
|
||||
@param componentType string of component type
|
||||
**/
|
||||
|
@ -2,14 +2,14 @@
|
||||
GenAcpiTable class.
|
||||
|
||||
GenAcpiTable is used to call GenAcpiTable.exe to generate ACPI Table image .
|
||||
|
||||
|
||||
|
||||
|
||||
Copyright (c) 2006, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
@ -24,7 +24,8 @@ import org.apache.tools.ant.BuildException;
|
||||
import org.apache.tools.ant.taskdefs.Execute;
|
||||
import org.apache.tools.ant.taskdefs.LogStreamHandler;
|
||||
import org.apache.tools.ant.types.Commandline;
|
||||
import org.tianocore.logger.EdkLog;
|
||||
|
||||
import org.tianocore.common.logger.EdkLog;
|
||||
|
||||
/**
|
||||
GenAcpiTable class.
|
||||
@ -49,10 +50,10 @@ public class GenAcpiTableTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* execute
|
||||
*
|
||||
*
|
||||
* StripTask execute function is to assemble tool command line & execute
|
||||
* tool command line
|
||||
*
|
||||
*
|
||||
* @throws BuidException
|
||||
*/
|
||||
public void execute() throws BuildException {
|
||||
@ -107,7 +108,7 @@ public class GenAcpiTableTask extends Task implements EfiDefine {
|
||||
EdkLog.log(EdkLog.EDK_VERBOSE, Commandline.toString(cmdline.getCommandline()));
|
||||
EdkLog.log(EdkLog.EDK_INFO, (new File(this.inputFile)).getName());
|
||||
revl = runner.execute();
|
||||
|
||||
|
||||
if (EFI_SUCCESS == revl) {
|
||||
//
|
||||
// command execution success
|
||||
@ -127,9 +128,9 @@ public class GenAcpiTableTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getInputFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "inputFile".
|
||||
*
|
||||
*
|
||||
* @return string of input file name.
|
||||
*/
|
||||
public String getInputFile() {
|
||||
@ -138,9 +139,9 @@ public class GenAcpiTableTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setComponentType
|
||||
*
|
||||
*
|
||||
* This function is to set class member "inputFile".
|
||||
*
|
||||
*
|
||||
* @param inputFile
|
||||
* string of input file name.
|
||||
*/
|
||||
@ -150,9 +151,9 @@ public class GenAcpiTableTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputFile"
|
||||
*
|
||||
*
|
||||
* @return outputFile string of output file name.
|
||||
*/
|
||||
public String getOutputFile() {
|
||||
@ -161,9 +162,9 @@ public class GenAcpiTableTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputFile"
|
||||
*
|
||||
*
|
||||
* @param outputFile
|
||||
* string of output file name.
|
||||
*/
|
||||
@ -173,9 +174,9 @@ public class GenAcpiTableTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @return outputDir string of output directory.
|
||||
*/
|
||||
public String getOutputDir() {
|
||||
@ -184,9 +185,9 @@ public class GenAcpiTableTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @param outputDir
|
||||
* string of output directory.
|
||||
*/
|
||||
|
@ -2,14 +2,14 @@
|
||||
GenCapsuleHdrTask class.
|
||||
|
||||
GenCapsuleHdrTask is used to call GenCapsuleHdr.exe to generate capsule.
|
||||
|
||||
|
||||
|
||||
|
||||
Copyright (c) 2006, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
@ -24,7 +24,8 @@ import org.apache.tools.ant.BuildException;
|
||||
import org.apache.tools.ant.taskdefs.Execute;
|
||||
import org.apache.tools.ant.taskdefs.LogStreamHandler;
|
||||
import org.apache.tools.ant.types.Commandline;
|
||||
import org.tianocore.logger.EdkLog;
|
||||
|
||||
import org.tianocore.common.logger.EdkLog;
|
||||
|
||||
/**
|
||||
GenCapsuleHdrTask class.
|
||||
@ -36,7 +37,7 @@ public class GenCapsuleHdrTask extends Task implements EfiDefine {
|
||||
/// tool name
|
||||
///
|
||||
private String toolName = "GenCapsuleHdr";
|
||||
|
||||
|
||||
///
|
||||
/// script file
|
||||
///
|
||||
@ -61,17 +62,17 @@ public class GenCapsuleHdrTask extends Task implements EfiDefine {
|
||||
/// Dump flag
|
||||
///
|
||||
private String dump = "";
|
||||
|
||||
|
||||
///
|
||||
/// Split size
|
||||
///
|
||||
private String size = "";
|
||||
|
||||
|
||||
///
|
||||
/// capsule into one image flag
|
||||
///
|
||||
private String joinFlag = "";
|
||||
|
||||
|
||||
///
|
||||
/// capsule file
|
||||
///
|
||||
@ -80,10 +81,10 @@ public class GenCapsuleHdrTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* execute
|
||||
*
|
||||
*
|
||||
* GenCapsuleHdrTask execute function is to assemble tool command line & execute
|
||||
* tool command line
|
||||
*
|
||||
*
|
||||
* @throws BuidException
|
||||
*/
|
||||
public void execute() throws BuildException {
|
||||
@ -160,9 +161,9 @@ public class GenCapsuleHdrTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getInputFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "scriptFile".
|
||||
*
|
||||
*
|
||||
* @return string of input file name.
|
||||
*/
|
||||
public String getScriptFile() {
|
||||
@ -171,9 +172,9 @@ public class GenCapsuleHdrTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setComponentType
|
||||
*
|
||||
*
|
||||
* This function is to set class member "inputFile".
|
||||
*
|
||||
*
|
||||
* @param inputFile
|
||||
* string of input file name.
|
||||
*/
|
||||
@ -183,9 +184,9 @@ public class GenCapsuleHdrTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputFile"
|
||||
*
|
||||
*
|
||||
* @return outputFile string of output file name.
|
||||
*/
|
||||
public String getOutputFile() {
|
||||
@ -194,9 +195,9 @@ public class GenCapsuleHdrTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputFile"
|
||||
*
|
||||
*
|
||||
* @param outputFile
|
||||
* string of output file name.
|
||||
*/
|
||||
@ -206,9 +207,9 @@ public class GenCapsuleHdrTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @return outputDir string of output directory.
|
||||
*/
|
||||
public String getOutputDir() {
|
||||
@ -217,9 +218,9 @@ public class GenCapsuleHdrTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @param outputDir
|
||||
* string of output directory.
|
||||
*/
|
||||
@ -229,9 +230,9 @@ public class GenCapsuleHdrTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getVerbose
|
||||
*
|
||||
*
|
||||
* This function is to get class member "verbose"
|
||||
*
|
||||
*
|
||||
* @return verbose the flag of verbose.
|
||||
*/
|
||||
public String getVerbose() {
|
||||
@ -240,9 +241,9 @@ public class GenCapsuleHdrTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setVerbose
|
||||
*
|
||||
*
|
||||
* This function is to set class member "verbose"
|
||||
*
|
||||
*
|
||||
* @param verbose
|
||||
* True or False.
|
||||
*/
|
||||
@ -254,9 +255,9 @@ public class GenCapsuleHdrTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getDump
|
||||
*
|
||||
*
|
||||
* This function is to get class member "dump"
|
||||
*
|
||||
*
|
||||
* @return verbose the flag of dump.
|
||||
*/
|
||||
public String getDump() {
|
||||
@ -265,9 +266,9 @@ public class GenCapsuleHdrTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setDump
|
||||
*
|
||||
*
|
||||
* This function is to set class member "dump".
|
||||
*
|
||||
*
|
||||
* @param dump
|
||||
* True or False.
|
||||
*/
|
||||
@ -279,9 +280,9 @@ public class GenCapsuleHdrTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getSize
|
||||
*
|
||||
*
|
||||
* This function is to set class member "size".
|
||||
*
|
||||
*
|
||||
* @return size string of size value
|
||||
*/
|
||||
public String getSize() {
|
||||
@ -290,9 +291,9 @@ public class GenCapsuleHdrTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setSize
|
||||
*
|
||||
*
|
||||
* This function is to set class member "size".
|
||||
*
|
||||
*
|
||||
* @param size string of size value.
|
||||
*/
|
||||
public void setSize(String size) {
|
||||
@ -301,9 +302,9 @@ public class GenCapsuleHdrTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getCapsuleFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "capsuleFile"
|
||||
*
|
||||
*
|
||||
* @return capsuleFile capsule file name
|
||||
*/
|
||||
public String getCapsuleFile() {
|
||||
@ -312,9 +313,9 @@ public class GenCapsuleHdrTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setCapsuleFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "capsuleFile"
|
||||
*
|
||||
*
|
||||
* @param capsuleFile capsule file name
|
||||
*/
|
||||
public void setCapsuleFile(String capsuleFile) {
|
||||
@ -323,10 +324,10 @@ public class GenCapsuleHdrTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* isJoinFlag
|
||||
*
|
||||
*
|
||||
* This function is to get class member "joinFlag"
|
||||
*
|
||||
* @return joinFlag flag of if need to join split capsule images into
|
||||
*
|
||||
* @return joinFlag flag of if need to join split capsule images into
|
||||
* a single image.
|
||||
*/
|
||||
public String getJoinFlag() {
|
||||
@ -335,16 +336,16 @@ public class GenCapsuleHdrTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setJoinFlag
|
||||
*
|
||||
*
|
||||
* This function is to set class member "joinFlag"
|
||||
*
|
||||
* @param joinFlag flag of if need to join split capsule images into
|
||||
* a single image.
|
||||
*
|
||||
* @param joinFlag flag of if need to join split capsule images into
|
||||
* a single image.
|
||||
*/
|
||||
public void setJoinFlag(boolean joinFlag) {
|
||||
if (joinFlag){
|
||||
this.joinFlag = "-j ";
|
||||
this.joinFlag = "-j ";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -2,14 +2,14 @@
|
||||
GenTeImageTask class.
|
||||
|
||||
GenTeImageTask is used to call GenTEImage.exe to generate TE image .
|
||||
|
||||
|
||||
|
||||
|
||||
Copyright (c) 2006, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
@ -24,11 +24,12 @@ import org.apache.tools.ant.BuildException;
|
||||
import org.apache.tools.ant.taskdefs.Execute;
|
||||
import org.apache.tools.ant.taskdefs.LogStreamHandler;
|
||||
import org.apache.tools.ant.types.Commandline;
|
||||
import org.tianocore.logger.EdkLog;
|
||||
|
||||
import org.tianocore.common.logger.EdkLog;
|
||||
|
||||
/**
|
||||
* GenTeImageTask class.
|
||||
*
|
||||
*
|
||||
* GenTeImageTask is used to call GenAcpiTable.exe to generate ACPI Table image .
|
||||
*/
|
||||
public class GenTeImageTask extends Task implements EfiDefine {
|
||||
@ -63,15 +64,15 @@ public class GenTeImageTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* assemble tool command line & execute tool command line
|
||||
*
|
||||
*
|
||||
* @throws BuildException
|
||||
*/
|
||||
/**
|
||||
* execute
|
||||
*
|
||||
*
|
||||
* GenTeImgaeTask execute function is to assemble tool command line & execute
|
||||
* tool command line
|
||||
*
|
||||
*
|
||||
* @throws BuidException
|
||||
*/
|
||||
public void execute() throws BuildException {
|
||||
@ -149,9 +150,9 @@ public class GenTeImageTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getInputFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "inputFile".
|
||||
*
|
||||
*
|
||||
* @return string of input file name.
|
||||
*/
|
||||
public String getInputFile() {
|
||||
@ -160,9 +161,9 @@ public class GenTeImageTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setComponentType
|
||||
*
|
||||
*
|
||||
* This function is to set class member "inputFile".
|
||||
*
|
||||
*
|
||||
* @param inputFile
|
||||
* string of input file name.
|
||||
*/
|
||||
@ -172,9 +173,9 @@ public class GenTeImageTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputFile"
|
||||
*
|
||||
*
|
||||
* @return outputFile string of output file name.
|
||||
*/
|
||||
public String getOutputFile() {
|
||||
@ -183,9 +184,9 @@ public class GenTeImageTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputFile"
|
||||
*
|
||||
*
|
||||
* @param outputFile
|
||||
* string of output file name.
|
||||
*/
|
||||
@ -195,9 +196,9 @@ public class GenTeImageTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @return outputDir string of output directory.
|
||||
*/
|
||||
public String getOutputDir() {
|
||||
@ -206,9 +207,9 @@ public class GenTeImageTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @param outputDir
|
||||
* string of output directory.
|
||||
*/
|
||||
@ -218,9 +219,9 @@ public class GenTeImageTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getVerbose
|
||||
*
|
||||
*
|
||||
* This function is to get class member "verbose"
|
||||
*
|
||||
*
|
||||
* @return verbose the flag of verbose.
|
||||
*/
|
||||
public String getVerbose() {
|
||||
@ -229,9 +230,9 @@ public class GenTeImageTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setVerbose
|
||||
*
|
||||
*
|
||||
* This function is to set class member "verbose"
|
||||
*
|
||||
*
|
||||
* @param verbose
|
||||
* True or False.
|
||||
*/
|
||||
@ -243,9 +244,9 @@ public class GenTeImageTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getDump
|
||||
*
|
||||
*
|
||||
* This function is to get class member "dump"
|
||||
*
|
||||
*
|
||||
* @return verbose the flag of dump.
|
||||
*/
|
||||
public String getDump() {
|
||||
@ -254,9 +255,9 @@ public class GenTeImageTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setDump
|
||||
*
|
||||
*
|
||||
* This function is to set class member "dump"
|
||||
*
|
||||
*
|
||||
* @param dump
|
||||
* True or False.
|
||||
*/
|
||||
|
@ -35,7 +35,8 @@ import org.apache.tools.ant.taskdefs.Execute;
|
||||
import org.apache.tools.ant.taskdefs.LogStreamHandler;
|
||||
import org.apache.tools.ant.types.Commandline;
|
||||
import org.apache.tools.ant.types.Path;
|
||||
import org.tianocore.logger.EdkLog;
|
||||
|
||||
import org.tianocore.common.logger.EdkLog;
|
||||
|
||||
/**
|
||||
Class MakeDeps is used to wrap MakeDeps.exe as an ANT task.
|
||||
@ -112,7 +113,7 @@ public class MakeDeps extends Task {
|
||||
|
||||
///
|
||||
/// if there's no source files, we can do nothing about dependency
|
||||
///
|
||||
///
|
||||
if (inputFileList.size() == 0) {
|
||||
throw new BuildException("No source files specified to scan");
|
||||
}
|
||||
@ -375,7 +376,7 @@ public class MakeDeps extends Task {
|
||||
|
||||
///
|
||||
/// compose the final file content
|
||||
///
|
||||
///
|
||||
StringBuffer cleanedLines = new StringBuffer(40960);
|
||||
Iterator<String> it = lineSet.iterator();
|
||||
while (it.hasNext()) {
|
||||
|
@ -2,14 +2,14 @@
|
||||
ModifyInfTask class.
|
||||
|
||||
ModifyInfTask is used to call Modify.exe to generate inf file.
|
||||
|
||||
|
||||
|
||||
|
||||
Copyright (c) 2006, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
@ -24,7 +24,8 @@ import org.apache.tools.ant.BuildException;
|
||||
import org.apache.tools.ant.taskdefs.Execute;
|
||||
import org.apache.tools.ant.taskdefs.LogStreamHandler;
|
||||
import org.apache.tools.ant.types.Commandline;
|
||||
import org.tianocore.logger.EdkLog;
|
||||
|
||||
import org.tianocore.common.logger.EdkLog;
|
||||
|
||||
/**
|
||||
ModifyInfTask class.
|
||||
@ -36,7 +37,7 @@ public class ModifyInfTask extends Task implements EfiDefine {
|
||||
/// tool name
|
||||
///
|
||||
private String toolName = "ModifyInf";
|
||||
|
||||
|
||||
///
|
||||
/// input FV inf file
|
||||
///
|
||||
@ -54,15 +55,15 @@ public class ModifyInfTask extends Task implements EfiDefine {
|
||||
|
||||
///
|
||||
/// Output dir
|
||||
///
|
||||
///
|
||||
private String outputDir = "";
|
||||
|
||||
|
||||
/**
|
||||
* execute
|
||||
*
|
||||
*
|
||||
* ModifyInfTask execute function is to assemble tool command line & execute
|
||||
* tool command line
|
||||
*
|
||||
*
|
||||
* @throws BuidException
|
||||
*/
|
||||
public void execute() throws BuildException {
|
||||
@ -91,12 +92,12 @@ public class ModifyInfTask extends Task implements EfiDefine {
|
||||
File file = new File(outputFVInfFileName);
|
||||
if (!file.isAbsolute() && (!this.outputDir.equalsIgnoreCase(""))) {
|
||||
argument = this.inputFVInfFileName +
|
||||
this.outputDir +
|
||||
this.outputDir +
|
||||
File.separatorChar +
|
||||
this.outputFVInfFileName +
|
||||
this.patternStr;
|
||||
} else {
|
||||
argument = this.inputFVInfFileName +
|
||||
argument = this.inputFVInfFileName +
|
||||
this.outputFVInfFileName +
|
||||
this.patternStr;
|
||||
}
|
||||
@ -142,9 +143,9 @@ public class ModifyInfTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getinputFVInfFileName
|
||||
*
|
||||
*
|
||||
* This function is to get class member "inputFVInfFileName".
|
||||
*
|
||||
*
|
||||
* @return string of input inf file name.
|
||||
*/
|
||||
public String getinputFVInfFileName() {
|
||||
@ -153,9 +154,9 @@ public class ModifyInfTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setinputFVInfFileName
|
||||
*
|
||||
*
|
||||
* This function is to set class member "inputFVInfFileName".
|
||||
*
|
||||
*
|
||||
* @param inputFile
|
||||
* string of input inf file name.
|
||||
*/
|
||||
@ -165,9 +166,9 @@ public class ModifyInfTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getoutputFVInfFileName
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputFVInfFileName"
|
||||
*
|
||||
*
|
||||
* @return outputFVInfFileName string of output inf file name.
|
||||
*/
|
||||
public String getoutputFVInfFileName() {
|
||||
@ -176,9 +177,9 @@ public class ModifyInfTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setoutputFVInfFileName
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputFVInfFileName"
|
||||
*
|
||||
*
|
||||
* @param outputFVInfFileName
|
||||
* string of output inf file name.
|
||||
*/
|
||||
@ -188,9 +189,9 @@ public class ModifyInfTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getpatternStr
|
||||
*
|
||||
*
|
||||
* This function is to get class member "patternStr"
|
||||
*
|
||||
*
|
||||
* @return patternStr string of pattern.
|
||||
*/
|
||||
public String getpatternStr() {
|
||||
@ -199,9 +200,9 @@ public class ModifyInfTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setpatternStr
|
||||
*
|
||||
*
|
||||
* This function is to set class member "patternStr"
|
||||
*
|
||||
*
|
||||
* @param patternStr
|
||||
* string of patternStr.
|
||||
*/
|
||||
@ -211,9 +212,9 @@ public class ModifyInfTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getoutputDir
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @return outputDir string of output directory.
|
||||
*/
|
||||
public String getoutputDir() {
|
||||
@ -222,9 +223,9 @@ public class ModifyInfTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setoutputDir
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @param patternStr
|
||||
* string of output directory.
|
||||
*/
|
||||
|
@ -2,14 +2,14 @@
|
||||
PeiReBaseTask class.
|
||||
|
||||
PeiReBaseTask is used to call PeiReBase.exe to rebase efi fv file.
|
||||
|
||||
|
||||
|
||||
|
||||
Copyright (c) 2006, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
@ -24,7 +24,8 @@ import org.apache.tools.ant.BuildException;
|
||||
import org.apache.tools.ant.taskdefs.Execute;
|
||||
import org.apache.tools.ant.taskdefs.LogStreamHandler;
|
||||
import org.apache.tools.ant.types.Commandline;
|
||||
import org.tianocore.logger.EdkLog;
|
||||
|
||||
import org.tianocore.common.logger.EdkLog;
|
||||
|
||||
/**
|
||||
PeiReBaseTask class.
|
||||
@ -50,23 +51,23 @@ public class PeiReBaseTask extends Task implements EfiDefine {
|
||||
// / Output directory, this variable is added by jave wrap
|
||||
// /
|
||||
private String outputDir = "";
|
||||
|
||||
|
||||
///
|
||||
/// Base address
|
||||
///
|
||||
private String baseAddr = "";
|
||||
|
||||
|
||||
///
|
||||
/// Architecture
|
||||
/// Architecture
|
||||
///
|
||||
private String arch = "";
|
||||
|
||||
|
||||
/**
|
||||
* execute
|
||||
*
|
||||
*
|
||||
* PeiReBaseTask execute function is to assemble tool command line & execute
|
||||
* tool command line
|
||||
*
|
||||
*
|
||||
* @throws BuidException
|
||||
*/
|
||||
public void execute() throws BuildException {
|
||||
@ -78,7 +79,7 @@ public class PeiReBaseTask extends Task implements EfiDefine {
|
||||
FrameworkLogger logger = new FrameworkLogger(project, toolName.toLowerCase());
|
||||
EdkLog.setLogLevel(project.getProperty("env.LOGLEVEL"));
|
||||
EdkLog.setLogger(logger);
|
||||
|
||||
|
||||
//
|
||||
// absolute path of efi tools
|
||||
//
|
||||
@ -97,7 +98,7 @@ public class PeiReBaseTask extends Task implements EfiDefine {
|
||||
if (path != null) {
|
||||
command = path + File.separatorChar + command;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// argument of tools
|
||||
//
|
||||
@ -109,7 +110,7 @@ public class PeiReBaseTask extends Task implements EfiDefine {
|
||||
} else {
|
||||
argument = inputFile + " " + "-O " + outputFile + " " + this.baseAddr+ " " + "-M " + outputFile + ".map";
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// return value of fwimage execution
|
||||
//
|
||||
@ -131,9 +132,9 @@ public class PeiReBaseTask extends Task implements EfiDefine {
|
||||
//
|
||||
EdkLog.log(EdkLog.EDK_VERBOSE, Commandline.toString(cmdline.getCommandline()));
|
||||
EdkLog.log(EdkLog.EDK_INFO, this.inputFileName);
|
||||
|
||||
|
||||
revl = runner.execute();
|
||||
|
||||
|
||||
if (EFI_SUCCESS == revl) {
|
||||
//
|
||||
// command execution success
|
||||
@ -153,9 +154,9 @@ public class PeiReBaseTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getInputFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "inputFile".
|
||||
*
|
||||
*
|
||||
* @return string of input file name.
|
||||
*/
|
||||
public String getInputFile() {
|
||||
@ -164,9 +165,9 @@ public class PeiReBaseTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setComponentType
|
||||
*
|
||||
*
|
||||
* This function is to set class member "inputFile".
|
||||
*
|
||||
*
|
||||
* @param inputFile
|
||||
* string of input file name.
|
||||
*/
|
||||
@ -177,9 +178,9 @@ public class PeiReBaseTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputFile"
|
||||
*
|
||||
*
|
||||
* @return outputFile string of output file name.
|
||||
*/
|
||||
public String getOutputFile() {
|
||||
@ -188,9 +189,9 @@ public class PeiReBaseTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputFile"
|
||||
*
|
||||
*
|
||||
* @param outputFile
|
||||
* string of output file name.
|
||||
*/
|
||||
@ -200,9 +201,9 @@ public class PeiReBaseTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @return outputDir string of output directory.
|
||||
*/
|
||||
public String getOutputDir() {
|
||||
@ -211,9 +212,9 @@ public class PeiReBaseTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @param outputDir
|
||||
* string of output directory.
|
||||
*/
|
||||
@ -223,9 +224,9 @@ public class PeiReBaseTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getBaseAddr
|
||||
*
|
||||
*
|
||||
* This function is to get class member "baseAddr"
|
||||
*
|
||||
*
|
||||
* @return baseAddr string of base address.
|
||||
*/
|
||||
public String getBaseAddr() {
|
||||
@ -234,9 +235,9 @@ public class PeiReBaseTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setBaseAddr
|
||||
*
|
||||
*
|
||||
* This function is to set class member "baseAddr"
|
||||
*
|
||||
*
|
||||
* @param baseAddr string of base address
|
||||
*/
|
||||
public void setBaseAddr(String baseAddr) {
|
||||
@ -245,9 +246,9 @@ public class PeiReBaseTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getArch
|
||||
*
|
||||
*
|
||||
* This function is to get class member "arch".
|
||||
*
|
||||
*
|
||||
* @return arch Architecture
|
||||
*/
|
||||
public String getArch() {
|
||||
@ -256,9 +257,9 @@ public class PeiReBaseTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setArch
|
||||
*
|
||||
* This function is to set class member "arch"
|
||||
*
|
||||
*
|
||||
* This function is to set class member "arch"
|
||||
*
|
||||
* @param arch Architecture
|
||||
*/
|
||||
public void setArch(String arch) {
|
||||
|
@ -3,14 +3,14 @@
|
||||
|
||||
SecApResetVectorFixupTask is used to call SecApResetVectorFixup.exe to place
|
||||
Ap reset vector.
|
||||
|
||||
|
||||
|
||||
|
||||
Copyright (c) 2006, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
@ -25,7 +25,8 @@ import org.apache.tools.ant.BuildException;
|
||||
import org.apache.tools.ant.taskdefs.Execute;
|
||||
import org.apache.tools.ant.taskdefs.LogStreamHandler;
|
||||
import org.apache.tools.ant.types.Commandline;
|
||||
import org.tianocore.logger.EdkLog;
|
||||
|
||||
import org.tianocore.common.logger.EdkLog;
|
||||
|
||||
/**
|
||||
SecApResetVectorFixupTask class.
|
||||
@ -56,10 +57,10 @@ public class SecApResetVectorFixupTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* execute
|
||||
*
|
||||
*
|
||||
* SecApResetVectorFixupTask execute function is to assemble tool command line & execute
|
||||
* tool command line
|
||||
*
|
||||
*
|
||||
* @throws BuidException
|
||||
*/
|
||||
public void execute() throws BuildException {
|
||||
@ -113,9 +114,9 @@ public class SecApResetVectorFixupTask extends Task implements EfiDefine {
|
||||
//
|
||||
EdkLog.log(EdkLog.EDK_VERBOSE, Commandline.toString(cmdline.getCommandline()));
|
||||
EdkLog.log(EdkLog.EDK_INFO, (new File(this.fvInputFile)).getName());
|
||||
|
||||
|
||||
revl = runner.execute();
|
||||
|
||||
|
||||
if (EFI_SUCCESS == revl) {
|
||||
//
|
||||
// command execution success
|
||||
@ -135,9 +136,9 @@ public class SecApResetVectorFixupTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getInputFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "fvInputFile".
|
||||
*
|
||||
*
|
||||
* @return string of input file name.
|
||||
*/
|
||||
public String getfvInputFile() {
|
||||
@ -146,9 +147,9 @@ public class SecApResetVectorFixupTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setComponentType
|
||||
*
|
||||
*
|
||||
* This function is to set class member "fvInputFile".
|
||||
*
|
||||
*
|
||||
* @param inputFile
|
||||
* string of input file name.
|
||||
*/
|
||||
@ -158,9 +159,9 @@ public class SecApResetVectorFixupTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "fvOutputFile"
|
||||
*
|
||||
*
|
||||
* @return outputFile string of output file name.
|
||||
*/
|
||||
public String getOutputFile() {
|
||||
@ -169,9 +170,9 @@ public class SecApResetVectorFixupTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "fvOutputFile"
|
||||
*
|
||||
*
|
||||
* @param outputFile
|
||||
* string of output file name.
|
||||
*/
|
||||
@ -181,9 +182,9 @@ public class SecApResetVectorFixupTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @return outputDir string of output directory.
|
||||
*/
|
||||
public String getOutputDir() {
|
||||
@ -192,9 +193,9 @@ public class SecApResetVectorFixupTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @param outputDir
|
||||
* string of output directory.
|
||||
*/
|
||||
|
@ -2,14 +2,14 @@
|
||||
SecFixupTask class.
|
||||
|
||||
SecFixupTask is used to call SecFixup.exe to fix up sec image.
|
||||
|
||||
|
||||
|
||||
|
||||
Copyright (c) 2006, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
@ -24,11 +24,12 @@ import org.apache.tools.ant.BuildException;
|
||||
import org.apache.tools.ant.taskdefs.Execute;
|
||||
import org.apache.tools.ant.taskdefs.LogStreamHandler;
|
||||
import org.apache.tools.ant.types.Commandline;
|
||||
import org.tianocore.logger.EdkLog;
|
||||
|
||||
import org.tianocore.common.logger.EdkLog;
|
||||
|
||||
/**
|
||||
* SecFixupTask class.
|
||||
*
|
||||
*
|
||||
* SecFixupTask is used to call SecFixup.exe to fix up sec image.
|
||||
*/
|
||||
public class SecFixupTask extends Task implements EfiDefine {
|
||||
@ -59,10 +60,10 @@ public class SecFixupTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* execute
|
||||
*
|
||||
*
|
||||
* SecFixupTask execute function is to assemble tool command line & execute
|
||||
* tool command line
|
||||
*
|
||||
*
|
||||
* @throws BuidException
|
||||
*/
|
||||
public void execute() throws BuildException {
|
||||
@ -139,9 +140,9 @@ public class SecFixupTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getSecExeFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "secExeFile".
|
||||
*
|
||||
*
|
||||
* @return string of sectExe file name.
|
||||
*/
|
||||
public String getSecExeFile() {
|
||||
@ -150,9 +151,9 @@ public class SecFixupTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setSecExeFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "secExeFile".
|
||||
*
|
||||
*
|
||||
* @param secExeFile
|
||||
* string of secExe file name.
|
||||
*/
|
||||
@ -162,9 +163,9 @@ public class SecFixupTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getResetVectorDataFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "resetVectorDataFile"
|
||||
*
|
||||
*
|
||||
* @return resetVectorDataFile string of resetVectorData file name.
|
||||
*/
|
||||
public String getResetVectorDataFile() {
|
||||
@ -173,9 +174,9 @@ public class SecFixupTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setResetVectorDataFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "resetVectorDataFile"
|
||||
*
|
||||
*
|
||||
* @param resetVectorDataFile
|
||||
* string of resetVectorData file name.
|
||||
*/
|
||||
@ -185,9 +186,9 @@ public class SecFixupTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputFile"
|
||||
*
|
||||
*
|
||||
* @return outputFile string of output file name.
|
||||
*/
|
||||
public String getOutputFile() {
|
||||
@ -196,9 +197,9 @@ public class SecFixupTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputFile"
|
||||
*
|
||||
*
|
||||
* @param outputFile
|
||||
* string of output file name.
|
||||
*/
|
||||
@ -208,9 +209,9 @@ public class SecFixupTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @return outputDir name of output directory
|
||||
*/
|
||||
public String getOutputDir() {
|
||||
@ -219,9 +220,9 @@ public class SecFixupTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @param outputDir
|
||||
* name of output directory
|
||||
*/
|
||||
|
@ -1,16 +1,16 @@
|
||||
/** @file
|
||||
SplitfileTask class.
|
||||
|
||||
SplitfileTask is used to call splitfile.exe to split input file to 2 output
|
||||
SplitfileTask is used to call splitfile.exe to split input file to 2 output
|
||||
file.
|
||||
|
||||
|
||||
|
||||
|
||||
Copyright (c) 2006, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
@ -25,12 +25,13 @@ import org.apache.tools.ant.BuildException;
|
||||
import org.apache.tools.ant.taskdefs.Execute;
|
||||
import org.apache.tools.ant.taskdefs.LogStreamHandler;
|
||||
import org.apache.tools.ant.types.Commandline;
|
||||
import org.tianocore.logger.EdkLog;
|
||||
|
||||
import org.tianocore.common.logger.EdkLog;
|
||||
|
||||
/**
|
||||
SplitfileTask class.
|
||||
|
||||
SplitfileTask is used to call splitfile.exe to split input file to 2 output
|
||||
SplitfileTask is used to call splitfile.exe to split input file to 2 output
|
||||
file.
|
||||
**/
|
||||
public class SplitfileTask extends Task implements EfiDefine {
|
||||
@ -44,26 +45,26 @@ public class SplitfileTask extends Task implements EfiDefine {
|
||||
///
|
||||
private String offset = "";
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* execute
|
||||
*
|
||||
*
|
||||
* SplitfleTask execute function is to assemble tool command line & execute
|
||||
* tool command line
|
||||
*
|
||||
*
|
||||
* @throws BuidException
|
||||
*/
|
||||
public void execute() throws BuildException {
|
||||
|
||||
Project project = this.getOwningTarget().getProject();
|
||||
|
||||
|
||||
//
|
||||
// set Logger
|
||||
//
|
||||
FrameworkLogger logger = new FrameworkLogger(project, "splitfile");
|
||||
EdkLog.setLogLevel(project.getProperty("env.LOGLEVEL"));
|
||||
EdkLog.setLogger(logger);
|
||||
|
||||
|
||||
//
|
||||
// absolute path of efi tools
|
||||
//
|
||||
@ -75,12 +76,12 @@ public class SplitfileTask extends Task implements EfiDefine {
|
||||
} else {
|
||||
command = path + File.separatorChar + "SplitFile";
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// argument of tools
|
||||
//
|
||||
argument = inputFile + " " + offset;
|
||||
|
||||
|
||||
//
|
||||
// return value of fwimage execution
|
||||
//
|
||||
@ -97,7 +98,7 @@ public class SplitfileTask extends Task implements EfiDefine {
|
||||
|
||||
runner.setAntRun(project);
|
||||
runner.setCommandline(cmdline.getCommandline());
|
||||
|
||||
|
||||
EdkLog.log(EdkLog.EDK_VERBOSE, Commandline.toString(cmdline.getCommandline()));
|
||||
EdkLog.log(EdkLog.EDK_INFO, (new File(this.inputFile)).getName());
|
||||
revl = runner.execute();
|
||||
@ -120,9 +121,9 @@ public class SplitfileTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getInputFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "inputFile".
|
||||
*
|
||||
*
|
||||
* @return string of input file name.
|
||||
*/
|
||||
public String getInputFile() {
|
||||
@ -131,9 +132,9 @@ public class SplitfileTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setComponentType
|
||||
*
|
||||
*
|
||||
* This function is to set class member "inputFile".
|
||||
*
|
||||
*
|
||||
* @param inputFile
|
||||
* string of input file name.
|
||||
*/
|
||||
@ -143,9 +144,9 @@ public class SplitfileTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
getOffset
|
||||
|
||||
|
||||
This function is to get class member "offset"
|
||||
|
||||
|
||||
@return offset value of string.
|
||||
**/
|
||||
public String getOffset() {
|
||||
@ -154,14 +155,14 @@ public class SplitfileTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
setOffset
|
||||
|
||||
|
||||
This function is to set class member "offset"
|
||||
|
||||
|
||||
@param offset
|
||||
string of offset value.
|
||||
**/
|
||||
public void setOffset(String offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -2,14 +2,14 @@
|
||||
StripTask class.
|
||||
|
||||
StripTask is used to call Strip.exe to strip input file.
|
||||
|
||||
|
||||
|
||||
|
||||
Copyright (c) 2006, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
@ -24,7 +24,8 @@ import org.apache.tools.ant.BuildException;
|
||||
import org.apache.tools.ant.taskdefs.Execute;
|
||||
import org.apache.tools.ant.taskdefs.LogStreamHandler;
|
||||
import org.apache.tools.ant.types.Commandline;
|
||||
import org.tianocore.logger.EdkLog;
|
||||
|
||||
import org.tianocore.common.logger.EdkLog;
|
||||
|
||||
/**
|
||||
StripTask class.
|
||||
@ -47,13 +48,13 @@ public class StripTask extends Task implements EfiDefine {
|
||||
// /
|
||||
private String outputDir = "";
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* execute
|
||||
*
|
||||
*
|
||||
* StripTask execute function is to assemble tool command line & execute
|
||||
* tool command line
|
||||
*
|
||||
*
|
||||
* @throws BuidException
|
||||
*/
|
||||
public void execute() throws BuildException {
|
||||
@ -107,9 +108,9 @@ public class StripTask extends Task implements EfiDefine {
|
||||
//
|
||||
EdkLog.log(EdkLog.EDK_VERBOSE, Commandline.toString(cmdline.getCommandline()));
|
||||
EdkLog.log(EdkLog.EDK_INFO, (new File(this.inputFile)).getName());
|
||||
|
||||
|
||||
revl = runner.execute();
|
||||
|
||||
|
||||
if (EFI_SUCCESS == revl) {
|
||||
//
|
||||
// command execution success
|
||||
@ -129,9 +130,9 @@ public class StripTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getInputFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "inputFile".
|
||||
*
|
||||
*
|
||||
* @return string of input file name.
|
||||
*/
|
||||
public String getInputFile() {
|
||||
@ -140,9 +141,9 @@ public class StripTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setComponentType
|
||||
*
|
||||
*
|
||||
* This function is to set class member "inputFile".
|
||||
*
|
||||
*
|
||||
* @param inputFile
|
||||
* string of input file name.
|
||||
*/
|
||||
@ -152,9 +153,9 @@ public class StripTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputFile"
|
||||
*
|
||||
*
|
||||
* @return outputFile string of output file name.
|
||||
*/
|
||||
public String getOutputFile() {
|
||||
@ -163,9 +164,9 @@ public class StripTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputFile"
|
||||
*
|
||||
*
|
||||
* @param outputFile
|
||||
* string of output file name.
|
||||
*/
|
||||
@ -175,9 +176,9 @@ public class StripTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @return outputDir string of output directory.
|
||||
*/
|
||||
public String getOutputDir() {
|
||||
@ -186,9 +187,9 @@ public class StripTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @param outputDir
|
||||
* string of output directory.
|
||||
*/
|
||||
|
@ -2,14 +2,14 @@
|
||||
ZeroDebugDataTask class.
|
||||
|
||||
ZeroDebugDataTask is used to call ZeroDebugData.exe to remove debug data.
|
||||
|
||||
|
||||
|
||||
|
||||
Copyright (c) 2006, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
@ -24,7 +24,8 @@ import org.apache.tools.ant.BuildException;
|
||||
import org.apache.tools.ant.taskdefs.Execute;
|
||||
import org.apache.tools.ant.taskdefs.LogStreamHandler;
|
||||
import org.apache.tools.ant.types.Commandline;
|
||||
import org.tianocore.logger.EdkLog;
|
||||
|
||||
import org.tianocore.common.logger.EdkLog;
|
||||
|
||||
/**
|
||||
ZeroDebugDataTask class.
|
||||
@ -50,10 +51,10 @@ public class ZeroDebugDataTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* execute
|
||||
*
|
||||
*
|
||||
* ZeroDebugDataTask execute function is to assemble tool command line & execute
|
||||
* tool command line
|
||||
*
|
||||
*
|
||||
* @throws BuidException
|
||||
*/
|
||||
public void execute() throws BuildException {
|
||||
@ -109,7 +110,7 @@ public class ZeroDebugDataTask extends Task implements EfiDefine {
|
||||
EdkLog.log(EdkLog.EDK_INFO, (new File(this.peFile)).getName());
|
||||
|
||||
revl = runner.execute();
|
||||
|
||||
|
||||
if (EFI_SUCCESS == revl) {
|
||||
//
|
||||
// command execution success
|
||||
@ -130,9 +131,9 @@ public class ZeroDebugDataTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getPeFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "inputFile".
|
||||
*
|
||||
*
|
||||
* @return string of input file name.
|
||||
*/
|
||||
public String getPeFile() {
|
||||
@ -141,9 +142,9 @@ public class ZeroDebugDataTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setPeFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "peFile".
|
||||
*
|
||||
*
|
||||
* @param peFile
|
||||
* string of input file name.
|
||||
*/
|
||||
@ -153,9 +154,9 @@ public class ZeroDebugDataTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputFile"
|
||||
*
|
||||
*
|
||||
* @return outputFile string of output file name.
|
||||
*/
|
||||
public String getOutputFile() {
|
||||
@ -164,9 +165,9 @@ public class ZeroDebugDataTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputFile
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputFile"
|
||||
*
|
||||
*
|
||||
* @param outputFile
|
||||
* string of output file name.
|
||||
*/
|
||||
@ -176,9 +177,9 @@ public class ZeroDebugDataTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* getOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to get class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @return outputDir string of output directory.
|
||||
*/
|
||||
public String getOutputDir() {
|
||||
@ -187,9 +188,9 @@ public class ZeroDebugDataTask extends Task implements EfiDefine {
|
||||
|
||||
/**
|
||||
* setOutputDir
|
||||
*
|
||||
*
|
||||
* This function is to set class member "outputDir"
|
||||
*
|
||||
*
|
||||
* @param outputDir
|
||||
* string of output directory.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user