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
qwang12
6d9a6cf062
Add the filed FormValue to Framework's EFI_HII_UPDATE_DATA. This change keeps the definition of EFI_HII_UPDATE_DATA to be the same between EdkCompatibilityPkg and EDK II's IntelFrameworkPkg. HII 0.92 has this definition the field.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5083 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 13:32:24 +00:00
lgao4
90d44b32f4
Add EFI_D_INFO and EFI_D_WARN to the default print level.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5080 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 09:56:05 +00:00
jljusten
e1a09a0eaa
Remove ambiguous auto-increment usage. (gcc warning)
...
(This code change is in sync with BaseTools TianoCompress code.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5057 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 23:31:48 +00:00
jljusten
02d99367c7
Remove empty typedefs (gcc warning).
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5056 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 23:24:29 +00:00
jljusten
3e71187c5c
Remove duplicate definition of TPM_CHOSENID_HASH.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5055 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 23:22:23 +00:00
jljusten
5f7d6886ad
Remove duplicate definition of PEI_MASTER_BOOT_MODE_PPI.
...
This definition would not have belonged in this file in the first place.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5054 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 23:21:15 +00:00
jljusten
d196f44fdc
Remove duplicate definition of EFI_REPORT_STATUS_CODE.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5053 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 23:18:07 +00:00
jljusten
0dbeedde34
Fixed several include filename issues for gcc+unix.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5046 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 20:24:11 +00:00
jljusten
db13e3c00b
edk2/EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h:
...
UNALIGNED is already defined by including 'windows.h' in the
EdkCompatibilityPkg/Sample/Library/Dxe/WinNt/WinNtLib.inf module.
For X64/IPF, the definition (via windows.h) is not blank (as
it is here). Therefore, a 're-definition' warning is generated.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5045 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-11 18:08:38 +00:00
jwang36
4965dd562e
Removed one include path which doesn't exist
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4980 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-02 08:09:41 +00:00
qhuang8
57d40fe2af
GCC cleanup for all EDK I DXE libraries.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4969 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-29 04:46:03 +00:00
qhuang8
37eba21723
Remove forward declaration.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4968 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-29 04:44:55 +00:00
qhuang8
6a7c450c1e
Skip the progma for GCC tool chain.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4967 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-29 04:44:43 +00:00
qhuang8
7ccf38a33e
Update Guid Value format.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4964 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-28 12:00:46 +00:00
qhuang8
4c5d09830b
Add a work around Dummy.c file to avoid autogen error to GCC tool chain family.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4963 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-28 11:51:43 +00:00
qhuang8
204529a3a0
Remove the default value 0xE0000000 of EDKII_GLUE_PciExpressBaseAddress.
...
It requires platform DSC file to specify it explicitly in their DSC file to avoid runtime issue.
Unlike the other default value of PCD in GlueLib, this value does not work for all all platforms.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4960 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:49:40 +00:00
qhuang8
d1d1603e20
Rename PeiServicesLocatePpi to PeiServicesLocatePpi.
...
(Do not use macro function to avoid macro expansion error.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4959 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:45:38 +00:00
qhuang8
193f8db47b
Rename BuildFvHob() & ScanGuid() in GlueLib to avoid naming collision in PeiLib.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4958 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:44:06 +00:00
qhuang8
f22d031914
Add EfiDriverLib to the [libraries] for the reference of EfiStrLen(), EfiAsciiStrLen(). This will prevent unresolved extern when EDK I module is built with GlueLib.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4956 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:39:51 +00:00
qhuang8
12cb2d9625
Change the device type of MEDIA_FV_DP & MEDIA_FV_FILEPATH_DP to align with the definition in MdePkg, which is updated in r4632
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4955 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:34:57 +00:00
qhuang8
b066b6e952
Add "typedef struct _EFI_SMM_CPU_SAVE_STATE_PROTOCOL EFI_SMM_CPU_SAVE_STATE_PROTOCOL;" so that EFI_SMM_CPU_SAVE_STATE_PROTOCOL is referenced in user code.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4954 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:31:42 +00:00
qhuang8
712c07231e
Add definition: EFI_ACPI_DMAR_TABLE_FLAGS_INTR_REMAP_CLEAR.
...
EFI_ACPI_DMAR_TABLE_FLAGS_INTR_REMAP_SET has already been defined in this file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4953 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-27 04:30:20 +00:00
jljusten
e104fc15dc
edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/SimpleFileSystem/SimpleFileSystem.h:
...
Added back 'typedef' needed for EFI_FILE_HANDLE.
It should not have been removed in r4928.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4952 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-26 22:36:08 +00:00
jljusten
cfc54bbbf8
Match case of architecture specific include path added by build system.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4947 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-21 20:30:46 +00:00
jljusten
545c652778
Rename file to match recommended file naming conventions.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4946 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-21 20:23:23 +00:00
jljusten
aaf91d89e3
Match case of architecture specific include path added by build system.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4945 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-21 19:58:18 +00:00
jljusten
4a33d64397
edk2/EdkCompatibilityPkg/Foundation/Core/Dxe ...
...
/ArchProtocol/StatusCode/StatusCode.h:
* Add back in typedef for which should not have been removed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4944 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-21 17:53:04 +00:00