summaryrefslogtreecommitdiff
path: root/EdkNt32Pkg
diff options
context:
space:
mode:
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-25 01:25:02 +0000
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-25 01:25:02 +0000
commite3cc406130b14c020c75e3a169f94ba001bf2128 (patch)
tree15899a8d83949e171fcc362255c53fcee59aae12 /EdkNt32Pkg
parent822d4f3a53a69dcbc1c9eaaf318a0d69d9b8de0e (diff)
downloadedk2-e3cc406130b14c020c75e3a169f94ba001bf2128.zip
edk2-e3cc406130b14c020c75e3a169f94ba001bf2128.tar.gz
edk2-e3cc406130b14c020c75e3a169f94ba001bf2128.tar.bz2
- Fixed EDKT240. Now the Blank.pad file for alignment purpose will no longer be needed.
- Fixed EDKT366. For NT32, using "build run" to launch the NT32 emulator. The run.cmd is still be generated in the ${TARGET_DIR} git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2305 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkNt32Pkg')
-rw-r--r--EdkNt32Pkg/Nt32.fpd37
1 files changed, 20 insertions, 17 deletions
diff --git a/EdkNt32Pkg/Nt32.fpd b/EdkNt32Pkg/Nt32.fpd
index f4a6563..5c81986 100644
--- a/EdkNt32Pkg/Nt32.fpd
+++ b/EdkNt32Pkg/Nt32.fpd
@@ -7916,26 +7916,29 @@
<concat destfile="${FV_DIR}/FV_RECOVERY.fd" binary="true" force="no">
<fileset dir="${FV_DIR}" includes="*.fv"/>
</concat>
- <!--Generate Run.cmd file. This file will call SecMain.exe to start shell.-->
<pathconvert property="SecMainPath" targetos="windows">
<path path="${TARGET_DIR}/IA32"/>
</pathconvert>
- <echo file="${BUILD_DIR}/run.cmd">@REM
- @REM Copyright (c) 2006, Intel Corporation
- @REM All rights reserved. This program and the accompanying materials
- @REM are licensed and made available under the terms and conditions of the BSD License
- @REM which accompanies this distribution. The full text of the license may be found at
- @REM http://opensource.org/licenses/bsd-license.php
- @REM
- @REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
- @REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
- @REM
-
- @echo off
- pushd .
- cd ${SecMainPath}
- SecMain.exe
- popd
+ <echo file="${TARGET_DIR}/run.cmd">@REM
+ @REM Copyright (c) 2006, Intel Corporation
+ @REM All rights reserved. This program and the accompanying materials
+ @REM are licensed and made available under the terms and conditions of the BSD License
+ @REM which accompanies this distribution. The full text of the license may be found at
+ @REM http://opensource.org/licenses/bsd-license.php
+ @REM
+ @REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ @REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+ @REM
+
+ @echo off
+ pushd .
+ cd ${SecMainPath}
+ SecMain.exe
+ popd
@echo on</echo>
</UserExtensions>
+ <UserExtensions UserID="TianoCore" Identifier="run">
+ <!-- execute the NT32 simulator -->
+ <exec executable="${TARGET_DIR}/IA32/SecMain.exe" dir="${TARGET_DIR}/IA32" spawn="false"/>
+ </UserExtensions>
</PlatformSurfaceArea> \ No newline at end of file