git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1575
6f19259b-4bc3-4df7-8a09-
765794883524
private String outStrFile = "";\r
\r
//\r
private String outStrFile = "";\r
\r
//\r
private FileArg strFile = new FileArg();\r
//\r
// Base address\r
private FileArg strFile = new FileArg();\r
//\r
// Base address\r
FlashMapTask execute function is to assemble tool command line & execute\r
tool command line\r
FlashMapTask execute function is to assemble tool command line & execute\r
tool command line\r
@throws BuidException\r
**/\r
public void execute() throws BuildException {\r
@throws BuidException\r
**/\r
public void execute() throws BuildException {\r
- EdkLog.log(this, EdkLog.EDK_VERBOSE, headerFile.toFileList() \r
+ EdkLog.log(this, EdkLog.EDK_VERBOSE, headerFile.toFileList()\r
+ imageOutFile.toFileList()\r
+ mcoFile.toFileList()\r
+ dscFile.toFileList()\r
+ imageOutFile.toFileList()\r
+ mcoFile.toFileList()\r
+ dscFile.toFileList()\r
+ " is/are up-to-date!");\r
return;\r
}\r
+ " is/are up-to-date!");\r
return;\r
}\r
\r
Project project = this.getOwningTarget().getProject();\r
//\r
\r
Project project = this.getOwningTarget().getProject();\r
//\r
runner.setCommandline(cmdline.getCommandline());\r
\r
if (outputDir != null) {\r
runner.setCommandline(cmdline.getCommandline());\r
\r
if (outputDir != null) {\r
- runner.setWorkingDirectory(new File(outputDir)); \r
+ runner.setWorkingDirectory(new File(outputDir));\r
}\r
//\r
// log command line string.\r
//\r
EdkLog.log(this, EdkLog.EDK_VERBOSE, Commandline.toString(cmdline.getCommandline()));\r
}\r
//\r
// log command line string.\r
//\r
EdkLog.log(this, EdkLog.EDK_VERBOSE, Commandline.toString(cmdline.getCommandline()));\r
- EdkLog.log(this, flashDefFile.toFileList() \r
+ EdkLog.log(this, flashDefFile.toFileList()\r
+ mciFile.toFileList()\r
+ mciFileArray.toFileList()\r
+ fdImage.toFileList()\r
+ inStrFile\r
+ mciFile.toFileList()\r
+ mciFileArray.toFileList()\r
+ fdImage.toFileList()\r
+ inStrFile\r
- + " => " \r
- + headerFile.toFileList() \r
+ + " => "\r
+ + headerFile.toFileList()\r
+ imageOutFile.toFileList()\r
+ mcoFile.toFileList()\r
+ dscFile.toFileList()\r
+ imageOutFile.toFileList()\r
+ mcoFile.toFileList()\r
+ dscFile.toFileList()\r
\r
/**\r
getFlashDefFile\r
\r
/**\r
getFlashDefFile\r
This function is to get class member "flashDefFile"\r
This function is to get class member "flashDefFile"\r
@return flashDeFile Name of flash definition file.\r
**/\r
public String getFlashDefFile() {\r
@return flashDeFile Name of flash definition file.\r
**/\r
public String getFlashDefFile() {\r
\r
/**\r
setFlashDefFile\r
\r
/**\r
setFlashDefFile\r
This function is to set class member "flashDefFile"\r
This function is to set class member "flashDefFile"\r
@param flashDefFile\r
Name of flash definition file.\r
**/\r
@param flashDefFile\r
Name of flash definition file.\r
**/\r
This function is to get class member "aligment"\r
This function is to get class member "aligment"\r
@return aligment String of aligment value.\r
**/\r
public String getAligment() {\r
@return aligment String of aligment value.\r
**/\r
public String getAligment() {\r
This function is to set class member "aligment"\r
This function is to set class member "aligment"\r
@param aligment\r
String of aligment value.\r
**/\r
@param aligment\r
String of aligment value.\r
**/\r
This function is to get class member "asmIncFile"\r
This function is to get class member "asmIncFile"\r
@return asmIncFile String of ASM include file.\r
**/\r
public String getAsmIncFile() {\r
@return asmIncFile String of ASM include file.\r
**/\r
public String getAsmIncFile() {\r
This function is to set class member "asmIncFile"\r
This function is to set class member "asmIncFile"\r
@param asmIncFile\r
String of ASM include file.\r
**/\r
@param asmIncFile\r
String of ASM include file.\r
**/\r
This function is to get class member "baseAddr"\r
This function is to get class member "baseAddr"\r
@return baseAddr String of base address value.\r
**/\r
public String getBaseAddr() {\r
@return baseAddr String of base address value.\r
**/\r
public String getBaseAddr() {\r
This function is to set class member "baseAddr"\r
This function is to set class member "baseAddr"\r
@param baseAddr\r
String of base address value.\r
**/\r
@param baseAddr\r
String of base address value.\r
**/\r
This function is to get class member "dscFile"\r
This function is to get class member "dscFile"\r
@return dscFile name of DSC file\r
**/\r
public String getDscFile() {\r
@return dscFile name of DSC file\r
**/\r
public String getDscFile() {\r
This function is to set class member "dscFile"\r
This function is to set class member "dscFile"\r
@param dscFile\r
name of DSC file\r
**/\r
@param dscFile\r
name of DSC file\r
**/\r
This function is to get class member "fdImage"\r
This function is to get class member "fdImage"\r
@return fdImage name of input FDI image file.\r
**/\r
public String getFdImage() {\r
@return fdImage name of input FDI image file.\r
**/\r
public String getFdImage() {\r
This function is to set class member "fdImage"\r
This function is to set class member "fdImage"\r
@param fdImage\r
name of input FDI image file.\r
**/\r
@param fdImage\r
name of input FDI image file.\r
**/\r
\r
/**\r
getFlashDevice\r
\r
/**\r
getFlashDevice\r
This function is to get class member "flashDevice".\r
This function is to get class member "flashDevice".\r
@return flashDevice name of flash device.\r
**/\r
public String getFlashDevice() {\r
@return flashDevice name of flash device.\r
**/\r
public String getFlashDevice() {\r
\r
/**\r
setFlashDevice\r
\r
/**\r
setFlashDevice\r
This function is to set class member "flashDevice"\r
This function is to set class member "flashDevice"\r
@param flashDevice\r
name of flash device.\r
**/\r
@param flashDevice\r
name of flash device.\r
**/\r
\r
/**\r
getFlashDeviceImage\r
\r
/**\r
getFlashDeviceImage\r
This function is to get class member "flashDeviceImage"\r
This function is to get class member "flashDeviceImage"\r
@return flashDeviceImage name of flash device image\r
**/\r
public String getFlashDeviceImage() {\r
@return flashDeviceImage name of flash device image\r
**/\r
public String getFlashDeviceImage() {\r
\r
/**\r
setFlashDeviceImage\r
\r
/**\r
setFlashDeviceImage\r
This function is to set class member "flashDeviceImage"\r
This function is to set class member "flashDeviceImage"\r
@param flashDeviceImage\r
name of flash device image\r
**/\r
@param flashDeviceImage\r
name of flash device image\r
**/\r
This function is to get class member "headerFile"\r
This function is to get class member "headerFile"\r
@return headerFile name of include file\r
**/\r
public String getHeaderFile() {\r
@return headerFile name of include file\r
**/\r
public String getHeaderFile() {\r
This function is to set class member "headerFile"\r
This function is to set class member "headerFile"\r
@param headerFile\r
name of include file\r
**/\r
@param headerFile\r
name of include file\r
**/\r
\r
/**\r
getImageOutFile\r
\r
/**\r
getImageOutFile\r
This function is to get class member "imageOutFile"\r
This function is to get class member "imageOutFile"\r
@return imageOutFile name of output image file\r
**/\r
public String getImageOutFile() {\r
@return imageOutFile name of output image file\r
**/\r
public String getImageOutFile() {\r
\r
/**\r
setImageOutFile\r
\r
/**\r
setImageOutFile\r
This function is to set class member "ImageOutFile"\r
This function is to set class member "ImageOutFile"\r
@param imageOutFile\r
name of output image file\r
**/\r
@param imageOutFile\r
name of output image file\r
**/\r
This function is to get class member "inStrFile"\r
This function is to get class member "inStrFile"\r
@return inStrFile name of input file which used to replace symbol names.\r
**/\r
public String getInStrFile() {\r
@return inStrFile name of input file which used to replace symbol names.\r
**/\r
public String getInStrFile() {\r
This function is to set class member "inStrFile"\r
This function is to set class member "inStrFile"\r
@param inStrFile\r
name of input file which used to replace symbol names.\r
**/\r
@param inStrFile\r
name of input file which used to replace symbol names.\r
**/\r
This function is to get class member "mciFile"\r
This function is to get class member "mciFile"\r
@return mciFile name of input microcode file\r
**/\r
public String getMciFile() {\r
@return mciFile name of input microcode file\r
**/\r
public String getMciFile() {\r
This function is to set class member "mciFile"\r
This function is to set class member "mciFile"\r
@param mciFile\r
name of input microcode file\r
**/\r
@param mciFile\r
name of input microcode file\r
**/\r
This function is to get class member "mcoFile"\r
This function is to get class member "mcoFile"\r
@return mcoFile name of output binary microcode image\r
**/\r
public String getMcoFile() {\r
@return mcoFile name of output binary microcode image\r
**/\r
public String getMcoFile() {\r
This function is to set class member "mcoFile"\r
This function is to set class member "mcoFile"\r
@param mcoFile\r
name of output binary microcode image\r
**/\r
@param mcoFile\r
name of output binary microcode image\r
**/\r
This function is to get class member "outStrFile"\r
This function is to get class member "outStrFile"\r
@return outStrFile name of output string substitution file\r
**/\r
public String getOutStrFile() {\r
@return outStrFile name of output string substitution file\r
**/\r
public String getOutStrFile() {\r
This function is to set class member "outStrFile"\r
This function is to set class member "outStrFile"\r
@param outStrFile\r
name of output string substitution file\r
**/\r
@param outStrFile\r
name of output string substitution file\r
**/\r
This function is to get class member "padValue"\r
This function is to get class member "padValue"\r
@return padValue string of byte value to use as padding\r
**/\r
public String getPadValue() {\r
@return padValue string of byte value to use as padding\r
**/\r
public String getPadValue() {\r
This function is to set class member "padValue"\r
This function is to set class member "padValue"\r
@param padValue\r
string of byte value to use as padding\r
**/\r
@param padValue\r
string of byte value to use as padding\r
**/\r
This function is to add Microcode binary file\r
This function is to add Microcode binary file\r
@param mciFile\r
instance of input class\r
**/\r
@param mciFile\r
instance of input class\r
**/\r
This function is to get class member "outputDir"\r
This function is to get class member "outputDir"\r
@return outputDir string of output directory\r
**/\r
public String getOutputDir() {\r
@return outputDir string of output directory\r
**/\r
public String getOutputDir() {\r
This function is to set class member "outputDir"\r
This function is to set class member "outputDir"\r
@param outputDir\r
string of output directory\r
**/\r
@param outputDir\r
string of output directory\r
**/\r
\r
//\r
// Dependency check\r
\r
//\r
// Dependency check\r
private boolean isUptodate() {\r
long srcTimeStamp = 0;\r
String srcName = "";\r
private boolean isUptodate() {\r
long srcTimeStamp = 0;\r
String srcName = "";\r