Commit Graph

33 Commits

Author SHA1 Message Date
jljusten 2b0fcbf537 EdkCompatibilityPkg: Re-add VA_COPY macro
This macro was lost in r10585.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10930 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-13 07:07:54 +00:00
rsun3 c5eef36d69 Add back the removed pair of "#ifndef VA_START" and "#endif" in recent check-in to avoid macro redefinition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10595 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-23 06:55:56 +00:00
jljusten 124969632b EdkCompatibilityPkg: Fix EFIAPI usage inconsistencies
These inconsistencies cause a build error for GCC 4.4 X64.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10587 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-15 02:46:49 +00:00
jljusten 5f68233c6f EdkCompatibilityPkg VA_LIST: Fix build issue with GCC 4.4
Merge from MdePkg/Include/Base.h to fix build issues with GCC 4.4.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10585 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-15 02:46:03 +00:00
jljusten 0e7e330262 EdkCompatibilityPkg IA32 EfiBind.h: Do not include stdint.h
Merge from MdePkg/Include/Ia32/ProcessorBind.h.  Do not include
stdint.h.  Instead define the basic types ourselves.

This fixes a build issue with GCC on X64 Linux.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10584 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-15 02:45:51 +00:00
klu2 5a2bc7144a synchronize interget type definition from MdePkg's processbinding.h to make build pass under GCC44 tool chain
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10543 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-26 05:29:33 +00:00
rsun3 6a8fb8bab5 Change TPM_BASE to 0 per TPM spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10499 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-18 02:22:51 +00:00
hhtian f57387d54b Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10435 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-28 12:14:56 +00:00
AJFISH 1afe0401f4 Fixes for ARM build in the EdkCompatibilityPkg and a couple of Xcode fixes for MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9520 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-06 02:01:54 +00:00
AJFISH e8de46808a Fixed issues compiling for Apple gcc on IA-32
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9310 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-24 21:48:45 +00:00
htao af2cfce391 Add RHSA (remapping hardware static Affinity) structure definition according to VT-d spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9271 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-16 09:44:55 +00:00
eric_tian c113cd3272 redefine the ASM_PFX to let it can work on Apple/NetBSD and other Unix* platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9074 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-14 09:41:23 +00:00
eric_tian 78709ef8cf change the error usage of "#if __GNUC__" Condition Macro to "#if defined(__GNUC__)"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8328 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-19 04:25:42 +00:00
xli24 59a7e4f4bd For ECP, disable ICC's remark #869: "Parameter" was never referenced warning.
This is legal ANSI C code so we disable the remark that is turned on with -Wall 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7383 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-01 09:23:46 +00:00
qwang12 aa274d2a3a 1) Add in EcpEfiBreakPoint and EcpMemoryFence which will be defined as EFI_BREAKPOINT and MEMORY_FENCE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6820 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 13:53:50 +00:00
xli24 88b6bcec9d Clean ECP for build failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6760 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 07:58:15 +00:00
qwang12 1bfbd131fa ICC Cleanup:
#if __INTEL_COMPILER

//
// Disable the extra ";" warning;
// All places referencing EFI_GUID_STRING MACRO will generate this error.
//
#pragma warning ( disable : 424 )

//
// error #593: variable "Status" was set but never used
// This error may be flagged if a function only do ASSERT on return status when 
// EFI_DEBUG is not defined (EDK's ASSERT will be defined as empty statement).
// To make EdkCompatibilityPkg buildable by ICC with EFI_DEBUG undefined, disable
// this warning.
//
#pragma warning ( disable : 593 )

//
// Disable ICC's remark #869: "Parameter" was never referenced warning.
// This is legal ANSI C code so we disable the remark that is turned on with -Wall
//
#pragma warning ( disable : 869 )

//
// Disable ICC's remark #1418: external function definition with no prior declaration.
// This is legal ANSI C code so we disable the remark that is turned on with /W4
//
#pragma warning ( disable : 1418 )

//
// Disable ICC's remark #1419: external declaration in primary source file
// This is legal ANSI C code so we disable the remark that is turned on with /W4
//
#pragma warning ( disable : 1419 )

#endif

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6602 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 09:57:59 +00:00
qwang12 0d37437d28 GCC Cleanup: Define EFI_BREAKPOINT for GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6591 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 08:10:49 +00:00
lgao4 43cefa3419 Minor update for EfiVariable.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6115 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-15 04:21:40 +00:00
qwang12 775bebc372 GCC clean.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5873 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-11 02:25:30 +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
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
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 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 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
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 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
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 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 96703427f2 edk2/EdkCompatibilityPkg/Foundation/Include/X64/EfiBind.h:
* Added the ULL suffix to constant values greater than 32-bits so they
  will be interpreted as a unsigned long long.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4936 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 21:07:19 +00:00
jljusten 058eff9c25 Match case of architecture specific include path added by build system.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4923 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 20:20:17 +00:00
qwang12 c7f33ca424 1) Sync EdkCompatibilityPkg with EDK 1.04. The changes includes:
1.1) Bug fixes. (For details, please check  Documents & files: Snapshot/Release Notes at https://edk.tianocore.org/servlets/ProjectDocumentList?folderID=43&expandFolder=43&folderID=6)
  1.2) Add new UEFI protocol definitions for AbsolutePointer, FormBrowser2, HiiConfigAccess, HiiConfigRouting, HiiDatabase, HiiFont, HiiImage, HiiString, SimpleTextInputEx, DPC protocol.
  1.3) Add Smbios 2.5, 2.6 supports.

  Incompatible changes hilighted:
  1) EFI_MANAGED_NETWORK_PROTOCOL_GUID changed.
  2) EFI_IP4_IPCONFIG_DATA changed.

2) Add in EdkCompatibilityPkg/EdkCompatibilityPkg.dsc to build all libraries in this package.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4623 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 07:10:05 +00:00
qwang12 3eb9473ea9 Add in the 1st version of ECP.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2832 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-28 07:00:39 +00:00