Commit Graph

84 Commits

Author SHA1 Message Date
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
jljusten e41b500030 edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Arp/Arp.h:
* Add back in typedef for EFI_ARP_FIND_DATA which should not have
  been removed.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4940 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 22:11:40 +00:00
jljusten 5d46191d8f Removed extra typedefs on structures to fix error generated by gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4939 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 21:17:47 +00:00
jljusten a2446f2e1b Removed extra typedefs on structures to fix error generated by gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4938 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 21:10:58 +00:00
jljusten 6f80bb860f Removed extra typedefs on structures to fix error generated by gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4937 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 21:08:53 +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 5413b31d77 Removed extra typedefs on structures to fix error generated by gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4935 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 21:01:21 +00:00
jljusten 51eafec648 Fix filename text 'case' for #include.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4934 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 21:00:45 +00:00
jljusten b9bbec4ff3 Removed extra typedefs on structures to fix error generated by gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4933 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 20:59:20 +00:00
jljusten 338e1d5748 Fix filename text 'case' for #include.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4932 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 20:58:52 +00:00
jljusten 1c7caf7898 Removed extra typedefs to fix error generated by gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4931 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 20:57:20 +00:00
jljusten 8cdb2112e2 * Removed extra typedefs on structures to fix error generated by gcc.
edk2/EdkCompatibilityPkg/Foundation/Framework/Ppi/Reset/Reset.h:
* Changed name of colliding function pointer typedef.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4930 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 20:54:38 +00:00
jljusten 9c09284182 Removed extra typedefs on structures to fix error generated by gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4929 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 20:45:58 +00:00
jljusten e5bce2758f Removed extra typedefs on structures to remove error with gcc compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4928 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 16:37:48 +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
jljusten e84217e7cf edk2/EdkCompatibilityPkg/**
* Changed all '\' to '/' in *.ing and *.dsc
* Fixed inconsistencies in filename case usage that caused the
  build command to fail to parse the dsc/inf files on a system
  with a case-sensitive filesystem.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4898 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 22:01:12 +00:00
jljusten 99ea19948a Renamed to match filename naming recommendations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4897 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:49:39 +00:00
jljusten 905cc679c6 Renamed to match filename naming recommendations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4896 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:49:26 +00:00
jljusten cd090ad444 Renamed to match filename naming recommendations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4895 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:47:24 +00:00
jljusten 85298c146e Renamed to match filename naming recommendations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4894 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:44:27 +00:00