qwang12
9a1ed79890
Add Cpu.S for X64 GCC tool-chain.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5739 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-27 13:49:54 +00:00
qwang12
7100c9d36f
Add in Thunk16.S.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5732 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-26 10:22:08 +00:00
qwang12
7fd9ac0efb
Add Fx.s
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5724 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-25 02:03:47 +00:00
qwang12
41d80e816a
Add in SupportItpDebug.S.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5723 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-25 01:51:20 +00:00
qwang12
822a6944bc
Add .S (for GCC) file for Pei/PeiLib/PeiLib_Edk2.inf.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5721 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 11:25:00 +00:00
qwang12
78d41186a5
Make EfiRuntimeLib pass GCC.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5720 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 09:55:39 +00:00
qwang12
4b79797eea
1) Cleanup for GCC and ICC tool-chain.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5718 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 09:31:51 +00:00
qwang12
8e35b68162
1) Make EfiCpuVersion.c pass ICC and GCC tool-chain
...
2) Add in CpuIA32Lib_Edk2.inf.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5717 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 08:38:20 +00:00
qwang12
a926396d18
1) add in CpuIA32Lib_Edk2.inf to allow CpuIa32 to be built under GCC tool-chain.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5716 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 07:36:54 +00:00
qwang12
4d145a2a3b
Add in _Edk2.inf so that library can be build by GCC and ICC tool-chain.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5715 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 07:09:04 +00:00
qwang12
c1ea912c6c
1) add in EfiCommonLib_Edk2.inf which will allow EfiCommonLib to build understand GCC and ICC tool-chain.
...
2) Add in 3 .asm files for ICC tool-chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5714 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-23 06:48:07 +00:00
qwang12
0f77dfb622
Enhance the string formatting function to take "%p" to print pointer.
...
'p' - arugment is VOID *; printed as hex number
Example is :
ASPrint (Buffer, 1024, "This is a %p\n", SystemTable);
ASPrint (Buffer, 1024, "This is a %10p\n", SystemTable);
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5554 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-23 07:07:07 +00:00
qwang12
c69a09d928
Add in .S file for GCC tool-chain.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5542 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-22 01:55:31 +00:00
qwang12
34a6b78805
Inline ASM in .c file is specific to MS tool-chain. Other tool-chain (such as Intel compiler) may not support it. Add in .asm files to make these function to be built by Assembler so that they are avaliable too for other tool-chain.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5540 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 14:01:55 +00:00
qwang12
b962b6b54d
Add in .S file for GCC tool-chain.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5537 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 10:03:20 +00:00
qwang12
a1cb16bd83
clean up for GCC tool-chain.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5536 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 09:57:43 +00:00
qwang12
0fb90682e7
Use ebp as frame buffer in DivU64x32. Fix a typo in GetPowerOfTwo.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5532 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 05:57:04 +00:00
qwang12
478db76bbe
Inline ASM in .c file is specific to MS tool-chain. Other tool-chain (such as Intel compiler) may not support it. Add in .asm files to make these function to be built by Assembler so that they are avaliable too for other tool-chain.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5529 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 01:49:04 +00:00
qwang12
22353b17c0
Fix a bug in Power10U64. Power10U64 should clean up the stack after calling MultU64x32. It also should load eax and edx with the initial value just in case it return directly when "Power" is zero.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5528 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 01:42:14 +00:00
qhuang8
216cadbbd8
Add protocol several UEFI 2.1 protocol definitions so that some EDK 1.05 drivers can be built.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5439 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-09 10:24:16 +00:00
qhuang8
91b66c164a
Some adjustment in ECP to make it compatible with EDK1.01(EDK1117) foundation in UEFI2.0+Framework0.9x build mode for silicon modules
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5419 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 07:19:27 +00:00
qhuang8
d850121ecd
Some adjustment in ECP to make it compatible with EDK1.01(EDK1117) foundation in UEFI2.0+Framework0.9x build mode for silicon modules
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5418 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 07:08:54 +00:00
qhuang8
03284334ae
Add protocol defintions for DriverConfiguration2, DriverDiagnostic2 & Unicode Collcation 2 definitions so that some EDK 1.05 drivers can be built.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5417 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 07:04:59 +00:00
qhuang8
4521252741
Remove unrecognized chars in comment in source file.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5356 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-19 11:44:04 +00:00
qhuang8
ab496b4695
Remove unrecognized chars in comment in assembly file.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5355 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-19 11:20:33 +00:00
qhuang8
fd0d281b3c
Remove unrecognized chars in comment for all source C/h files.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5354 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-19 11:15:44 +00:00
qwang12
da3ce3d0ae
remove reference to the obsolete EFI_LIGHT_ISA_IO_PROTOCOL. This protocol is introduced for size reduction. But later this method is obsoleted as EDK II use feature flags to conditional mask off some code. As EDK II core code does not produce this protocol so we remove all reference to this protocol.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5340 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-11 05:26:24 +00:00
jljusten
b233cbe5cc
edk2/EdkCompatibilityPkg/Foundation/Protocol/Performance/Performance.h:
...
Change type for PdbFileName to CHAR8 from UINT8 since it is a string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5301 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 03:18:10 +00:00
jljusten
b562e7f509
edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/IfrOpCodeCreation.c
...
Match casting for LocalBuffer with the same type that it was declared with.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5300 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 03:15:43 +00:00
jljusten
ff8dd84a08
edk2/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h:
...
Merge from edk2/MdePkg/Include/*/ProcessorBind.h.
Needed for better compatibility with GCC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5299 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 02:56:24 +00:00
jljusten
10d315bc80
edk2/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib
...
Include/EdkIIGlueDxe.h
Library/EdkDxeRuntimeDriverLib/Common/RuntimeLib.c
Library/EdkDxeRuntimeDriverLib/Common/RuntimeService.c
Fix include filenames for GCC/Linux.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5298 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 02:24:49 +00:00
jljusten
8ad319e5c1
edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/(Ia32|X64)/*.S:
...
Fix to support building with GCC and ECP's EdkIIGlueLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5294 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-26 21:59:52 +00:00
jljusten
297c148b7a
edk2/EdkCompatibilityPkg/Foundation/Include/(Ia32|X64)/EfiBind.h:
...
Merge from MdePkg/Include/(Ia32|x64)/ProcessorBind.h
for GCC support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5293 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-26 21:55:35 +00:00
jljusten
b96b676f11
edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Handle.c:
...
Resolve warning on GCC compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5290 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-26 06:16:59 +00:00
jljusten
ee3f13d539
edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/BaseMemoryLib.inf:
...
Match filename case for files under the X64 directory. (x64 => X64)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5289 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-26 06:12:49 +00:00
qhuang8
3149b37794
Use EDK library macro for EDK library function.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5285 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-23 05:42:44 +00:00
jljusten
bfe03264cb
edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiMemoryAllocationLib/MemoryAllocationLib.c:
...
Merge from edk2\MdePkg\Library\PeiMemoryAllocationLib\MemoryAllocationLib.c
to achieve better support for additional compilers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5280 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 23:46:47 +00:00
jljusten
bd2d157b9d
edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/*:
...
Merge from edk2/MdePkg/Library/BaseMemoryLib and
edk2/MdePkg/Library/BaseMemoryLibRepStr to achieve better
support for additional compilers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5279 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 23:42:13 +00:00
jljusten
3f8f7fa5ba
edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/*:
...
Merge from edk2/MdePkg/Library/BaseLib to achieve better
support for additional compilers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5278 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 23:37:38 +00:00
jljusten
e2955fba07
Merge from edk2/MdePkg/Library/BaseIoLibIntrinsic to achieve better
...
support for additional compilers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5277 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 23:33:19 +00:00
jljusten
8e98644530
edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/ReportStatusCode.c:
...
Fix warning from Intel Compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5276 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 23:29:56 +00:00
jljusten
d04f2a1fb7
edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/X64/CopyMem.asm:
...
Merge fix from r3913:
"Fix bug in backward copy for x64"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5275 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 23:27:44 +00:00
jljusten
b9b478088b
edk2/EdkCompatibilityPkg/Foundation/Include/Ia32/EfiBind.h:
...
Add Intel Compiler fixes similar to r5123
edk2/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5274 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 23:24:08 +00:00
jljusten
221781879c
edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Common/EdkIIGlueDefinitionChangesPeim.h:
...
Remove duplicate definition of EFI_PEI_CPU_IO_PPI.
Previous definition was in
edk2\EdkCompatibilityPkg\Foundation\Framework\Include\PeiApi.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5273 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 23:20:30 +00:00
jljusten
e68757dee8
edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/EdkIIGlueBase.h:
...
Similar to previous change in TianoBind.h in r5123
for the Intel compiler.
Include <EfiBind.h> instead of "EfiBind.h", or
for some reason __STDC_VERSION__ is not defined.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5272 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 19:05:40 +00:00
qwang12
1e55f6a46b
1) Change Framework version of PeiServiceTable's PciCfg from PEI_PCI_CFG_PPI to ECP_PEI_PCI_CFG_PPI. This help to detect if user is calling PeiServiceTable->PciCfg->Modify in a PI platform. Modify between Framework spec and PI spec is not compatible.
...
2) Add ECP_PEI_PCI_CFG_PPI to EdkFrameworkPpiLib
3) Add PeiLibPciCfgModify which call PciCfg2. This function will used by modified Framework Module which will be working with a PI platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5260 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-21 07:21:30 +00:00
lgao4
dc2e539a34
Assert() break point default is DEADLOOP().
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5188 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-09 06:30:03 +00:00
qwang12
6f33781141
Re-enable ExtractDataFromHiiHandle and FindHiiHandle. The Framework to HII Thunk layer has enable these two functions to be called by the module that written against Framework HII spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5176 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-07 09:02:59 +00:00
jljusten
4cb43192bd
Fix various warnings with the Intel C compiler.
...
EfiBind.h:
* Adding ignores for certain warnings with the Intel C compiler.
(Partially merged from MdePkg.)
EfiPxe.h:
* Make sure PXE_NO_UINT64_SUPPORT is defined
Decompress.c:
* Removed 'unreachable' return statement.
EdkCompatibilityPkg/**: (all other files)
* Remove trailing comma from last value in enum.
* Include <EfiBind.h> instead of "EfiBind.h", or
for some reason __STDC_VERSION__ is not defined.
* Introduce more explicit function call ordering by
storing results in local variables before using
in a calculation.
* Add some additional casting for BOOLEAN & UINT8
following calculations which change the type to 'int'.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5123 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-24 16:21:53 +00:00
qwang12
76a21f7ce8
Add in Macro named SUPPORT_DEPRECATED_IFRSUPPORTLIB_API to comment out the functions that will be not be supported by EdkCompatibilityPka's FrameworkHiiToUefiHiiThunk module. We choose not to support these function as they are not commonly used by modules.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5084 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 13:39:39 +00:00