qhuang8
ebc1ca5a1b
Fix two issues:
...
1. EDK II StrnCpy does not necessarily "0" terminate destination string if the source string length is larger than "n". Caller needs to terminate it itself.
2. The definition of EFI_HII_CALLBACK_PACKET has been changed to follow framework HII spec 0.92, we need to change the corresponding code correctly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4270 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-06 01:38:25 +00:00
gtian
518d395c3b
define the variable related to PCD for supporting big variable (>32K) easily.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4268 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-05 16:11:50 +00:00
klu2
a4c9ede55f
the implementation of FVB->SetAttribute() interface should check the unchanged bit in parameter at first.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4267 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-05 06:29:00 +00:00
jljusten
a3589760c4
edk2/MdePkg/MdePkg/Library/UefiScsiLib/UefiScsiLib.c:
...
edk2/MdePkg/MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h:
Fixed include filenames (case) for case-sensitive filesystems.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4264 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-02 00:00:44 +00:00
gtian
9a9cb9bc5a
Add more PAL_ROUTE related definition in to PalCallLib.h
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4263 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-01 07:59:32 +00:00
klu2
85e43be15e
The default value of SecMain should be set as INIT_CAR_VALUE = 0x5aa55aa5, then PeiMain could computer how many stack ever used.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4261 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-01 07:10:43 +00:00
klu2
61f21f400d
Should use MaxCarTop but *not* CarTop to computer the usage of stack
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4259 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-01 06:19:38 +00:00
lgao4
a85e7bfcd8
Print entry point address by using 0x%10p for the above 4G address.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4256 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-01 02:29:44 +00:00
lhauch
c2f80d2694
This setup is not needed, the edksetup.bat file that exists in the root will eventually be moved to BaseTools\Bin
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4255 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 15:49:03 +00:00
lgao4
e98cd821eb
Print real entry point for IPF image.
...
Print DxeCore Entry point and image address.
Set FileHandle = NULL when not found FFS file in PeiService PeiFfsFindNextFile.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4254 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 11:46:42 +00:00
jwang36
d28746d23a
Added change log for r4251
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4252 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 10:46:34 +00:00
jwang36
44e3ff2f23
a. Fixed an issue which a incorrect command (no leading space/tab) generated in top level Makefile
...
b. Added code to check zero thread number and disable multi-thread build mode if zero thread number.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4251 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 10:35:08 +00:00
klu2
6797657e9a
Fix the issue that CAR size is shown as negative number.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4249 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 09:59:18 +00:00
jwang36
402bbc765b
Added VS2005 support
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4247 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 09:12:54 +00:00
jwang36
04e031d000
a. Changed MYTOOLS to use Visual Studio Team Suite for IA32 and X64. IPF is still use WINDKK.
...
b. Re-generated build.exe and GenFds.exe to incorporate new changes of build tools
c. Enable multi-thread build mode by default
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4246 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 09:07:31 +00:00
yshang1
34ec75fc96
1) Change GUID of emuvariable module.
...
2) Support print 64bit's HobList.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4245 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 08:58:40 +00:00
zliu3
42a885c2f0
Added macro GLOBAL_OBJECT and GLOBAL_CONSTANT, and changed '.global' to '.globl' based on HP feedback
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4243 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-31 03:10:22 +00:00
qhuang8
dfc4846489
Add Add Driver Diagnostic 2 Protocol support for IdeBus driver.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4241 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-30 06:45:44 +00:00
qhuang8
db168de9b0
Add Driver Diagnostic 2 Protocol support for WinNtBlockIo driver.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4240 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-30 05:28:45 +00:00
jljusten
6ee5bbddea
MdeModulePkg/Universal/DevicePathDxe/DevicePathFromText.c:
...
Pre-initialize local variable 'Digit' in two functions to
prevent a compiler warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4239 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-30 00:36:55 +00:00
jljusten
952671b37e
MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c:
...
Pre-initialize GuageData variable to remove compiler warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4238 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-30 00:13:22 +00:00
jljusten
a21f46e4b6
MdePkg/Library/BaseLib/ChkStkGcc.c:
...
MdePkg/Library/BaseLib/BaseLib.inf:
Added stub (nil) implementation of __chkstk for which calls are generated
by newer versions of gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4237 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-30 00:10:23 +00:00
jljusten
bdfb126146
MdePkg/Library/BaseMemoryLibRepStr/x64/*.S:
...
Added assembly files for gnu toolchain.
Uses '.intel_syntax' which requires binutils >= 2.10.
MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf:
Include .S files for BaseMemoryLibRepStr module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4236 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-30 00:06:27 +00:00
jljusten
8f5a1bcc35
BaseTools/Conf/tools_def.template:
...
Added '-x assembler' to *_UNIXGCC_*_ASM_FLAGS so pre-processed assembly
files (*.iii) will assemble correctly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4235 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 23:17:12 +00:00
jljusten
d0d8c1369f
Fixed filename case for case-sensitive file systems.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4234 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 23:11:19 +00:00
jljusten
9ba67b5c81
BaseTools/Conf/build_rule.template:
...
Fixes for GCC toolpath on unix. (Changes tested on OS X).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4233 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 18:34:07 +00:00
jljusten
2347330465
BaseTools/Conf/tools_def.template:
...
Changes for UNIXGCC toolchain.
Tested on OS X with x86_64-pc-mingw32 bintools/gcc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4232 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 08:01:12 +00:00
qhuang8
abe7b4c670
Update the build instructions and change log:
...
The shell binaries are now built with Edk Shell source 1.03 release + EdkCompatiblityPkg(r2246) so that it can be built and customized under EDKII environment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4231 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 07:44:04 +00:00
jljusten
408e506344
BaseTools/ConfTemplates:
...
Removing BaseTools/ConfTemplates/* and using common BaseTools/Conf,
even though they cannot be made common for all systems. (For example,
target.template) I will look a different method to accomplish the
same goal.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4230 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 07:43:33 +00:00
jljusten
8625864ea9
BaseTools/BuildEnv.py:
...
Removing BaseTools/ConfTemplates/* and using common BaseTools/Conf,
even though they cannot be made common for all systems. (For example,
target.template) I will look a different method to accomplish the
same goal.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4229 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 07:42:00 +00:00
jljusten
a0d76ec7db
Adding link for BaseTools/Bin/PosixLike/Trim to allow tool to be run
...
during the build process.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4228 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 07:19:18 +00:00
qhuang8
1ae109d15c
Update shell binaries with EDK shell 1.03 built with ECP r4226.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4227 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 05:31:43 +00:00
qhuang8
eeb12b5e50
Remove the unnecessary library reference.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4226 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 05:16:07 +00:00
qhuang8
84374b9593
Adjust the build infrastructure to support IA32 architect build. Ia32.dsc is more suitable than reuse Nt32.dsc
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4225 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-29 04:58:20 +00:00
lgao4
9626a87e43
Add one judge whether TeImage or PeImage has reloc section when relocate TeImage or PeImage into memory.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4224 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-26 09:28:29 +00:00
qhuang8
a72eca8459
Add change log to EdkShellBinPkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4223 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-26 08:53:16 +00:00
qhuang8
73a9c566b1
Remove duplicate copies of Shell Applications to reduce maintenance efforts.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4222 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-26 08:49:59 +00:00
qhuang8
84255c8f8d
Add some EDK build configuration files and EDK DSC file as the templates to build EDK modules.
...
This is a temporary solution to build EDK modules (e.g. Shell applications) under EDK II environment with EDK tools in ECP.
After the EDKII tools are ready to parse EDK II DSC file to build EDK INF file, these temporary build files can be safely removed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4221 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-26 08:18:08 +00:00
qhuang8
dd1119dd87
Comment out two libraries that are not included in EdkCompatiblityPkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4220 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-26 02:42:29 +00:00
lhauch
ae0c9fa612
Removed an echo statement I was using for debugging on the second time this was run.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4219 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-25 18:55:17 +00:00
lhauch
20e51d2793
Added a test for NewBuild argument if this is the second time through the setup - VCINSTALLDIR is set, and cygwin is installed.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4218 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-25 18:53:37 +00:00
lhauch
c43a6c7ee3
Added flag to permit building with VS2005. (strcpy has been depricated, so MSFT introduced a flag to turn off the warning.)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4217 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-25 17:52:45 +00:00
lhauch
6f729b6aa2
Updated edksetup to support VS2005 iff VS2003 is not installed for the NT32 build
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4216 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-25 16:37:48 +00:00
jwang36
d81b56bcbe
Fixed memory re-free issue
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4214 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-25 09:43:28 +00:00
jwang36
930052168f
a. Re-generated all C tools with "/MLd" option
...
b. Removed antlr.exe and dlg.exe because they are only needed to generate VfrCompile.exe but not to build platform or module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4213 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-25 08:37:44 +00:00
vanjeff
68246fa809
Save original PCI attributes in start() function and restore it in Stop() for those PCI device drivers.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4212 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-25 07:59:45 +00:00
AJFISH
c9a0a0fcf1
Fixed tabbing issue
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4211 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-24 19:12:45 +00:00
qwang12
096cdcaa4e
ASSERT_EFI_ERROR (FALSE) should be ASSERT (FALSE)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4208 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-24 11:27:02 +00:00
qwang12
fb8749d0af
ASSERT_EFI_ERROR (FALSE) should be ASSERT (FALSE)
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4207 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-24 11:22:34 +00:00
lhauch
c47e45a6c2
Adding GCC cross-compiler information to BaseTools folder
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4206 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-23 17:15:38 +00:00