Commit Graph

205 Commits

Author SHA1 Message Date
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 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 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
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 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 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 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
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 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
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 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
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 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 50d19550cc Renamed to match filename naming recommendations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4890 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:41:11 +00:00
jljusten 10b8a628d9 Renamed to match filename naming recommendations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4889 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:39:57 +00:00
jljusten 8ba1b02f95 Renamed to match filename naming recommendations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4888 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:39:21 +00:00
jljusten 8509a918f1 Renamed to match filename naming recommendations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4887 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:39:10 +00:00
jljusten be9589f3e5 Renamed to match filename naming recommendations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4886 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:38:42 +00:00
jljusten d0fd563fe5 Renamed to match filename naming recommendations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4885 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:38:20 +00:00
jljusten 289b617766 Renamed to match filename naming recommendations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4884 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:37:32 +00:00
jljusten 7c1890995a Renamed to match filename naming recommendations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4883 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:37:19 +00:00
jljusten f80d1b36bb Renamed to match filename naming recommendations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4882 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:34:33 +00:00
jljusten c28eac05f8 Renamed to match filename naming recommendations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4881 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:30:51 +00:00
jljusten 04517ea0a7 Renamed to match filename naming recommendations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4880 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:30:31 +00:00
jljusten be870d264c Renamed to match filename naming recommendations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4879 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:29:07 +00:00
jljusten 4eb55a9b33 Renamed to match filename naming recommendations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4878 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:28:50 +00:00
jljusten 511f813d74 Renamed to match filename naming recommendations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4877 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 21:23:21 +00:00
qwang12 808bfde224 Update memcpy.c and memset.c to support both /Ox and /Os of MSFT IPF toolchain. Without this change, MSFT /Ox will report "can't define intrinsic" error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4630 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 09:35:36 +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