Commit Graph

750 Commits

Author SHA1 Message Date
vanjeff 4ad9b09e88 To meet actual filenames
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5434 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-09 07:30:33 +00:00
vanjeff 05346dbbb9 rename filename to PciCf8Lib.c. it will match its library name and avoid confusion with Pci Library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5433 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-09 07:27:04 +00:00
vanjeff c26a4ca15f rename filename to PciExpressLib.c. it will match its library name and avoid confusion with Pci Library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5432 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-09 07:25:28 +00:00
vanjeff 5c57f3eaea 1. Update files header.
2. Added missing libraries in inf files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5431 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-09 07:21:21 +00:00
eric_tian cbc1082c98 modify coding style to pass ecc tool and provide comments that complied with Doxgen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5430 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-09 01:52:13 +00:00
yshang1 38bbd3d91c Code scrub:
MdePkg/Library/BaseCacheMaintenanceLib
MdePkg/Library/BaseDebugLibNull
MdePkg/Library/BaseIoLibIntrinsic
MdePkg/Library/BaseLib
MdePkg/Library/BaseMemoryLib
MdePkg/Library/BaseMemoryLibMmx
MdePkg/Library/BaseMemoryLibOptDxe
MdePkg/Library/BaseMemoryLibOptPei
MdePkg/Library/BaseMemoryLibRepStr
MdePkg/Library/BaseMemoryLibSse2
MdePkg/Library/BasePeCoffGetEntryPointLib


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5426 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 09:38:43 +00:00
vanjeff 94646ec0e3 Ecc clean.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5415 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-08 05:18:46 +00:00
qwang12 27d55a2d56 Boolean values and variable type BOOLEAN should not use explicit comparisons to TRUE or FALSE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5379 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-30 02:22:16 +00:00
qwang12 2a10d87453 Remove the OPTIONAL modifier as HiiHandle is a compulsory para.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5369 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-25 05:44:42 +00:00
qwang12 54cf87805f Merged in the following trackers from EDK:
EDK1145 Cursor mising in shell in some case 
EDK1099: Dell - [HII] HiiGetFontInfo() not retrieve the system font by FoFontInfoMask
EDK1127: [UEFI 2.10] Keyboard layout support 
EDK1129: [UEFI HII] GUID is represented wrongly in Config String
And some other fixes such as
*[UEFI HII] HiiGetAltCfg is generating "Name=" sub string in the wrong format 
*UEFI HII: GetUnicodeStringTextOrSize() doesn't handle NULL StringDest properly
*GetFontInfo() need be updated to avoid iteration 
*HIIStringProtocolTest failed on multiple platform
*[Uefi 2.1] Comply with latest Hii ECR 
* GetFontInfo() need be updated to avoid iteration


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5360 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-23 09:38:38 +00:00
qhuang8 5f3fdf9832 Minor update to follow coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5321 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-04 04:33:35 +00:00
qhuang8 e8a99c0881 Remove orphan files: R8Lib.c & R8Lib.h have already been removed from module INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5320 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-04 04:16:14 +00:00
qhuang8 d2e6d78887 1. Add comments about reserve space on space according to x64 calling convention
2. Fix comments in SwitchStack as for the x64 calling convention.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5315 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-30 02:03:15 +00:00
qhuang8 ac64461468 De-unicode in comment for all source files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5302 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-27 03:24:01 +00:00
qwang12 d9e5c1fffb 1) Add BufToHexString, HexStringToBuf and IsHexDigit to BaseLib.
2) Remove the duplicated functions implementation  from the modules that reference these APIs 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5282 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-23 05:25:44 +00:00
qwang12 2d81bfb983 Add in ConvertIso639LanguageToRfc3066Language API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5268 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-22 00:59:42 +00:00
klu2 ccb3cad09f Wrong check-in, library instance should not support DXE_RUNTIME_DRIVER, for DUET's runtime driver, DuetPkg should provide self's TimerLib for Duet's fake runtime driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5161 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-05 06:59:01 +00:00
klu2 af3977b1de Add DXE_RUNTIME_DRIVER type support SecPeiDxeTimeLibCpu driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5160 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-05 06:54:05 +00:00
klu2 2a254b9046 Fix typo in comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5108 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-22 05:16:14 +00:00
klu2 d16fc3dbb3 Add missing file in INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5078 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-17 07:32:48 +00:00
qwang12 c344685c0c add in a new API HiiLibGetSupportedSecondaryLanguages
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5063 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-14 06:29:03 +00:00
yshang1 c311f86b23 [Description]
Scrub MdePkg:
  - Add file description with doxygen format.
  - Add calling convention of library class in MdePkg.
  - Add function descriptions of public protocol/library class.

[Impaction]
  It should be backward-compatible.

[Ref Info]
  N/A
 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4985 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-03 04:56:34 +00:00
qwang12 c67896b19f [Description]:
1) Remove HiiLibAddFontPackageToHiiDatabase as it is not properly defined API. It only cover Simplified Font. User is recomended to use Hii Font Protocol API to add various font into HII database.

