diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-10 09:00:33 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-07-10 09:00:33 +0000 |
commit | e7e79c584e0c5e06ad8ae588c27e28d732a19018 (patch) | |
tree | 95c2eb9d2016eb16e64b72995ad0201a6ee1f3ab | |
parent | 8cf5da75ce5bf66f1ef5a495a41fdcc0a51f7138 (diff) | |
download | edk2-platforms-e7e79c584e0c5e06ad8ae588c27e28d732a19018.tar.xz |
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.fpd | 2 | ||||
-rw-r--r-- | EdkNt32Pkg/run.cmd | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/EdkNt32Pkg/Nt32.fpd b/EdkNt32Pkg/Nt32.fpd index cc257b0fc3..6d9d94fcd0 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 8cbe6244ff..145558fa28 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
|