Commit Graph

497 Commits

Author SHA1 Message Date
rsun3 7c9d25ae76 Refine language conversion in ECP. Create a new library LanguageLib providing functions for language conversion between ISO 639-2 and RFC 4646 styles. Update FrameworkHiiOnUefiHiiThunk, UcOnUc2Thunk and Uc2OnUcThunk modules to use this library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8258 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-08 01:51:35 +00:00
gikidy 8cf6dad8ab Replace references to RFC 3066 with RFC 4646.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8222 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 07:01:55 +00:00
lgao4 54b44c4c57 HiiLib exports HiiCreateRawOpCode API
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8217 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 05:58:55 +00:00
lgao4 27e87dab26 Update HiiGetBrowserData API
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8177 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-27 05:55:16 +00:00
lgao4 d32509c04c Remove unused IfrSupportLib header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8170 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-24 07:20:02 +00:00
eric_tian 14c6da21c6 update string function comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8157 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 07:23:37 +00:00
lgao4 81c1213cae RemoveRemove unused IfrSupportLib and ExtendedIfrSupportLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8137 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-20 08:33:24 +00:00
lgao4 a54205363c Update FrameworkHiiOnUefiHiiThunk to use new HII library.
And add the internal CreateRawOpCode API for the unsupported OpCode: String and Ref.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8136 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-20 08:14:08 +00:00
qhuang8 1e4371671b Save segment registers on stack in case the thunk code assembly calls CF9 soft reset and the x64 registers get cleared.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8124 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 07:47:08 +00:00
rsun3 0f2685219d Retire HiiLibGetNextLanguage() API from HII Library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8109 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 02:38:11 +00:00
jchen20 a45d161969 add comments for protocol/print.h and retire ReadOnlyVariableThunkPresent
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8107 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 01:58:48 +00:00
rsun3 ad5a96ab2d Retire language conversion APIs from HII library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8104 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 08:46:28 +00:00
rsun3 887c077d91 Fix an issue that an assert occurrs if user inputs a password whose length is less than the minimum required length. The root cause is that under such case the Form Browser will pass a null string (string ID = 0) to the Config Access callback. The callback handler does not handle such case correctly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8103 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-16 07:02:42 +00:00
rsun3 cb7d01c0c9 HII Library Class interface refine.
The "HiiLib" prefix for all HII Library API function names changed to "Hii".

Remove: 
  HiiLibPreparePackageList(), replaced by HiiAddPackages()
  HiiLibNewString(), replaced by HiiSetString()
  HiiLibGetStringFromHandle(), replaced by HiiGetString()
  HiiLibGetStringFromToken(), replaced by HiiGetPackageString()
  HiiLibExtractGuidFromHiiHandle()
  HiiLibDevicePathToHiiHandle()
  HiiLibGetSupportedSecondaryLanguages()
  HiiLibGetSupportedLanguageNumber()
  HiiLibExportPackageLists()
  HiiLibListPackageLists()
  
Interface change:
  HiiAddPackages()
  HiiSetString()
  HiiGetString()
  HiiGetHiiHandles()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8083 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-14 10:47:19 +00:00