[Impaction]:
All modules that may reference HiiLibAddFontPackageToHiiDatabase function.
[Reference Info]:
No.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4855 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-15 05:03:33 +00:00
qhuang8 9e77c2c3b7 Replace "addr16" with other instructions.
Thunk16.S was merely "translated" from Thunk16.asm to ensure of the binary equivalence.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4812 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 05:57:03 +00:00
qhuang8 a05f22fa36 Short term fix to pass some GCC warning.
(It should be able to remove R8Lib.c & R8Lib.h with APIs in BaseLib & PrintLib.)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4810 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 05:47:27 +00:00
qhuang8 9521b669f8 Fix a typo to pass ICC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4789 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-04 11:29:23 +00:00
klu2 58dcdada56 Merge Temporary Ram support patch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4782 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-29 18:24:43 +00:00
lgao4 306431f76a Fix build failure by adding DebugLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4752 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-25 14:22:11 +00:00
lgao4 8069d49e9a update comments and add assert for these files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4750 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-25 07:01:44 +00:00
vanjeff 06bab62254 changed to match filename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4741 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-21 06:22:14 +00:00
vanjeff 753cb9dcbb remove duplicated one.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4738 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 08:34:21 +00:00
vanjeff ce821dff82 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4737 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-20 08:33:51 +00:00
jljusten 168f423376 MdePkg/Library/IfrSupportLib/UefiIfrForm.c:
Removed (put inside #if 0) unreferenced STATIC function
  (GetPackageDataFromPackageList)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4682 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-11 19:55:23 +00:00
qwang12 e52c5a9fdc 1) Cleanup HiiLib, IfrSupportLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4661 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-02 13:11:49 +00:00
qhuang8 634aa59d20 Fix a bug in LookupUnicodeStringTable2() to mismatch invalid language code like "enus" with "en"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4655 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01 15:06:59 +00:00
qhuang8 41c7f55141 Remove the DivU64x64Remainder.c (embedded asm version)for IA32 architecture. It cannot handle the case when divisor is less than 4G.
Make MSFT tool chain uses the ASM version, which can handle the case in an size efficient way. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4654 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01 15:05:08 +00:00
qhuang8 4df26661c7 1. Add conformance checking to ensure the input & output string are well-defined.
2. Adjust the return value of UnicodeStrToAsciiStr() & AsciiStrToUnicodeStr () to be the original destination string to follow MdeLib spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4653 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01 15:02:05 +00:00
qhuang8 8fd567c6f1 Add alignment checking for IoLib functions to conform to MdeLib spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4652 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01 14:57:29 +00:00
qhuang8 1e3ee53678 Fix the asserting error for SetJump().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4650 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01 14:54:52 +00:00
qhuang8 f9cea76b15 Fix the issues about the loop count for checksum 16,32,64. The input parameters are the buffer size according to Mde Lib spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4649 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-01 14:53:33 +00:00
qhuang8 6577541d25 Zero all the field so that caller does not need to be concerned about the reserved field.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4636 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-25 03:17:56 +00:00
qhuang8 0c0e0a041d Fix a bug in print library "%a" should not print anything if the var argument points to a null string.
The default precision for string should be set to 0 according to MdeLib spec. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4634 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-25 03:10:15 +00:00
xli24 57069be8fb Update Thunk16.S of X64 for BaseLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4620 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 02:59:28 +00:00
qhuang8 3549724b39 Add DXE_CORE to supported module type. This library instance is able to support DxeCore for non-dynamic PCDs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4618 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 02:27:08 +00:00
xli24 de0419128f Check in implementation in GNU assembly for Thunk16.S in BaseLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4614 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 08:54:44 +00:00
qhuang8 e19c2c4a5f Suppress the divide-by-zero warning for package validation of MdeModulePkg. The APIs in this library should not be invoked by real platforms.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4608 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 07:12:05 +00:00
qwang12 7d582d6b49 UEFI HII: Merge UEFI HII support changes from branch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4600 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 14:41:31 +00:00
jwang36 0ca3bcbc90 Added necessary support module type
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4593 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 09:32:58 +00:00
xli24 ab9a4f1638 Fix bugs in GNU assembly files for writing CR and DR registers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4590 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 03:34:55 +00:00
yshang1 af2bb549ad Update the PciXXXReadBuffer() for better coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4449 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-29 06:11:52 +00:00
yshang1 0c62737d38 Since PciXXXReadBuffer/PciXXXWriteBuffer does not check the alignment of user buffer, if the alignment of user buffer is different than the PCI Address on IPF, the library would generate the Alignment Fault.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4447 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-29 02:26:26 +00:00
yshang1 73e88b4a24 Fix typo of Library Class Declaration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4431 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-25 03:50:25 +00:00
lgao4 e111752c18 Fix one bug in PeiExtractGuidedSectionLib to convert the address after hob start address is changed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4398 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-18 06:15:55 +00:00
qhuang8 a3ac242bb7 Update PcdLib instances:
1. Remove the [depex] section for both PeiPcdLib and DxePcdLib
2. Remove the constructor of DxePcdLib. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4383 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-11 02:08:17 +00:00
qhuang8 f2e0239a6d Fix the constructor typo. The new type should follow PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4363 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-05 07:45:54 +00:00
qhuang8 cf1529137e Fix the constructor typo. The new type should follow PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4358 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-05 06:38:03 +00:00
mdkinney a82da388bf Fix timeout logic in AcquireSpinLock(). It could fail if the end time computed was larger than the roll over value of the performance counter. The timeout logic now accumulates the total time elapsed to determine if the timeout has been exceeded.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4345 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-30 02:33:37 +00:00
mdkinney 24a7505cef Add FUNCTION_ENTRY_POINT macro
Update DxeDebugLibSerialPort to have a module type of BASE



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4328 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-27 02:48:59 +00:00
qhuang8 8a7d75b062 Clean up: update "EFI" to "UEFI" if applicable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4317 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-22 06:00:39 +00:00
qwang12 67c89a2127 Fix up the comment for several functions and make sure the IN and OUT modifier of the function parameter is correct.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4301 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-18 16:01:09 +00:00
qhuang8 dda0251d0b Fix the wrong memory type for BSP stack hob. EfiConventionalMemoryType will be reclaimed by DxeCore.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4287 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-08 03:48:49 +00:00
yshang1 5053cf7f4c 1) Fix bugs in BaseMemoryLibOptXXX instances in MdePkg.
2) Add BaseMemoryLibOptXXX in MdePkg.dsc.
3) Clean up the MdeModulePkg.dsc.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4286 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-08 03:40:50 +00:00
jljusten a3589760c4 edk2/MdePkg/MdePkg/Library/UefiScsiLib/UefiScsiLib.c:
edk2/MdePkg/MdePkg/Library/DxeSmbusLib/InternalSmbusLib.h:
  Fixed include filenames (case) for case-sensitive filesystems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4264 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-02 00:00:44 +00:00
jljusten a21f46e4b6 MdePkg/Library/BaseLib/ChkStkGcc.c:
MdePkg/Library/BaseLib/BaseLib.inf:
  Added stub (nil) implementation of __chkstk for which calls are generated
  by newer versions of gcc.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4237 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-30 00:10:23 +00:00
