yshang1
5053cf7f4c
1) Fix bugs in BaseMemoryLibOptXXX instances in MdePkg.
...
2) Add BaseMemoryLibOptXXX in MdePkg.dsc.
3) Clean up the MdeModulePkg.dsc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4286 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-08 03:40:50 +00:00
zliu3
14e2aca20d
Removed the PAL definition of PAL_ROUTE_CONFIG because it is not in published Itanium spec
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4282 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-07 09:15:14 +00:00
lgao4
c1f455c3a5
Fix GenFv bug without init local variable
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4281 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-07 07:48:54 +00:00
jlin16
79492e5f39
Strip the relocation section for SEC, PEIM and PEI CORE typed files, according to relocation strip flag in FDF file and shadow flag in INF file.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4280 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-07 05:59:12 +00:00
qhuang8
f0b425b4c0
Fix a memory leak issue.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4278 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-07 03:19:35 +00:00
qhuang8
d6b50e78d7
Fix a memory leak issue.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4276 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-07 02:59:26 +00:00
lgao4
9402de91cf
Update tool to support reloc section removed, PAD file with same guid and check no duplicated guid file in the same fv image.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4275 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-06 11:23:02 +00:00
lgao4
6b978d166b
To find DxeCore by PE32 section is enough, DxeCore can't be wrapped TE section.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4274 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-06 10:08:57 +00:00
jwang36
2b993c56f7
Fixed an issue which would cause trimming empty file error.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4272 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-06 06:39:13 +00:00
yshang1
8a0d144b39
Add the -mno-red-zone for gcc on x64. Since the GNU calling convention of x64 defines the 128bytes red zone beyond the stack point could not be modified by interrupt or exception handler, and Edk prime assumes all data beyond stack point should be volatile, if not add the option, the interrupt or exception handler may corrupt the red zone, which may be used as temporary storage.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4271 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-06 05:30:16 +00:00
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