summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-10 09:00:33 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-10 09:00:33 +0000
commite7e79c584e0c5e06ad8ae588c27e28d732a19018 (patch)
tree95c2eb9d2016eb16e64b72995ad0201a6ee1f3ab
parent8cf5da75ce5bf66f1ef5a495a41fdcc0a51f7138 (diff)
downloadedk2-e7e79c584e0c5e06ad8ae588c27e28d732a19018.zip
edk2-e7e79c584e0c5e06ad8ae588c27e28d732a19018.tar.gz
edk2-e7e79c584e0c5e06ad8ae588c27e28d732a19018.tar.bz2
Roll back the PCD PcdWinNtFirmwareVolume value from "..\\FV\\FV_RECOVERY.fd" to "..\\..\\FV\\FV_RECOVERY.fd" for avoiding the issue that secmain.exe run failure when the length of PATH environment exceed 1280 character.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@861 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--EdkNt32Pkg/Nt32.fpd2
-rw-r--r--EdkNt32Pkg/run.cmd5
2 files changed, 6 insertions, 1 deletions
diff --git a/EdkNt32Pkg/Nt32.fpd b/EdkNt32Pkg/Nt32.fpd
index cc257b0..6d9d94f 100644
--- a/EdkNt32Pkg/Nt32.fpd
+++ b/EdkNt32Pkg/Nt32.fpd
@@ -210,7 +210,7 @@
<TokenSpaceGuidCName>gEfiEdkNt32PkgTokenSpaceGuid</TokenSpaceGuidCName>
<DatumType>VOID*</DatumType>
<MaxDatumSize>52</MaxDatumSize>
- <Value>L"..\\FV\\FV_RECOVERY.fd"</Value>
+ <Value>L"..\\..\\FV\\FV_RECOVERY.fd"</Value>
</PcdData>
<PcdData ItemType="FIXED_AT_BUILD">
<C_Name>PcdWinNtBootMode</C_Name>
diff --git a/EdkNt32Pkg/run.cmd b/EdkNt32Pkg/run.cmd
index 8cbe624..145558f 100644
--- a/EdkNt32Pkg/run.cmd
+++ b/EdkNt32Pkg/run.cmd
@@ -11,6 +11,11 @@
@echo off
+:create_fd
+if not exist Build\Debug\Fv mkdir Build\Debug\Fv
+copy Build\Debug\Msft\Fv\FV_RECOVERY.fv /B + Build\Debug\Msft\Fv\NV_STORAGE.fv /B Build\Debug\Fv\Fv_Recovery.fd /B
+
+:start_secmain
pushd .
cd Build\DEBUG\MSFT\IA32
SecMain.exe