lgao4 cdaf790547 Fix the conflicted function names to new HII library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8077 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-14 01:57:26 +00:00
lgao4 39e65b358e Add UefiHiiServicesLib library instance in every one DSC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8068 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-13 06:12:27 +00:00
rsun3 647a768d85 Pass correct device path to uninstall the handle on which default config access protocol is installed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8044 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09 07:23:22 +00:00
lgao4 6d931089df Produce the same HiiVendor device path for each Pack that causes Framework HII NewPack service can't be called more than once.
Fix this bug to produce the difference HiiVendor device path for each Pack to support framework HII NewPack service.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8041 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-09 05:03:21 +00:00
eric_tian 101361d996 updated to use the term “temporary memory” but not CAR
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8038 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-08 08:16:11 +00:00
rsun3 00683bf432 PeiLib uses PEI PCI CFG 2 PPI, so it depends on EdkFrameworkPpiLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8021 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-03 07:54:20 +00:00
rsun3 f6f910dd12 Retire Extended HII library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8011 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 08:48:03 +00:00
lgao4 62c236c065 Fix check error.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7996 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-01 03:04:24 +00:00
qhuang8 0b09813f57 Retire RFC_3066_ENTRY_SIZE definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7966 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-27 03:24:58 +00:00
jji4 974a027175 Fix build break.
ISO_639_2_ENTRY_SIZE has been moved to be local.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7902 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-18 06:15:07 +00:00
klu2 78b719ae2e 1, Change name of PcdPlatformBootTimeoutDefault to PcdPlatformBootTimeout, now this PCD is *not* only hold default value of Bds timeout, but it is associated with a HII type PCD to hold persistent value for BDS timeout. Platform integrator will establish this mapping in platform DSC file.
2, Move PcdPlatformBootTimeout to IntelFrameworkModulePkg.
3, Remove BdsLibGetTimeout() interface from GenericBdsLib, because the PCD PcdPlatformBootTimeout will take care of persistent for time out value.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7724 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-27 01:49:34 +00:00
qhuang8 d14a393be2 Fix build break to remove over-include file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7627 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 02:55:57 +00:00
qhuang8 7e26c7e7c1 Fix build break: MdeModuleHii.h has been moved from MdeModulePkg/Include to MdeModulePkg/Include/Guid directory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7626 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 01:42:38 +00:00
klu2 c85640b2a1 1, Use #if defined() to judge the switching macro such as compiler macro.
Original, some code directly judge the value of these macros, but linux ICC compiler will report error as "zero used for undefined preprocessing identifier". So it is better judge whether these macros are defined before accessing their value.
2, Use #if defined() style to replace #ifdef style.
It is good to keep consistent style for this case.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7597 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 06:09:44 +00:00
qhuang8 4fe3ce8d5f Add print protocol GUID to EdkCompatibilityPkg.dec and add PrintThunk to EdkCompatibilityPkg.dsc for build validation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7585 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:26:37 +00:00
qhuang8 46d95f3244 Add PrintThunk driver, it depends on PrintLib on top of MdePkg:
1. If the library instance is BasePrintLib, it has no prerequisite to produce EDK print protocol
2. If the library instance mapping is DxePrintLibPrint2Protocol, it acts as PrintOnPrint2Thunk.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7584 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:25:36 +00:00
qhuang8 45a3634cb9 Add Print.h, an EDKII public include file for thunk driver
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7583 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:23:43 +00:00
klu2 058bf46eef Use #ifdef but not #if for compiler macros.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7535 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-17 06:12:14 +00:00
jcarsey b518ea4e87 fixed typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7515 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-12 22:45:34 +00:00
qwang12 4798ea5b2a 1) Replace IA32API with EFIAPI to standardise the calling convention.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7499 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-11 05:50:37 +00:00
xli24 b2ba1c1e2b Add comments in DSC files to explain the function and design of components section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7488 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-10 08:55:56 +00:00
qwang12 092d6a181f 1) Add an example in EdkCompatibilityPkg.dsc to show how the compatibility build switch is turned on for Framework HII modules.
2) Add the incompatibility changes in ChangeLog.txt.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7384 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-01 09:39:43 +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
mdkinney 1831d0e9ca Split out Synchronization Library from Base Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7375 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-30 00:38:37 +00:00
qwang12 f67cc2c229 Update the DSC file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7342 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:21:50 +00:00
qwang12 a0e221ae23 Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7341 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:17:15 +00:00
qwang12 b650f5041f Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7340 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:16:47 +00:00
qwang12 1127174f67 Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7339 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:15:55 +00:00
qwang12 7bd045975f Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7338 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:14:55 +00:00
qwang12 08e409cbae Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7337 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:14:04 +00:00
qwang12 9d006d26b9 Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7336 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:13:20 +00:00
qwang12 0978682740 Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7335 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:12:54 +00:00
qwang12 8460a812c2 Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7334 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:12:30 +00:00
qwang12 b11dcd84fa Update the INF file name based on the directory name change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7333 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:12:07 +00:00
qwang12 dcb6a8bf71 Update the INF file based on the change to direcotry and file name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7332 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:10:55 +00:00
qwang12 5c6926d4cd Update the INF file based on the change to direcotry and file name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7331 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:09:58 +00:00
qwang12 f275c91cca Update the INF file based on the change to direcotry and file name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7330 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 10:09:30 +00:00
qwang12 186bc15553 Rename module name from ***To*** to ***On***. AAAOnBBB means this module produce AAA Protocol/PPI based on BBB. This change improves the readability.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7329 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 09:48:54 +00:00
qwang12 4c9c0f719d Rename module name from ***To*** to ***On***. AAAOnBBB means this module produce AAA Protocol/PPI based on BBB. This change improves the readability.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7328 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 09:47:43 +00:00
qhuang8 9fa98a8f58 Add change log for some new definitions. They are backward compatible.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7288 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-15 10:03:51 +00:00
qhuang8 1e39deb2e2 Add Load File 2 Protocol and MEDIA_RELATIVE_OFFSET_RANGE_DEVICE_PATH definition to build newest shell source.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7286 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-15 09:57:19 +00:00
qwang12 b7771eaac8 Revert OUTPUT_DIRECTORY to Build/EdkCompatibilityPkg. Build tool is enhanced to handle long path name issue which cause build failure in GCC tool chains
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7178 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-04 09:12:47 +00:00
qwang12 667ced8d53 Upgrade both PACKAGE_VERSION and PLATFORM_VERSION to 0.5 as major function has been implemented including:
1) Verification with EDK style Chipset and Platform modules
2) Verification with EDK II cores + Compatibility Modules + EDK style Chipset and Platform modules.
3) Package level build Verification for these build combinations:
   1) EFI_SPECIFICATION_VERSION=0x00020000 and PI_SPECIFICATION_VERSION=0x00009000
   2) EFI_SPECIFICATION_VERSION=0x00020000 and PI_SPECIFICATION_VERSION=0x00010000
   3) EFI_SPECIFICATION_VERSION=0x0002000A and PI_SPECIFICATION_VERSION=0x00010000

