summaryrefslogtreecommitdiff
path: root/Tools/Java/Source
diff options
context:
space:
mode:
authorbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-30 09:17:16 +0000
committerbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-30 09:17:16 +0000
commit8733430b83565480540d1d890986cbf22c54db0d (patch)
treea53fa90f7b3ed378eb58d46971572c792814599a /Tools/Java/Source
parent242c77a08512363429e22a2e1cceb77274a7ef44 (diff)
downloadedk2-platforms-8733430b83565480540d1d890986cbf22c54db0d.tar.xz
1. Added a new tool GenFvMap, which is able to generate FV map files upon LOG files generated by PeiRebase.
2. Updated PeiRebase to generate LOG files while processing FV images. The original MAP feature and its corresponding option '-M' are dropped, however, they are superceded by the FV map file. 3. The FV map file are not generated yet. My next check-in will update FPD files to generate FV map files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2157 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Java/Source')
-rw-r--r--Tools/Java/Source/FrameworkTasks/org/tianocore/framework/tasks/PeiReBaseTask.java46
1 files changed, 23 insertions, 23 deletions
diff --git a/Tools/Java/Source/FrameworkTasks/org/tianocore/framework/tasks/PeiReBaseTask.java b/Tools/Java/Source/FrameworkTasks/org/tianocore/framework/tasks/PeiReBaseTask.java
index 07154921d2..ab563823e8 100644
--- a/Tools/Java/Source/FrameworkTasks/org/tianocore/framework/tasks/PeiReBaseTask.java
+++ b/Tools/Java/Source/FrameworkTasks/org/tianocore/framework/tasks/PeiReBaseTask.java
@@ -51,11 +51,11 @@ public class PeiReBaseTask extends Task implements EfiDefine {
private ToolArg baseAddr = new ToolArg();
//
// Fv.inf file
- //
+ //
private FileArg fvinfFile = new FileArg();
//
// map file
- //
+ //
private FileArg mapFile = new FileArg();
//
// Architecture
@@ -64,10 +64,10 @@ public class PeiReBaseTask extends Task implements EfiDefine {
/**
execute
-
+
PeiReBaseTask execute function is to assemble tool command line & execute
tool command line
-
+
@throws BuidException
**/
public void execute() throws BuildException {
@@ -103,7 +103,7 @@ public class PeiReBaseTask extends Task implements EfiDefine {
if (mapFile.getValue().length() == 0) {
mapFile.setArg(" -M ", outputFile.getValue() + ".map");
}
- argument = "" + inputFile + outputFile + baseAddr + fvinfFile + mapFile;
+ argument = "" + inputFile + outputFile + baseAddr + fvinfFile;
//
// return value of fwimage execution
@@ -125,7 +125,7 @@ public class PeiReBaseTask extends Task implements EfiDefine {
// Set debug log information.
//
EdkLog.log(this, EdkLog.EDK_VERBOSE, Commandline.toString(cmdline.getCommandline()));
- EdkLog.log(this, EdkLog.EDK_INFO, inputFile.toFileList() + " => "
+ EdkLog.log(this, EdkLog.EDK_INFO, inputFile.toFileList() + " => "
+ outputFile.toFileList()
+ mapFile.toFileList());
@@ -150,9 +150,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() {
@@ -161,9 +161,9 @@ public class PeiReBaseTask extends Task implements EfiDefine {
/**
setComponentType
-
+
This function is to set class member "inputFile".
-
+
@param inputFile
string of input file name.
**/
@@ -173,9 +173,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() {
@@ -184,9 +184,9 @@ public class PeiReBaseTask extends Task implements EfiDefine {
/**
setOutputFile
-
+
This function is to set class member "outputFile"
-
+
@param outputFile
string of output file name.
**/
@@ -196,9 +196,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() {
@@ -207,9 +207,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) {
@@ -218,9 +218,9 @@ public class PeiReBaseTask extends Task implements EfiDefine {
/**
getArch
-
+
This function is to get class member "arch".
-
+
@return arch Architecture
**/
public String getArch() {
@@ -229,9 +229,9 @@ public class PeiReBaseTask extends Task implements EfiDefine {
/**
setArch
-
+
This function is to set class member "arch"
-
+
@param arch Architecture
**/
public void setArch(String arch) {
@@ -276,7 +276,7 @@ public class PeiReBaseTask extends Task implements EfiDefine {
//
// Dependency check
- //
+ //
private boolean isUptodate() {
File srcFile = new File(inputFile.getValue());
File dstFile = new File(outputFile.getValue());