summaryrefslogtreecommitdiffstats
path: root/BaseTools
diff options
context:
space:
mode:
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-03 06:40:59 +0000
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-03 06:40:59 +0000
commit15543340da6cf1cb3f6047c8bf6c5426a93e52f1 (patch)
treea4f698961f2d8bea8c5dcb31a2b9bdc5d826a7b0 /BaseTools
parentc470d831429894bb70c5ac31dc191d05036607a6 (diff)
downloadedk2-15543340da6cf1cb3f6047c8bf6c5426a93e52f1.tar.gz
edk2-15543340da6cf1cb3f6047c8bf6c5426a93e52f1.tar.bz2
edk2-15543340da6cf1cb3f6047c8bf6c5426a93e52f1.zip
Implemented feature request hsd202262 and incorporated SMM support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8229 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools')
-rwxr-xr-xBaseTools/Bin/Win32/GenFds.exebin544223 -> 544391 bytes
-rwxr-xr-xBaseTools/Bin/Win32/GenFfs.exebin167936 -> 434176 bytes
-rwxr-xr-xBaseTools/Bin/Win32/GenSec.exebin446464 -> 446464 bytes
-rwxr-xr-xBaseTools/Bin/Win32/build.exebin2067513 -> 679515 bytes
-rw-r--r--BaseTools/Conf/build_rule.template11
-rw-r--r--BaseTools/Conf/tools_def.template6
6 files changed, 17 insertions, 0 deletions
diff --git a/BaseTools/Bin/Win32/GenFds.exe b/BaseTools/Bin/Win32/GenFds.exe
index de91228890..3c99a52615 100755
--- a/BaseTools/Bin/Win32/GenFds.exe
+++ b/BaseTools/Bin/Win32/GenFds.exe
Binary files differ
diff --git a/BaseTools/Bin/Win32/GenFfs.exe b/BaseTools/Bin/Win32/GenFfs.exe
index 360d56a98c..c43f7d383e 100755
--- a/BaseTools/Bin/Win32/GenFfs.exe
+++ b/BaseTools/Bin/Win32/GenFfs.exe
Binary files differ
diff --git a/BaseTools/Bin/Win32/GenSec.exe b/BaseTools/Bin/Win32/GenSec.exe
index a226dab1da..0350f0e99a 100755
--- a/BaseTools/Bin/Win32/GenSec.exe
+++ b/BaseTools/Bin/Win32/GenSec.exe
Binary files differ
diff --git a/BaseTools/Bin/Win32/build.exe b/BaseTools/Bin/Win32/build.exe
index 9105bec833..adc984b097 100755
--- a/BaseTools/Bin/Win32/build.exe
+++ b/BaseTools/Bin/Win32/build.exe
Binary files differ
diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template
index 3e3e379d26..27ebc20ede 100644
--- a/BaseTools/Conf/build_rule.template
+++ b/BaseTools/Conf/build_rule.template
@@ -380,3 +380,14 @@
$(DEBUG_DIR)(+)$(MODULE_NAME)StrDefs.h
<Command>
+
+[Efi-Image.UEFI_OPTIONROM]
+ <InputFile>
+ ?.efi, ?.EFI, ?.Efi
+
+ <OutputFile>
+ $(BIN_DIR)(+)$(MODULE_NAME).rom
+
+ <Command>
+ $(OPTROM) -i $(PCI_DEVICE_ID) -f $(PCI_VENDOR_ID) -l $(PCI_CLASS_CODE) -o $dst $(OPTROM_FLAGS) $src
+
diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template
index 113f4e2383..2b0d2d7ffc 100644
--- a/BaseTools/Conf/tools_def.template
+++ b/BaseTools/Conf/tools_def.template
@@ -2029,6 +2029,12 @@ RELEASE_MYTOOLS_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT
*_*_*_VFR_FLAGS = -l -n
##################
+# OptionRom tool definitions
+##################
+*_*_*_OPTROM_PATH = EfiRom
+*_*_*_OPTROM_FLAGS = -e
+
+##################
# Asl Compiler definitions
##################
*_*_*_ASLCC_FLAGS = /GL- /Y- /TC /Dmain=ReferenceAcpiTable