No major incompatible changes. Please check ChangeLog.txt for details.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7128 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-26 03:15:47 +00:00
qwang12 679242bef0 Only define MEDIA_FW_VOL_FILEPATH_DEVICE_PATH for EFI_SPECIFICATION_VERSION <= 0x00020000. When EFI_SPECIFICATION_VERSION > 0x00020000, this definition is defined at EdkCompatibilityPkg\Foundation\Efi\Include\EfiDevicePath.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7123 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-25 11:36:45 +00:00
qwang12 0ecc0cb07c Update the OUTPUT_DIRECTORY name. This is to shorten the possbile command line which may cause a sub-process spawned from the ar command to fail for GCC tool chains.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7075 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-18 06:13:41 +00:00
qwang12 a235abd2c9 Following UEFI spec to do auto booting after a time-out. This feature is implemented
in Framework Setup Browser and moved to MdeModulePkg/Universal/BdsDxe. The auto booting is
moved here in HII Thunk module. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7062 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-17 06:41:02 +00:00
qhuang8 a3a83173fe Clean up to update the reference of the these macros:
EFI_SIGNATURE_16 -> SIGNATURE_16
  EFI_SIGNATURE_32 -> SIGNATURE_32
  EFI_SIGNATURE_64 -> SIGNATURE_64
  EFI_FIELD_OFFSET -> OFFSET_OF
  EFI_MAX_BIT      -> MAX_BIT
  EFI_MAX_ADDRESS  -> MAX_ADDRESS