jljusten bdfb126146 MdePkg/Library/BaseMemoryLibRepStr/x64/*.S:
Added assembly files for gnu toolchain.
  Uses '.intel_syntax' which requires binutils >= 2.10.
MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf:
  Include .S files for BaseMemoryLibRepStr module.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4236 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-30 00:06:27 +00:00
lgao4 9626a87e43 Add one judge whether TeImage or PeImage has reloc section when relocate TeImage or PeImage into memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4224 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-26 09:28:29 +00:00
lgao4 e2701217a1 Update ExtractGuidedSectionLib instance to cover the same handler is registered multi times, the later will override the pre setting.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4183 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-19 09:11:42 +00:00
lgao4 e6c560aad6 Make GuidedSection library instance to follow the value of GuidedSectionExtraction protocol/PPI defined in PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4165 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-18 09:12:59 +00:00
klu2 0a7d0741b6 The BaseAddress and Length should be align PAGE according to PI specification for EFI_MEMORY_ALLOCATION_HOB
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4162 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-18 06:09:03 +00:00
qwang12 bff2467aff add in include for header file to get value for MACRO THUNK_ATTRIBUTE_DISABLE_A20_MASK_KBD_CTRL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4128 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 07:10:15 +00:00
klu2 f9168a6f8f Remove library instance of PeiServicesTablePointerLibMm7
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4113 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-15 02:54:21 +00:00
lgao4 2ad4dad029 1. Update internal EfiPrint protocol to contain all print interfaces provided by PrintLib class of MdePkg. 2. Update SetupBrowserDxe driver to produce new EfiPrint protocol.
3. Update EdkDxePrintLib instance to implement all interfaces defined in PrintLib class based on new EfiPrint protocol.
4. Update Nt32Pkg platform.dsc to use EdkDxePrintLib instance for UEFI_APPLICATION modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4109 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-12 08:13:33 +00:00
lgao4 a88c89156f Fix ICC build error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4108 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-12 07:08:43 +00:00
zliu3 ab3b2e8903 Updating for pass building: Remove the "#include <ItaniumFamilyCpuPeim.h>" for this PalCallLib.c because it is moved from ItaniumFamilyCpuPkg to MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4103 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-12 02:30:20 +00:00
vprabhal ed8717c58f moved the PeiPalCallLib from ItaniumFamilyCpuPkg to MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4102 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 23:51:46 +00:00
vprabhal d331a1e391 these files have moved to cpulib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4098 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 16:26:17 +00:00
yshang1 4199d92d1c Add BasePalCallLibNull instance in MdePkg. It is useful when building IPF components in open source packages.
Use  meaningful arguments defined in PalLib.h when invoking  PalCall(). 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4094 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 11:12:28 +00:00
lgao4 66c0685953 Remove PeiDxeExtractGuidedSectionLib instance, which is replaced by PeiExtractGuidedSectionLib and DxeExtractGuidedSectionLib instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4088 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 07:19:09 +00:00
jwang36 15d10a4c78 Changed to pass the build with Visual Studio 2005
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4074 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 07:03:04 +00:00
qwang12 166152e85c 0) Change the PEI core behavior to not install FV HOB for each FV INFO PPI installed. This allows more freedom to platform developer to choose to expose which FV to PEI core or DXE core.
1) Split MdePkg/Include/Library/PiLib.h to DxePiLib.h and PeiPiLib.h. These two library classes are for DXE phase and PEI phase.
2) Update the API names in DxePiLib and PeiPiLib to be longer ones to be more meaningfull and to avoid name collisions. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4067 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 02:08:22 +00:00
klu2 dc4d9c37c4 Remove assemble file for different arch,
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4065 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 02:04:53 +00:00
jlin16 61296d0d5e Add SetPeiServicesTablePointer() interface implement in PeiServicesTablePointerLibKr7
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4060 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 08:40:11 +00:00
klu2 81c7803cf4 PI Enabling: the address of PeiServices Pointer should be
1) Set to preceding of IDT table in PeiCore's entry
2) Migrate to preceding of new memory IDT table when memory is discovery

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4059 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 08:16:53 +00:00
lgao4 d173d9c761 Correct ExtractGuidedSectionLib library instance for PEIM and DXE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4058 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 07:54:34 +00:00
zliu3 fa46e6aa3c Added the "#include <Library/PalCallLib.h>" to pass build (the tracker is #592)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4043 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-08 08:46:39 +00:00
mdkinney 631f060bb7 Add BaseMemoryLib optimized for DXE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4036 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06 23:23:49 +00:00
mdkinney 7b3b4b2992 Add BaseMemoryLib optimized for PEI
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4035 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06 23:23:13 +00:00
mdkinney 18be21dc5e Make header consistent with other files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4034 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06 22:00:36 +00:00
mdkinney 9b7c438b98 Restore original algorithm and add comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4033 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06 21:59:01 +00:00
mdkinney b3ad302e0f Return buffer in rax
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4032 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06 21:53:01 +00:00
mdkinney a326286cb1 Sync with other libs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4031 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06 21:52:22 +00:00
vprabhal 3e0ada4914 moved CpuSleep and CpuFlushTlb to the CpuLib to use PalCall in those functions, it is creating circular dependency if those functions are in BaseLib and the PalCallStatic is replaced with PalCall
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4023 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05 18:51:24 +00:00
vprabhal d56c53cbb9 removed the use of PalCallStatic and changed to PalCall
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4022 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05 18:48:48 +00:00
vprabhal 71c827cafe removed the use of PalCallStatic and changed to PalCall
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4021 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05 18:47:51 +00:00
vprabhal e0337bfab8 created a CpuLib for CpuSleep and CpuFlushTlb from BaseLib to remove circular dependency on PalCallLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4020 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05 18:47:03 +00:00
lgao4 0fa0015900 Add two ExtractGuidedSectionLib instance separately for Pei and Dxe module. Because Pei module may run in flash, they don't support to write global variable. We have to use GuidHob to store these global variables.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4009 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-30 09:01:06 +00:00
qhuang8 ac94ab631f Work around fix to bypass to register GUID on S3 resume.
DxeIpl does not shadow itself on S3 resume.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3995 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-30 01:59:02 +00:00
lgao4 8910007ad2 Remove CustomDecompressLib, which has replaced by ExtractGuidedSection library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3983 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 08:53:36 +00:00
lgao4 18fd8d651d 1. Add ExtractGuidedSectionLib library to replace customdecompress library.
2. Add PeiDxeExtractGuidedSectionLib library instance and one PCD PcdMaximumGuidedExtractHandler in MdePkg.
3. Update DxeIpl and DxeMain to consume new library.
4. Update BaseUefiTianoCustomDecompressLib to register TianoDecomress extractguidedsection handler.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3980 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 08:04:29 +00:00
lgao4 3d7b0992fc 1. Replace PeCoffLoader library by PeCoff lib for PeiCore, DxeIpl and DxeMain.
2. Add three PeCoff library instances for NT32 PeImage load.
3. Update PeCoffGetEntryPointLib to support TeImage.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3965 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 08:14:30 +00:00
xli24 ba7e162ec1 Fix a bug of ScsiWrite10Command() UefiScsiLib. After the SCSI WRITE command is executed, the output DataLength parameter should be EFI_SCSI_IO_SCSI_REQUEST_PACKET.OutTransferLength, instead of EFI_SCSI_IO_SCSI_REQUEST_PACKET.InTransferLength.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3961 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 05:59:12 +00:00
mdkinney 123489db72 Add SEC as a supported Module Type for all libraries that are also compatible with the PEI_CORE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3954 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 16:54:18 +00:00
qwang12 697f4d59cc Make the module pass CYGWIN GCC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3920 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-25 10:57:55 +00:00
klu2 b0d803fe3e Merge branch of PI tree to main trunk
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3918 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-24 11:38:43 +00:00
qhuang8 6336a895f6 Fix one minor comment issue in last check-in
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3916 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-24 07:08:18 +00:00
qhuang8 98a14db6f2 Update DevicePathLib to reflect the update of UEFI device utility protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3914 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-24 06:54:04 +00:00
mdkinney a0b4ea2aec Fix bug in backward copy for x64
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3913 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-22 16:55:58 +00:00
qhuang8 c7a54f2560 Fix invalid return status to sync with newest UEFI spec 2.1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3900 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-20 09:59:05 +00:00
qwang12 457cfbaebc Fix a bug to print correct message to ConOut and StdErr as they accept unicode string while DEBUG messages are all in Ascii
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3897 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-20 06:40:26 +00:00
yshang1 d074a8e1a2 Update Mde/MdeModulePkg to support ICC build for IA32/X64.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3892 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-19 06:15:43 +00:00
vprabhal aa7ab98849 fixed one asm routine
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3890 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-18 23:18:34 +00:00
vprabhal 700e6ffd3e fixed one asm routine
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3889 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-18 23:18:04 +00:00
qhuang8 3d6f81d7b4 Use Device Path Macros to get Device Path Type/SubType. (Some extensions might use high-bit-set device path type to specify "unpacked" device path.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3880 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-18 02:41:33 +00:00
klu2 c0ee02af6b Remove OldPeiCoreEntryPoint library instance from MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3871 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17 04:03:19 +00:00
klu2 bba9ad98f1 FixedPcd macro should *not* be used in Library's inf file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3868 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17 03:57:13 +00:00
qhuang8 f662c19489 1. Add EfiLibInstallDriverBindingComponentName2() to install DriverBinding Protocol and optional ComponentName Protocol and ComponentName2 Protocol. This new API should cover most cases in our UEFI drivers.
2. Refine the function headers for this driver model APIs

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3862 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17 03:39:25 +00:00
klu2 c6f4d4c97f Upgrade the format of EFI_PEIM_ENTRY_POINT to EFI_PEIM_ENTRY_POINT2 according to PI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3784 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-07 03:51:54 +00:00
qwang12 1c280088ec Merge the PI enabling works from the branch
First round of PI enabling work:
1) PiPeiCis changes (CONST, EFI_PEI_FILE_HANDLE.. etc)
2) Make use of FirmwareVolume 2 protocol.
3) Verified for Nt32Pkg and real platform for S3.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3772 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-04 06:11:47 +00:00
AJFISH e7fe49961a Fixed problem with sign extension in print lib. PrintXY could not print out French characters like é.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3761 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-01 15:56:49 +00:00
mdkinney 878afe6b8c Update for ICC 10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3749 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 23:01:26 +00:00
qhuang8 b3af5df67b Update all INF, DEC and DSC file to confirm to newest INF spec 0.44, DEC spec 0.41, DSC spec 0.40.
Mainly PCD syntax update.
Check in new build.exe and GenFds.exe
Check in PcdSyntaxUpdate.exe tool. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3744 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 09:11:54 +00:00
klu2 fd2537eff6 Fix the invalid return code for OemHookStatusCodeLibNull library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3737 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 03:32:27 +00:00
yshang1 623ad724e1 Add dependent packages in INF of modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3731 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-29 08:52:49 +00:00
mdkinney 580ad4a03d Handle case when PAL calls 13 or 14 may not be available.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3708 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-27 01:01:44 +00:00
qwang12 3a3645548d Use CopyGuid instead of CopyMem.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3699 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-24 02:14:58 +00:00
qwang12 07ad9b81e3 Add in BuildFv2Hob in HobLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3693 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-23 06:22:53 +00:00
mdkinney 46817e4eb2 Use <> in #include statements instead of "" for include files from packages
Use '/' instead of '\' for all file references
Remove redundant use of $(WORKSPACE) from DSC, FDF, INF, and DEC files

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3673 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-17 21:04:27 +00:00
yshang1 cdebf6c68a 1) Add type casting for argument "a" in EFI_ERROR(a), since if compare two constants without specify data type, compiler maybe could not understand what is the actual data type of constant. The default would treat it as unsigned data. therefore, if the argument a of EFI_ERROR(a) is constant, for instance the EFI_LOAD_ERROR, the EFI_ERROR(a) would always be FALSE.
2) Remove PcdDriverPcdLibNull.
3) Add more ASSERT() in BasePcdLibNull to detect the incorrect usage of Pcd Library.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3643 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-15 06:17:29 +00:00
lgao4 20bec55b4e Add debugLib for this instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3637 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-14 08:12:03 +00:00
lgao4 d35be2a434 Sync code with MdePkg spec for Scsi library class and CustomDecompress library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3636 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-14 07:58:32 +00:00
jwang36 b432a91169 Added DXE_CORE in the supported module type list
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3592 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-09 08:06:55 +00:00
mdkinney ad9e507a58 Change EfiConvertPointer() and EfiSetVirtualAddressMap() to use gRT instead of mRT because these two functions must only be called in physical mode, so there is never any need for them to use mRT that is converted to a virtual address
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3581 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-08 20:44:44 +00:00
lgao4 98a1fa1f34 Correct parameter UINTN to UINT32
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3576 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-08 15:21:11 +00:00
lgao4 d8c79a815f Update CustomDecompress library to support algorithm guid and Update DxeIpl and DxeCore to support custom decompress guid section parse.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3573 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-08 10:17:57 +00:00
jwang36 c543936ac7 Changed the class name to OldPeiCoreEntryPoint
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3570 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-08 09:50:16 +00:00
yshang1 d8b61daacc Fix bug in PciCfg to support PCI express address.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3549 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-06 03:52:01 +00:00
qhuang8 9f5fea4798 Add library dependency expressions for several library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3533 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-02 10:01:41 +00:00
jwang36 13e54995a8 Changed source file format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3524 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-02 02:22:49 +00:00
jwang36 6b4fe92ad9 1. Generated new build.exe from new tools code
2. Removed some duplicated includes in source files
3. Changed the source file format in INF files
4. Removed duplicated PCDs in MdePkg.dec


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3520 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-01 08:45:32 +00:00
qwang12 f178734977 add EFIAPI to the library functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3495 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-30 07:54:23 +00:00
yshang1 bbfaace453 Add BasePcdLibNull in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3481 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-27 06:48:03 +00:00
zliu3 10e53a287e Added the Lib Construction function for IPF lib instance
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3414 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24 07:40:09 +00:00
qhuang8 efc69967c4 Update Guid Value to avoid collision with old one
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3408 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-24 03:54:55 +00:00
yshang1 c5ecf6c197 Import BaseMemoryLibMmx.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3407 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-23 09:54:31 +00:00
vanjeff c892d84644 remove some comments introduced by tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3388 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 06:28:14 +00:00
vanjeff 37f259c935 fixed to pass IPF build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3384 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 05:14:34 +00:00
vanjeff dd0687a4b1 remove some comments introduced by tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3383 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 04:33:45 +00:00
yshang1 5088ce25ff Remove unused comments in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3368 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 09:43:43 +00:00
yshang1 581e82a1f6 Fix bugs in MdePkg for GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3345 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 03:18:32 +00:00
qwang12 9c41921b39 add in PeiServicesTablePointerLibMm7.inf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3343 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-19 02:59:30 +00:00
klu2 986352bec8 Remove _MSC_VER for this file is just built by MSFT tool chain
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3335 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 17:50:05 +00:00
AJFISH 3a9d76242b removed comments (and fix) compiler specific compile of .c files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3334 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 17:44:36 +00:00
klu2 dcab253b05 1) Add _MSC_VER judgment for usage of #pragma intrinsic
2) Change EFI_FVB_ATTRIBUTE to EFI_FVB2_ATTRIBUTE, As Zimmer, Vincent’s PI1.0 errata document said, in PI we need use EFI_FVB2_ATTRIBUTE to differ the specification change.
3) Remove duplicate definition of SERIAL_MODE, PARALLEL_MODE in Include\Framework\Legacy16.h
4) Remove EFI_FV_FILE_ATTRIB_FIXED and EFI_FV_FILE_ATTRIB_ALIGNMENT from IntelFrameworkPkg\Include\Protocol\FirmwareVolume.h, because they defined in PI specification.
5) Remove EFI_FORM_LABEL from IntelFrameworkPkg\Include\Protocol\HiiFramework.h


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3333 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 17:30:13 +00:00
jwang36 3447ef0f4f Added tool chain family modifier for source files used only for GCC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3331 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 15:19:31 +00:00
vanjeff d67ed18451 add UefiUsbLibInternal.h in .inf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3305 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-18 02:55:22 +00:00
yshang1 64db4c9552 Clean up comments in PeiServicesTablePointerLibIdt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3298 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 09:25:38 +00:00
yshang1 48924f1488 To support GCC build. Currently, it could not pass GCC build,since tool could not build .S file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3297 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 09:19:49 +00:00
yshang1 7ac47fd612 Rename PeiSmbusLibSmbus2 as PeiSmbusLibSmbus2Ppi.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3276 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 02:02:23 +00:00
klu2 0c1f1ad1e9 Comment unallowed item
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3270 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-17 01:47:53 +00:00
AJFISH dad203ecac Add Internal.h to UefiUsbLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3222 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-13 03:22:35 +00:00
AJFISH bf231ea60e Fixed comments to follow coding standard.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3221 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-13 03:21:40 +00:00
AJFISH d5b86e43cf Removed MdePkg usage of ModuleName: in file headers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3217 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-12 22:59:43 +00:00
vanjeff ed838d0c5e 1. Import UsbKbDxe and UsbMouseDxe into MdeModulePkg
2. Updated UefiUsbLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3216 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-12 17:31:28 +00:00
AJFISH 859b72fa7e Removed CommonHeader.h from MdePkg & MdeModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3180 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-10 16:13:56 +00:00
yshang1 11f43dfd8b Import IsaFloppy Dxe and Pei in IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3168 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-10 09:04:15 +00:00
qwang12 a73480f6f2 Enable Intel IPF compilation for MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3130 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 15:19:20 +00:00
qwang12 2553c3f39c add in proper include for this file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3128 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-06 14:00:46 +00:00
klu2 2e7a663de4 Enable Nt32 platform boot to DXE phase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3073 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 09:41:22 +00:00
vanjeff b6fc09bf79 add HiiLib.inf
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3067 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 07:00:36 +00:00
vanjeff bad463843c Add inf files for PeiSmbusLibSmbus2, PeiDxePostCodeLibReportStatusCode, PeiMemoryLib and DxeSmbusLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3066 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-05 06:59:50 +00:00
AJFISH ba23773287 Removed IntelframeworkPkg contamination from MdeModulePkg modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3019 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 18:34:24 +00:00
lgao4 7bc232b207 Add BaseCustomDecompressLibNull, DxeDebugLibSerialPort and UefiUsbLib library instance into MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3004 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 09:57:29 +00:00
yshang1 b67d6130b2 Update EFI_CAPSULE_HEADER definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2987 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-03 05:56:24 +00:00
yshang1 1ece02b57e Support DxeMemoryLib building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2962 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 09:58:37 +00:00
vanjeff c6aa36b6aa add internal command header reference
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2959 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 09:43:51 +00:00
jwang36 5dac2e6969 Applied tool chain family constraints for file Synchronization.c, SynchronizationMsc.c and SynchronizationGcc.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2957 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 09:37:07 +00:00
vanjeff f1baef624f 1. Port X64, IPF and EBC arch for BaseLib
2. Port X64 arch codes for BaseMemoryLibRepStr and BaseMemoryLibSee2


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2955 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-02 09:34:25 +00:00
AJFISH f734a10ab1 Removed CommonHeader.h generated file from the MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2922 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 23:22:13 +00:00
AJFISH 7f1c3191e6 Ported SerialPortLib to support base type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2919 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 20:51:40 +00:00
AJFISH 5ed00ce4ad removed [includes] section from MdePkg and MdeModulePkg .inf files. The includes sections are not needed and are redundant with [packages] section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2917 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 16:44:40 +00:00
qhuang8 dfbb4581a4 Add two gEfiComponentName2ProtocolGuid and gEfiDriverDiagnostics2ProtocolGuid in [protocols] section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2900 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 08:07:33 +00:00
yshang1 cdffda11f4 Import PeiDxePostCodeLibReportStatusCode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2891 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 06:26:23 +00:00
vanjeff 316172ba50 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2888 6f19259b-4bc3-4df7-8a09-765794883524 2007-06-29 05:37:38 +00:00
yshang1 dd51a99341 Import BaseMemoryLibMmx;
Import PeiMemoryLib;
Import BasePeCoffLib;
Import PeiSmbusLibSmbus2;
Import DxeMemoryLib;
Import HiiLib;
Update UefiLib to support multiple language codes;


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2886 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 05:29:46 +00:00
klu2 a02e796b5e 1) Modify ScsiIo protocol according to UEFI specification
2) Add UefiScsiLib library instance.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2875 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-29 03:27:28 +00:00
jwang36 32f148f8a3 1. Added depex file generation
2. Added file type filter per the toolcode/toolchain/toolchain family/etc., and fixed the BaseLib.inf
3. Added unicode file parse support but commented out temporarily because of bugs
4. Fixed the unicode file format in Nt32Pkg/MiscSubClassPlatformDxe
5. Removed duplicated [Ppis.common] in MdePkg.dec
6. Added declaration of gEfiPeiMemoryDiscoveredPpiGuid in Nt32Pkg.dec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2858 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-28 15:08:08 +00:00
qwang12 d071fb194d Add in BasePeCoff library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2847 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-28 13:30:16 +00:00
AJFISH e9d407abb0 Fixed IPF and X64 like IA-32 for compiler intrinsics
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2817 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 23:11:18 +00:00
AJFISH 479b520d55 Updated to support compiler intrinsics properly. I had to comment out some of the features as they are not currently supported by the build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2816 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 23:02:16 +00:00
AJFISH 842f5579c7 Updated headers to follow coding standard
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2815 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 22:53:31 +00:00
yshang1 21998b6778 Add exit boot service event registry.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2801 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 09:00:15 +00:00
klu2 89f1008730 Add missing files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2800 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 08:55:31 +00:00
klu2 8a017eaf33 Convert msa to inf for UefiRuntimeLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2799 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 08:53:58 +00:00
yshang1 be28ea150e Import UefiRuntimeLib in MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2788 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 07:23:15 +00:00
yshang1 ebcc8fb7ba Import the UefiRuntimeLib in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2787 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 07:22:18 +00:00
klu2 66f0059f35 1) Porting the original WinNtStuff Peim to new Nt32Pkg
2) Adding PeiHobLib to MdePkg 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2765 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-27 03:41:18 +00:00
vanjeff 8693ca5d75 Fixed build issues for DxeCoreHobLib and BaseUefiDecompressLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2752 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-26 09:09:28 +00:00
yshang1 e811b22f06 Add UefiDriverModel.c for Installation of driver model protocols .
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2725 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 16:34:13 +00:00
yshang1 c7d265a94a Checked in part of MDE library instances following PI and UEFI. It includes:
1) UefiLib adds features of RFC 3066/Iso639 language string and driver model protocols installation.

2) PeiCoreEntryPoint following PI.

3) UefiDriverEntryPoint following UEFI/EFI.

4) PeiServicesTablePointerLib following PI for IPF and x86.

5) Remove many CommonHeader.h. If there is only one C file in module, we should add the common headers in C file instead of creating a new CommonHeader.h.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2723 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 16:22:26 +00:00
vanjeff 43fcd99927 Cleanup MdePkg.dsc, UefiLib.inf and UefiLib.msa
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2717 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 09:14:23 +00:00
vanjeff 738ec56559 Import DxeCoreHobLib, DxeHobLib, PeimEntryPoint and PeiServicesLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2714 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 07:42:13 +00:00
vanjeff e386b444c8 Import some Pei and Dxe related instances for MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2712 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 06:57:39 +00:00
vanjeff e1f414b6a7 Import some basic libraries instances for Mde Packages.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2704 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-22 03:21:45 +00:00
lhauch 586cd1f1f4 Moved the MdePkg to OldMdePkg so that new code in MdePkg does not break existing builds. Also updated the SPD and FPD files UiNames
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2616 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-01 14:49:55 +00:00
qhuang8 c75bbd0e5b Update the Guid Value of Ext SCSI Pass Thru Protocol
Minor update the ASSERT() statement in Switch Stack.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2609 6f19259b-4bc3-4df7-8a09-765794883524
2007-05-31 09:24:58 +00:00
qouyang ceffbc1900 Fixd EDKII r2594 build broken issue - MdePkg build failed with ICC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2596 6f19259b-4bc3-4df7-8a09-765794883524
2007-05-15 06:27:11 +00:00
qouyang c392941764 Fixd EDKII r2594 build broken issue - MdePkg build failed with ICC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2595 6f19259b-4bc3-4df7-8a09-765794883524
2007-05-15 04:44:59 +00:00
gtian 63afc36022 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2593 6f19259b-4bc3-4df7-8a09-765794883524 2007-05-14 06:47:11 +00:00
gtian 4d68c21db3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2592 6f19259b-4bc3-4df7-8a09-765794883524 2007-05-14 06:45:05 +00:00
gtian ff756e606b git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2591 6f19259b-4bc3-4df7-8a09-765794883524 2007-05-14 06:44:39 +00:00
gtian 1ab9159e6a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2590 6f19259b-4bc3-4df7-8a09-765794883524 2007-05-14 06:37:46 +00:00
gtian 8e38ef0a9c git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2589 6f19259b-4bc3-4df7-8a09-765794883524 2007-05-14 06:36:58 +00:00
qhuang8 28dec501f4 Fix an issue that some image tool will generate PE32+ image with PE32 magic. We now determine magic based on machine type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2547 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-09 01:42:09 +00:00
qwang12 abb234751e 1) Initialize gBS, gST, gImageHandle in UefiBootServicesTableLib.c to NULL
2) Add DxeCore infix to the module local variable gBS, gST, gRT, gDS in DxeMain.c. This is to solve the name conflict with UefiBootServicesTableLib which is defined in MDE Library Spec. 
3) Add in check for gBS and gST in UefiDebugLibConOut/DebugLib.c and UefiDebugLibStdErr/DebugLib.c and MdePkg/Library/DxeReportStatusCodeLib/ReportStatusCodeLib.c. If they are not initialized, the API will just return with a error message.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2546 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-06 06:36:47 +00:00
yshang1 55bfb04e78 Fixed issue for ICC, since ICC does not allow to cast data with volatile qualifier.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2532 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04 06:22:45 +00:00
yshang1 1b256c950c Update the MSA for ICC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2528 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04 02:46:32 +00:00
yshang1 a4e9aab95a Updated MSA file for EBC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2526 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-03 07:13:38 +00:00
yshang1 ef7baf58d0 Add the ReadWriteBarrier in the Acquire/ReleaseSpin to block the unexpected optimization of compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2524 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-03 06:25:25 +00:00
qhuang8 eb9603a0b7 Add comments on the definition of SPIN_LOCK_RELEASED & SPIN_LOCK_ACQUIRED
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2522 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-02 08:15:58 +00:00
qhuang8 46dd23b81e 1.Define SPIN_LOCK as "volatile UINTN" to prevent mutli-processor access harzard.
2.Sync MTFTP4 Protocol GUID with spec.
3.Sync the definition the EFI_IP4_VARIABLE_DATA and EFI_TCP4_VARIABLE_DATA with spec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2514 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-29 07:45:24 +00:00
vanjeff 0f6b6f755b 1. Removed #ifndef to enable Capsule architecture protocol on IPF.
2. Added ASSERT (FLASE) in SwitchStack ().
3. Removed unreached branch from UefiNotTiano.c.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2510 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-28 03:28:13 +00:00
qhuang8 1f74094161 Correct some wrong usage types
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2509 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-27 09:20:55 +00:00
vanjeff c0b162a2c0 1. Removed definition for EFI_1_1 from module ConSplitter
2. Removed old Intel Framework specification extension for Media Firmware file path from Uefi/UefiSpec.h and UefiLib/UefiNotTiano.c
3. Added EFI revision check in UefiLib/UefiNotTiano.c and removed one EFI_SPECIFICATION_VERSION wrapper in Uefi/UefiSpec.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2505 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-26 07:00:30 +00:00
vanjeff cb41bea732 1. Removed AsmSwitchStackAndBackingStore from BaseLib.h
2. Modified SwitchStack definition update to MWG 0.60e.
3. Added BaseLib/Ipf/InternalSwitchStack.c and removed BaseLib/Ipf/Non-existing.c
4. Updated any references of AsmSwitchStackAndBackingStore to SwichStack on IPF.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2499 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-22 03:03:32 +00:00
vanjeff e5f461a850 1. Remove #ifdef _MSC_EXTENSION_ from all source files
2. Remove #ifdef _GCC_ from all resource files
3. Remove #if 0 from all resource files
4. Remove #ifdef MDE_CPU_IPF and #ifdef MDE_CPU_EBC
5. Remove #progam from Decode.c
6. Remove #ifdef TIANO_EXTENSION_FLAG from source files
7. Remove #ifdef SUPPORT_IPV6, since code base doesn't support IPV6 at all.
8. Remove #ifdef SpecialNowaitVersion from pxe_bc_mtftp.c, since it's only used for test.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2470 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-15 02:33:16 +00:00
qwang12 42721684d5 Update the comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2432 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-09 01:12:51 +00:00
qhuang8 c6345a1321 1. Change the protocol usage type in UefiDriverModelLib
2. Remove a redundant Guid entry in spd

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2419 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-05 07:28:22 +00:00
qwang12 22d9199fe5 Added Print, ErrorPrint, AsciiPrint, AsciiErrorPrint() to the UEFI Library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2392 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14 06:35:30 +00:00
qhuang8 2c6fae9e7d Clean up MSA for MDE Libs:
1. Remove unreferenced Guid of gEfiStatusCodeDataTypeAssertGuid in PeiReportStatusCodeLib & DxeReportStatusCodeLib.msa
2. Remove dependency of BaseLib for SmmEntryPointerLib & PeiServicesTablePointerLibKr1
3. Add accurate arch support for SecPeiDxeTimerLibCpu & correct PcdFSBClock to "DYNAMIC"
4. Add dependency of gEfiDevicePathProtocolGuid for DevicePathLibDevicePathProtocol
5. Remove dependency of BaseLib & UefiRuntimeServicesTablePointerLib for UefiDriverEntryPointLib


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2389 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 12:18:12 +00:00
qhuang8 d670549c79 Remove the wrong dependency on PeimEntryPointLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2388 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:32:15 +00:00
qhuang8 0d49d8f681 1. Add two interfaces in PeCoffGetEntryPointLib.h
2. Fix the description of EfiTestChildHandle & EfiTestManagedDevice
3. Clean up BasePciLbPciCf8 & BasePciLibPciExpress to remove the dependency on DebugLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2387 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:12:05 +00:00
qhuang8 647db8fd60 Drop the support of DXE_RUNTIME_DRIVER since all combo MDE libraries are removed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2385 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:07:47 +00:00
qhuang8 890adc7a25 PcdLib is only referenced by IPF arch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2384 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:05:08 +00:00
qhuang8 2e5d68b74a BaseLib is only used by IA32, X64 & IPF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2383 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:04:24 +00:00
qhuang8 7f0bd7967e Clean up MSA files
Remove unreferenced PCDs & library instances.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2382 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 11:01:18 +00:00
qwang12 6a352324b9 Update all String related functions in BaseLib for this change introduced in Mde Library Spec 0.60e:
"Updated all functions that take pointers to Unicode strings as parameters to ASSERT() if the pointer is not aligned in a 16-bit boundary."

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2375 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 01:47:44 +00:00
xli24 15f83a8852 Update MDE and EdkModule packages for ICC build with /W4 /WX /Ox switches, for some latest modifications break it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2366 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 08:12:05 +00:00
qwang12 d958721a06 1) Added BIT0, BIT1, …, BIT63 to the Base Defines
2) Added MIN() and MAX() macros to the Base Macros
3) Added StrStr(), StrDecimalToUnitn(), StrDecimalToUint64(), StrHexToUintn(), StrHexToUintn64(), UnicodeToAscii(), AsciiStrStr(), AsciiStrDecimalToUnitn(), AsciiStrDecimalToUint64(), AsciiStrHexToUintn(), AsciiStrHexToUintn64(), and AsciiToUnicode() to the Base Library String Functions
4) Added the Base Library Checksum Functions which include CalculateSum8(), CaclculateCheckSum8(), CalculateSum16(), CalculateChecksum16(), CalculateSum32(), CalculateCheckSum32(), CalculateSum64(), CalculateChecksum64().

5) Added MMIO Buffer functions to the I/O Library including MmioReadBuffer8(), MmioReadBuffer16(), MmioReadBuffer32(), MmioReadBuffer64(), MmioWriteBuffer8(), MmioWriteBuffer16(), MmioWriteBuffer32(), MmioWriteBuffer64().

6) Changed the parameter name from SizeOfValue to SizeOfBuffer in PcdSetPtr(), PcdSetPtrEx(), PatchPcdSetPtr(), LibPcdSetPtr(), LibPcdSetPtrEx(), LibPatchPcdSetPtr()

7) Added RADIX_HEX flag to the Print Library to support the conversion of values to hexadecimal strings in UnicodeValueToString() and AsciiValueToString() 

8) Added EfiGetCurrentTpl() UEFI Library.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2363 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 02:53:23 +00:00
vanjeff ff242d4066 updated the comment according to latest version of MWG.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2354 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-06 07:36:38 +00:00
qhuang8 c77f986979 1.Drop the support of UEFI_APPLICATION for UefiDriverLib
2.Change the module type of BaseUefiDecompressLib to BASE
3.Remove the IoLib dependency for PeiReportStatusCodeLib & DxeReportStatusCodeLib
4.Change the module type of UefiApplicationEntryPointLib to UEFI_APPLICATION
5.Change the module type of EdkDxeRuntimeSalLib to DXE_RUNTIMe
6.Change HelloWorld application to depend on UefiApplicationEntryPointLib and modify the EdkModule.fpd, Nt32.fpd & Unix.fpd accordingly 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2352 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-05 05:54:16 +00:00
vanjeff 4faa50287e 1. removed BaseTimerLibLocalApic from MdePkg and Nt32TimerLib from EdkNt32Pkg.
2. added BaseTimerlibNullTemplate in MdePkg and SecPeiDxeTimerLibCpu in MdePkg. 
3. modified the related spd and fpd files

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2347 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-02 05:36:42 +00:00
qhuang8 f8d88c1ffc Fix a typo in last check in.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2336 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-30 09:30:33 +00:00
qhuang8 f5c9674858 Add supported module type & arch filter for all libraries in MdePkg to filter out illegal library instances.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2335 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-30 09:11:43 +00:00
xli24 617de480bc Make MDE and EdkModule packages avoid all Intel IPF compiler warnings except waning 1419.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2326 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 06:54:08 +00:00
vanjeff 41da0f33d9 removed SupModuleList firstly
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2319 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26 02:44:59 +00:00
xli24 582510249f Make MDE package pass intel IPF compiler with /W4 /WX switched on.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2312 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 06:05:36 +00:00
lgao4 1a8a2ed39a BaseMemoryLibSse2 library doesn't support IPF and EBC. I remove these archs for this module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2307 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 02:45:41 +00:00
jwang36 92a154063a Added DXE_RUNTIME_DRIVER in the SupModuleList since DxeStatusCode in EdkModulePkg needs this library otherwise it will break the build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2298 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 14:40:22 +00:00
vanjeff 4cb9d58c9b add <SupModuleList> in <LibraryClass> item for TimerLib. Inform build tool this timer instance cannot support DXE_SMM_DRIVER drivers, DXE_RUNTIME_DRIVER and DXE_SAL_DRIVER drivers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2293 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 08:04:04 +00:00
yshang1 6c2c7b7460 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2287 6f19259b-4bc3-4df7-8a09-765794883524 2007-01-23 10:10:13 +00:00
yshang1 8c8a13bf5c Updated the function comments in UefiDriverEntryLib to fix EDKT502.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2284 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23 09:36:01 +00:00
qhuang8 ca21f1a216 Add two useful functions in UefiLib for the implementation of Component Name, Driver Config, and Driver Diag protocols.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2267 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-18 11:15:26 +00:00
vanjeff 92bb9cf637 supmodulelist not supported by now, i remove it firstly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2261 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-17 09:53:31 +00:00
lgao4 497ef745f0 Fix PeLoad function can't handle invalid PeImage to skip correct debug entry.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2253 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-16 06:30:16 +00:00
lgao4 582c7220f8 Correct TeImage Header based on PeiCis spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2250 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-15 11:24:23 +00:00
lgao4 5b66424456 Correct TeImage file format and Clean up PeiRebase tool to remove unused code and only relocate image.
Move two EFI_DEP_REPLACE_TRUE and DEPEX_STACK_SIZE_INCREMENT macros from MdePkg to EdkModule/DxeMain module, because these two macros are specific implementation, not defined in spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2249 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-15 11:13:40 +00:00
lgao4 f92b6f195c Correctly skip debug entry.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2232 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 04:54:20 +00:00
bbahnsen fd73932fec Mark some .c files as MSFT only.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2213 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10 23:46:32 +00:00
bxing a9a812a0ed 1. Added comments to ASM files
2. Fixed a bug in 64-bit AsmDisablePaging64(), which may cause a #GP exception.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2206 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10 06:57:04 +00:00
bbahnsen 526f8a8a3b The header file applies to all architectures.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2202 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-09 23:14:27 +00:00
qwang12 b244c7dc74 Add in UefiApplicationEntryPoint library class and library instance.
The major difference between UefiApplicationEntryPoint and UefiDriverEntryPoint is that:
1) UEFI application will always be unloaded no matter what is the return status code from the application. Therefore, the library destructors should be called always.
2) UEFI application should not register any callback to evevnt such as EFI_EVENT_GROUP_VIRTUAL_ADDRESS_CHANGE and EFI_EVENT_GROUP_EXIT_BOOT_SERVICES.
3) UEFI application does not support module merger like Uefi Driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2199 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-09 08:17:21 +00:00
tgingold a2b1bf96b3 Use ASM_PFX to optionnaly set the underscore prefix
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2179 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-06 14:52:39 +00:00
bxing becca880dc Fixed tracker EDKT395
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2154 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-29 09:06:29 +00:00
vanjeff f3825a180a add <SupModuleList> in <LibraryClass> item for TimerLib. Inform build tool this timer instance cannot support SMM drivers and RUNTIME drivers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2146 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-28 06:13:22 +00:00
qhuang8 13c8460447 Refix the previous issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2143 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-28 03:51:44 +00:00
qhuang8 f2df6a00a2 Fix a typo in UefiLib. The parameter type of Registration should be "VOID **" instead of "VOID *".
No binary code is impacted.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2142 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-28 03:35:37 +00:00
mdkinney 1a8bde03fc Update DxeSmmDriverEntryPoint library to only support IA32 and X64 CPU archs
Update MdePkg.fpd to only build the DxeSmmDriverEntryPoint library for the IA32 and X64 CPU archs


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2120 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-20 03:11:57 +00:00
mdkinney 513b53b139 Update BaseDebugLibNull to not touch any global variables or PCD settings
Update BasePeCoffLib to include work around for Itanium ELILO images that do not follow the PE/COFF spec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2083 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-12 05:26:13 +00:00
klu2 b96ad3ace8 The EFI_IMAGE_REL_BASED_DIR64 type has been in switch for all common relocation type, So last check-in is duplicated code. Remove it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2076 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-08 05:09:33 +00:00
klu2 265c22cc33 Handle new relocation type EFI_IMAGE_REL_BASED_DIR64 for X64.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2075 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-08 03:43:57 +00:00
mdkinney 756e4264d3 Move registration and processing of ExitBootServices() events into UefiDriverEntryPoint/DriverEntryPoint.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2056 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06 05:13:52 +00:00
mdkinney addf9aa46c Fix IPF alignment issue when building a Report Status Code message
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2011 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-25 02:07:07 +00:00
xli24 9710b9a67c Add volatile to modify LockValue in ReleaseSpinLock().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2008 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-24 02:27:09 +00:00
yshang1 733f4094ee To Fix PVCS 429.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2007 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-23 09:05:19 +00:00
xli24 2d57c546e0 Add volatile to modify LockValue in AcquireLockOrFail().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2006 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-23 09:01:43 +00:00
bbahnsen 02ad42aed8 Port a couple of files to gnu assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2001 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-23 00:22:20 +00:00
mdkinney 9e95f418cc Add PeiServiceTablePointerLib that uses KR1 to save/restore the PEI Services Table Pointer
This library is only valid for Ipf

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1993 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 00:41:04 +00:00
mdkinney 9cbd688b1e Add 64-bit I/O port functions that ASSERT()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1992 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 00:39:03 +00:00
mdkinney ea8433c9cf Remove DXE Core Entry Point Library Class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1991 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 00:37:34 +00:00
mdkinney 924c490ad3 Remove Peim Entry Point Library Class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1990 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-22 00:36:59 +00:00
vanjeff 83b3efca13 fix one bug on Timer Frequency return.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1983 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-20 06:26:55 +00:00
mdkinney 2043cd261c Remove duplicate <Extern> for the lib constructor and destructor
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1979 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-18 23:13:54 +00:00
bbahnsen dfd52cc1c6 Add Thunk16.S -- needs to be ported from masm.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1971 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17 16:54:19 +00:00
bbahnsen a1ef15526b Add gnu x86 assembly sources.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1970 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17 16:48:52 +00:00
bbahnsen 32804425d7 Add an underscore for gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1969 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17 16:43:12 +00:00
bbahnsen e29e52e7c0 Initial port to x86_64 gnu assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1959 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-16 01:11:41 +00:00
bxing 38b5365e39 Enabled 4G+ memory in thunk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1957 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-15 09:31:03 +00:00
gtian 3673b8bf33 Add IPF support in Base IO Lib, and related change in fpd file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1952 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 09:34:30 +00:00
vanjeff 6d864b7a91 Rename PcdPlatformBusSpeed to PcdFSBClock and update help text.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1943 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 05:43:15 +00:00
vanjeff 885dc4d85a rename PcdGenericPlatformBusSpeed to PcdFSBClock to avoid confusing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1940 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 09:27:49 +00:00
vanjeff 8569244ed1 1. Rename PcdPlatformBusSpeed to PcdGenericPlatformBusSpeed
2. Added PcdComponentNameDisable and PcdDriverDiagnosticsDisable for UefiDriverModuleLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1936 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 07:11:58 +00:00
xli24 c9708dddc1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1931 6f19259b-4bc3-4df7-8a09-765794883524 2006-11-13 03:40:52 +00:00
vanjeff 0401b900ad added help text for PcdPlatformBusSpeed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1928 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-10 06:07:39 +00:00
vanjeff b219108e51 added PcdPlatformBusSpeed for BaseTimerLibLocalApic, thus this timer instance needn't depend on types of CPUs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1909 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-07 08:43:22 +00:00
xli24 38af355c85 Ia32/DivS64x64Remainder.c is not tool-chain specific, it supports both gcc and msft, so the ToolChainFamily="MSFT" description is incorrect.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1904 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 08:13:19 +00:00
xli24 29b89ff0c0 According to MDE Library specification, BaseIoLibIntrinsic Module only supports IA32 and X64, but the MSA description says it supports IA32, X64, IPF, and EBC. Now IPF and EBC have been removed from description.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1892 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03 03:35:22 +00:00
cwu11 511710d68f 1. Add the fix for the following Bugs:
i)	BMM_FAKE_NV_DATA definition inconsistent in bm.vfr and BootMain.h
        (EdkNt32Pkg\Dxe\PlatformBdsDxe\Generic\BootMaint\BootMain.h)
ii)	Change some files’ EOL(end of line) format to DOS. Some file use even mixed style EOL.
   (EdkModulePkg\Universal\DevicePath\Dxe\DevicePath.c, DevicepathFromText.c, DevicePathUtilities.c;
EdkModulePkg\Universal\Disk\DiskIo\Dxe\diskIo.c; MdePkg\Library\UefiLib\UefiNotTiano.c)
iii)    Change some illegal characters in many files, the problem is mainly connected with people using Chinese Input method to input symbols such as ' " - ?, etc. Multiple files are influenced.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1890 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03 02:47:43 +00:00
mikewuping d4f397c031 1. In event.c, a function's name is not spelled correctly, a typo.
2. In Graphics.c, Memory Leak in Graphics Library, ConvertBmpToUgaBlt().
3. In HobLib.c, PeiBuildHobModule and three other functions do not zero hob reserved data area according to HOB spec v0.9.
4. In statuscode.h, the number of definition of EFI_SW_PEIM_PC_CAPSULE_START is equal to EFI_SW_PEIM_PC_CAPSULE_LOAD.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1861 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30 07:47:44 +00:00
qhuang8 4bacc21072 Remove the library instance of BaseReportStatusCodeLibNull
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1823 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 04:38:50 +00:00
ajfish c993d0dac4 Did not check in new files correctly the first time!
Updated FPD files that include Runtime driver as a new lib was added to Runtime Driver for the cache flush. Removed Cache Flush routine from EDK DXE SAL Lib.
Cleaned up BaseLib IPF cache routines to only Flush ranges when needed and not to flush the entire cache. 

Removed the need for processor specific code in the Runtime driver by using MDE Cache Lib. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1822 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 03:58:50 +00:00