These macros are not defined in UEFI spec. It makes more sense to use the equivalent macros in Base.h to avoid alias.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7054 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:32:50 +00:00
qwang12 dee207ee01 1) Keep the original Varstore Name when replacing it with L"Setup" to allow Framework HII module get variable which is saved by UEFI Setup Browser.
2) Fix a bug in UefiDefaultsToFwDefaults to correctly update the VariablePackList on output.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7045 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 13:09:12 +00:00
qwang12 73d1dcbb46 Add in code to convert the Default VarStore name to be L"Setup" based on Framework HII's assumption.
VARSTORE ID of 0 for Buffer Storage Type Storage is defined as invalid in UEFI 2.1 HII. VARSTORE ID
0 is the default VarStore ID for storage without explicit declaration in Framework HII 0.92. EDK II UEFI VFR compiler
in compatible mode will assign 0x0001 as UEFI VARSTORE ID to this default storage id in Framework VFR without
VARSTORE declaration.

In addition, the Name of Default VarStore is assumed to be L"Setup" for those storage without explicit VARSTORE declaration in the formset
by Framework HII. EDK II UEFI VFR compiler in compatible mode hard-coded L"Setup" as VARSTORE name.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7040 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 05:27:24 +00:00
xli24 f51aea9bb1 Use correct capitalization for include path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6893 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-07 16:57:10 +00:00
qwang12 bb4af2926a IPF GCC tool-chain cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6891 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-06 04:14:01 +00:00
qwang12 90eff00547 update comment
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6848 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 13:35:03 +00:00
qwang12 d8444a2766 1) GCC Clean up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6847 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 13:32:35 +00:00
gikidy 9e21d6d026 Change function IpfFlushCacheRange() to AsmFlushCacheRange() follow the Mde_Lib_Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6835 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 06:56:34 +00:00
qwang12 2b534a7c09 Fix a bug of not initialize Private->PciRootBridgeIo correctly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6832 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 06:13:53 +00:00
xli24 9fd4915feb Use .radix directive that GCC assembly supports.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6830 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 06:06:00 +00:00
qwang12 8138a06bf7 a statement ".radix D" which cause build break for *NIX IPF tool-chain. This is temperarily comment out. This .s file will be reimplemented to follow EDKII's MdePkg's BaseLib's IPF instruction flush code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6829 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 05:24:43 +00:00
gikidy 97f201c47e Follow the Mde_Lib_Spec to fix the function PeCoffLoaderUnloadImage() IN/OUT issue about definition and implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6827 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 02:04:19 +00:00
qwang12 d87a4d5757 UNIX GCC cleanup: file name is case sensitive.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6824 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 01:32:07 +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
qwang12 81c56b8d1a Unix GCC cleanup:
File name is case sensitive.
Foward slash is used.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6819 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-03 13:50:50 +00:00
qwang12 f90eb36c15 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@6806 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-02 14:35:15 +00:00
qwang12 03254710db 1) Fix a bug of DefaultVarStoreId of the Form Set should be used when Framework IfrSupportLib create new opcode.
2) Remove the unnecessary OpcodeCreation.h 
3) Update the doxygen function header.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6787 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 07:16:55 +00:00
qwang12 168da756c6 Fixed a error although Math.c is not built include for building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6785 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 02:39:49 +00:00
qwang12 0fc1f8f234 GCC Cleanup: Files name should match the case in the file system.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6784 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 02:38:31 +00:00
qwang12 6bc3c115ba GCC cleanup: forward slash used.o
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6783 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-01 02:32:20 +00:00
qwang12 6800062768 Move GlueLib's PeiPerformanceLib and DxePerformanceLib to [Components.IA32,Components.X64] and [Libraries.IA32,Libraries.X64] as the ECP implementation use AsmReadTsc () function (IA32/X64 only).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6779 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-29 09:09:03 +00:00
qwang12 ba428fb4ed Add CompilerStubLib_Edk2.inf which is built by EDK II tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6778 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-29 07:38:29 +00:00
qwang12 d437caa0fa Add CompilerStubLib_Edk2.inf which is built by EDK II tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6777 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-29 07:37:49 +00:00
qwang12 bc4c047f7b 1) Revert the original CompilerStubLib.inf which will be built by EDK tool chain. CompilerStubLib_Edk2.inf is the one that should be built by EDK II tool chain.
2) Revert the memcpy.c and memset.c. We use CompilerStubLib_Edk2.inf to switch the file combinations that are built under differnt tool-chains.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6776 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-29 07:36:43 +00:00
qwang12 48a59ce09a Update the entry point function's prototype.
Add Doxygen function header.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6769 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-28 01:21:54 +00:00
qwang12 bad2ca8ed0 Update the entry point function's prototype.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6768 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-28 01:21:29 +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 e24d48ac46 1) Initialize return value for UefiOp for all execution path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6748 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 02:43:22 +00:00
qwang12 5990ace9f5 ICC IA32 Cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6746 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 02:22:59 +00:00
qwang12 cec4aed1a9 GCC/ICC Cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6743 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 02:05:01 +00:00
qwang12 35d297c7ac PI defines the architectural way to get PeiServicesTablePointer from sizeof (UINTN) bytes before the IDT table base. Add the runtime detection of PI version so that Mm7 Library instance is usable under PI 1.0 system.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6739 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 11:28:02 +00:00
qwang12 b6228a086f add ULL suffix to Long Long number.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6738 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 11:27:06 +00:00
qwang12 1aaf8feb94 add ULL suffix to PEI_SERVICES_SIGNATURE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6737 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 11:25:34 +00:00
qwang12 3321fa09f0 1) Add in SharingStringPack to make UpdateString only create/update string token in the String Packages that shares String Package with each other. For a String Token to be updated in a Package, TagGUID must be the same and SharingStringPack need to be true too.
If a package list has both String Package and Form Package registered, the Create/Update of String Token will only be done in this Package List.
2) Add in Doxygen Function headers.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6736 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-26 11:02:31 +00:00
qwang12 70d72ba978 1) StrGather (Build.exe) in compatible mode add a Framework Package Header to replace the original “ArrayLength” generated in the output.
2) VfrCompiler in compatible mode add a Framework Package Header to replace the original “ArrayLength” generated in the output.
3) HII Thunk module nows support Narrow Font registered using Framework New Pack HII interface.
4) Fix a bug in IfrLibCreatePopUp2 by updating the prototype. The previous way of using VA_START to get the address of parameter in the argument list and expecting the parameters that follows will be found using VA_ARG macro is wrong. 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6672 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 15:07:50 +00:00
qwang12 cae5044b4a GCC Build Clean: Add doxygen comment and fix build break issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6647 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-20 06:27:17 +00:00
qwang12 19caab516d 1) Covert the FvAttributes back to format defined in Framework spec after calling the PI FV Protocol. This behavior is defined in Framework spec.
2) Set the EFI_FV_FILE_ATTRIB_MEMORY_MAPPED before calling PI FV Protocol->WriteFile interface.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6612 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 14:20:01 +00:00
qwang12 9e99ce325a Covert the FvAttributes back to format defined in PI spec after calling the Framework FV Protocol. This behavior is defined in PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6611 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 14:18:25 +00:00
qwang12 6d8f3e5d57 EBC Cleanup: BaseIoLibIntrinsic is only supported for IA32, IPF, X64
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6610 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 13:55:17 +00:00
qwang12 73396ac275 EBC Cleanup: _break is already defined in EdkCompatibilityPkg\Foundation\Include\Ebc\EfiBind.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6609 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 13:53:57 +00:00