mirror_edk2.git
11 years agoCorrect the svn repository link
klu2 [Mon, 31 May 2010 13:17:51 +0000 (13:17 +0000)]
Correct the svn repository link

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10557 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd DMA Lib for generic ARM cache coherency model.
andrewfish [Sat, 29 May 2010 00:34:43 +0000 (00:34 +0000)]
Add DMA Lib for generic ARM cache coherency model.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10556 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoClean up OMAP DMA lib and split into generic DMA lib based on PCI_IO DMA abstractions...
andrewfish [Sat, 29 May 2010 00:21:30 +0000 (00:21 +0000)]
Clean up OMAP DMA lib and split into generic DMA lib based on PCI_IO DMA abstractions and  make OMAP DMA lib about channel programming only.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10555 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoNullDmaLib:DmaMap() function needs to return valid DeviceAddress.
andrewfish [Fri, 28 May 2010 22:50:59 +0000 (22:50 +0000)]
NullDmaLib:DmaMap() function needs to return valid DeviceAddress.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10554 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMake the [BuildOption] match the others for GCC.
andrewfish [Fri, 28 May 2010 22:39:53 +0000 (22:39 +0000)]
Make the [BuildOption] match the others for GCC.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10553 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoSet the default compilers arch flags for these packages
andrewfish [Fri, 28 May 2010 22:37:55 +0000 (22:37 +0000)]
Set the default compilers arch flags for these packages

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10552 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd a DMA lib that works like PCI_IO protocl. Add a NULL version that would work...
andrewfish [Fri, 28 May 2010 12:44:36 +0000 (12:44 +0000)]
Add a DMA lib that works like PCI_IO protocl. Add a NULL version that would work with Intel (DMA is coherent no matter what you do).

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10551 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoIf SCSI version support Read/Write (16) command, use both commands to access disk...
li-elvin [Fri, 28 May 2010 06:58:59 +0000 (06:58 +0000)]
If SCSI version support Read/Write (16) command, use both commands to access disk especially for above 2TB.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10550 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd Read/Write (16) command to SCSI library.
li-elvin [Fri, 28 May 2010 06:57:15 +0000 (06:57 +0000)]
Add Read/Write (16) command to SCSI library.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10549 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoremove unnecessary EFI64_SHADOW_ALL_LEGACY_ROM in GenericBdsLib.
niruiyu [Fri, 28 May 2010 01:59:30 +0000 (01:59 +0000)]
remove unnecessary EFI64_SHADOW_ALL_LEGACY_ROM in GenericBdsLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10548 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix line ending issue. Update DMA Map primatives to double buffer if buffer does...
andrewfish [Fri, 28 May 2010 00:31:53 +0000 (00:31 +0000)]
Fix line ending issue. Update DMA Map primatives to double buffer if buffer does not start on cache line boundary. If buffer is not a multiple of a cache line only whole cache lines will be allowed in the buffer. This is part of the MAP API.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10547 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd a little more code for SD Card DMA, but make sure it is turned off until it...
andrewfish [Fri, 28 May 2010 00:29:31 +0000 (00:29 +0000)]
Add a little more code  for SD Card DMA, but make sure it is turned off until it is debugged.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10546 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoRemove references to a package that does not exist.
andrewfish [Thu, 27 May 2010 23:12:27 +0000 (23:12 +0000)]
Remove references to a package that does not exist.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10545 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd three HiiLib APIs: HiiCreateTextOpCode, HiiCreateDateOpCode and HiiCreateTimeOpCode
lgao4 [Thu, 27 May 2010 02:54:25 +0000 (02:54 +0000)]
Add three HiiLib APIs: HiiCreateTextOpCode, HiiCreateDateOpCode and HiiCreateTimeOpCode

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10544 6f19259b-4bc3-4df7-8a09-765794883524

11 years agosynchronize interget type definition from MdePkg's processbinding.h to make build...
klu2 [Wed, 26 May 2010 05:29:33 +0000 (05:29 +0000)]
synchronize interget type definition from MdePkg's processbinding.h to make build pass under GCC44 tool chain

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10543 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoLibrary interface should be declared as EFIAPI
klu2 [Tue, 25 May 2010 06:26:28 +0000 (06:26 +0000)]
Library interface should be declared as EFIAPI

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10542 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoStatus code handler callback should be declared as EFIAPI
klu2 [Tue, 25 May 2010 06:17:51 +0000 (06:17 +0000)]
Status code handler callback should be declared as EFIAPI

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10541 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUse the ASSERT() for parameter checking as the 4th parameter of internal worker funct...
lgao4 [Mon, 24 May 2010 02:45:17 +0000 (02:45 +0000)]
Use the ASSERT() for parameter checking as the 4th parameter of internal worker function of MakeTable() must be <= 16.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10540 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd the missing PalLib NULL instance.
lgao4 [Mon, 24 May 2010 01:35:52 +0000 (01:35 +0000)]
Add the missing PalLib NULL instance.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10539 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd the missing PalLib NULL instance.
lgao4 [Sun, 23 May 2010 09:42:29 +0000 (09:42 +0000)]
Add the missing PalLib NULL instance.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10538 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFixed the issue of that IP4driver can’t correctly reassemble the Out of Sequence...
qianouyang [Fri, 21 May 2010 09:39:26 +0000 (09:39 +0000)]
Fixed the issue of that IP4driver can’t correctly reassemble the Out of Sequence Fragments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10537 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFor BdsDxe module,
xli24 [Fri, 21 May 2010 07:40:24 +0000 (07:40 +0000)]
For BdsDxe module,
1. Fix the risk that local variable is pointed by global pointer, which may be used outside the variable scope.
2. Add more checking for pointers.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10536 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:52 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10535 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:45 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10534 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:42 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10533 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:38 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10532 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:33 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10531 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:29 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10530 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:26 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10529 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:25 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10528 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoClean up package/platform DSC files by the following steps:
lgao4 [Fri, 21 May 2010 02:49:16 +0000 (02:49 +0000)]
Clean up package/platform DSC files by the following steps:
  1. Remove PCDs those use the default values/types from the DEC file.
  2. Remove the unused library instances.
  3. Group common library instances in common [LibraryClasses] section as the default library instance for all modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10527 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMdeModulePkg AcpiTableDxe: Fix GCC build warning
jljusten [Thu, 20 May 2010 21:12:27 +0000 (21:12 +0000)]
MdeModulePkg AcpiTableDxe: Fix GCC build warning

Initialize MaxSize variable to prevent GCC warning.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10526 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMdePkg BaseLib: Fix GCC build break
jljusten [Thu, 20 May 2010 21:12:18 +0000 (21:12 +0000)]
MdePkg BaseLib: Fix GCC build break

Only use X86MemoryFence.c for INTEL and MSFT.  MemoryFence is defined
in GccInline.c for GCC.

This change is the same as r10522, but for X64.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10525 6f19259b-4bc3-4df7-8a09-765794883524

11 years agofix a bug that FindVariable() may set GoneThrough flag wrongly when a >64K variable...
erictian [Thu, 20 May 2010 09:12:12 +0000 (09:12 +0000)]
fix a bug that FindVariable() may set GoneThrough flag wrongly when a >64K variable exists.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10524 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoWaiting for redeye so I added some memory map comments to ArmEb.h. Also fixed assembl...
andrewfish [Thu, 20 May 2010 05:36:46 +0000 (05:36 +0000)]
Waiting for redeye so I added some memory map comments to ArmEb.h. Also fixed assembly syntax issue with GCC.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10523 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix GCC build break as MemoryFence() API has already been included in GccInline.c...
qhuang8 [Thu, 20 May 2010 05:30:55 +0000 (05:30 +0000)]
Fix GCC build break as MemoryFence() API has already been included in GccInline.c in BaseLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10522 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix some typos
qhuang8 [Thu, 20 May 2010 05:23:50 +0000 (05:23 +0000)]
Fix some typos

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10521 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoRefine function comment to follow doxygen format.
klu2 [Thu, 20 May 2010 03:29:26 +0000 (03:29 +0000)]
Refine function comment to follow doxygen format.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10520 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoTemporarily remove build-in __sync_val_compare_and_swap() in the implementation of...
qhuang8 [Wed, 19 May 2010 06:06:40 +0000 (06:06 +0000)]
Temporarily remove build-in __sync_val_compare_and_swap() in the implementation of sync functions.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10519 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix VS2003 build error
jyao1 [Wed, 19 May 2010 06:02:17 +0000 (06:02 +0000)]
Fix VS2003 build error

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10518 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix GCC build issue
andrewfish [Wed, 19 May 2010 04:49:40 +0000 (04:49 +0000)]
Fix GCC build issue

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10517 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMove TscTimerLib library to correct CPU ARCH as it depends on BaseLib API AsmReadTsc...
qhuang8 [Wed, 19 May 2010 03:33:07 +0000 (03:33 +0000)]
Move TscTimerLib library to correct CPU ARCH as it depends on BaseLib API AsmReadTsc(), which is only available for Ia32 & x64 CPU.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10516 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoRemove unicode code in source code.
qhuang8 [Wed, 19 May 2010 03:30:22 +0000 (03:30 +0000)]
Remove unicode code in source code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10515 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate QueryCapsuleCapabilities interface.
li-elvin [Wed, 19 May 2010 02:31:41 +0000 (02:31 +0000)]
Update QueryCapsuleCapabilities interface.
1. Check all capsules to decide reset type instead of only checking the first capsule.
2. One purpose of MaxiumCapsuleSize is to ensure platform memory size is enough to handle capsule with reset type in PEI. Max capsule size should be returned for with/without reset flag cases.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10514 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoadd security check.
vanjeff [Wed, 19 May 2010 01:49:34 +0000 (01:49 +0000)]
add security check.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10513 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix GCC error
andrewfish [Wed, 19 May 2010 01:47:25 +0000 (01:47 +0000)]
Fix GCC error

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10512 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFixup to point to real RAM and NOR addressess.
andrewfish [Wed, 19 May 2010 01:44:13 +0000 (01:44 +0000)]
Fixup to point to real RAM and NOR addressess.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10511 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix GCC buid issue.
andrewfish [Tue, 18 May 2010 21:32:49 +0000 (21:32 +0000)]
Fix GCC buid issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10510 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdded stub RTC lib, turned on option of building debug agent (GDB STUB) into SEC...
andrewfish [Tue, 18 May 2010 21:04:30 +0000 (21:04 +0000)]
Added stub RTC lib, turned on option of building debug agent (GDB STUB) into SEC. Added the platform library template needed to break into GDB stub with ctrl-c. Cleaned up PCDs for selecting serial ports for Console or GDB usage. Filled in GDB Serial Port lib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10509 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix newline at end of file issue.
andrewfish [Tue, 18 May 2010 21:01:12 +0000 (21:01 +0000)]
Fix newline at end of file issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10508 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix grammer in comment
andrewfish [Tue, 18 May 2010 20:31:03 +0000 (20:31 +0000)]
Fix grammer in comment

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10507 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate copyright format
hhtian [Tue, 18 May 2010 11:40:39 +0000 (11:40 +0000)]
Update copyright format

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10506 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate copyright format
hhtian [Tue, 18 May 2010 11:39:46 +0000 (11:39 +0000)]
Update copyright format

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10505 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoSetting svn:executable property on applications that do not have it set at this time
lgao4 [Tue, 18 May 2010 09:39:47 +0000 (09:39 +0000)]
Setting svn:executable property on applications that do not have it set at this time

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10504 6f19259b-4bc3-4df7-8a09-765794883524

11 years ago1. Restore the inline C implementation of GCC assembly files that was temporarily...
qhuang8 [Tue, 18 May 2010 05:37:58 +0000 (05:37 +0000)]
1. Restore the inline C implementation of GCC assembly files that was temporarily removed in Svn r10045.
2. Remove 139 GCC assembly files whose functionality have been covered in the inline C implementation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10503 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoSync EDKII BaseTools to BaseTools project r1971
lgao4 [Tue, 18 May 2010 05:04:32 +0000 (05:04 +0000)]
Sync EDKII BaseTools to BaseTools project r1971

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10502 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMdeModulePkg:
jyao1 [Tue, 18 May 2010 02:26:49 +0000 (02:26 +0000)]
MdeModulePkg:
Add ACPI SDT support. Introduce PcdInstallAcpiSdtProtocol, default FALSE.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10501 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMdePkg:
jyao1 [Tue, 18 May 2010 02:25:50 +0000 (02:25 +0000)]
MdePkg:
Fix ACPI SDT protocol definition issue. (ECR approved, not in public spec now.)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10500 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoChange TPM_BASE to 0 per TPM spec.
rsun3 [Tue, 18 May 2010 02:22:51 +0000 (02:22 +0000)]
Change TPM_BASE to 0 per TPM spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10499 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix OS X build issues. Wrong slash direction in include path and unused variable...
andrewfish [Tue, 18 May 2010 01:35:15 +0000 (01:35 +0000)]
Fix OS X build issues. Wrong slash direction in include path and unused variable warnning.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10498 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoGet TimerDxe driver compiling.
andrewfish [Tue, 18 May 2010 01:19:01 +0000 (01:19 +0000)]
Get TimerDxe driver compiling.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10497 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoRemove obsolete DebugSupport Driver
andrewfish [Tue, 18 May 2010 01:17:03 +0000 (01:17 +0000)]
Remove obsolete DebugSupport Driver

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10496 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoRemove DebugSupport driver for ARM and DebugSupportProtocol. In edk2 you can link...
andrewfish [Tue, 18 May 2010 00:54:24 +0000 (00:54 +0000)]
Remove DebugSupport driver for ARM and DebugSupportProtocol. In edk2 you can link debugger into DXE core directly so you don't need a debug support. Also we are going to FIQ for debugger ctrl-c break in, so no need to hook the timer infrastructure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10495 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoPorted TimerDxe driver to edk2.
andrewfish [Tue, 18 May 2010 00:49:23 +0000 (00:49 +0000)]
Ported TimerDxe driver to edk2.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10494 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoA better template, with some build scripts, for ArmEbPkg. New libraries are just...
andrewfish [Mon, 17 May 2010 18:28:48 +0000 (18:28 +0000)]
A better template, with some build scripts, for ArmEbPkg. New libraries are just stubs and need to get filled in. Also debugger scripts are just copies of the BeagleBoard scripts and need to be ported. Compiles with all build 3 build scripts. Cygwin RVCT via build.sh, DOS RVCT via b.bat, and DOS box CodeSourcery GCC via ba.bat.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10493 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoSmall code refinement in MdeModulePkg.
rsun3 [Mon, 17 May 2010 08:32:05 +0000 (08:32 +0000)]
Small code refinement in MdeModulePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10492 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix DxeCore Dispatch Issue that DXE drivers may not be dispatched if they depend...
lgao4 [Fri, 14 May 2010 08:27:28 +0000 (08:27 +0000)]
Fix DxeCore Dispatch Issue that DXE drivers may not be dispatched  if they depend on the protocols produced by SMM driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10491 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix a typo in comment
klu2 [Fri, 14 May 2010 07:51:29 +0000 (07:51 +0000)]
Fix a typo in comment

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10490 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix 3 K8 issues for PXE module
hhuan13 [Fri, 14 May 2010 07:47:29 +0000 (07:47 +0000)]
Fix 3 K8 issues for PXE module

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10489 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix minor format issue in file header
qhuang8 [Thu, 13 May 2010 01:10:56 +0000 (01:10 +0000)]
Fix minor format issue in file header

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10488 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix minor format issue in file header
qhuang8 [Thu, 13 May 2010 01:09:47 +0000 (01:09 +0000)]
Fix minor format issue in file header

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10487 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix minor format issue in file header
qhuang8 [Thu, 13 May 2010 01:08:37 +0000 (01:08 +0000)]
Fix minor format issue in file header

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10486 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix minor format issue in file header
qhuang8 [Thu, 13 May 2010 01:04:21 +0000 (01:04 +0000)]
Fix minor format issue in file header

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10485 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix minor format issue in file header
qhuang8 [Thu, 13 May 2010 01:03:32 +0000 (01:03 +0000)]
Fix minor format issue in file header

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10484 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix for UNIXGCC build
jchen20 [Wed, 12 May 2010 03:12:57 +0000 (03:12 +0000)]
Fix for UNIXGCC build

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10483 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoSetting svn:executable property on applications that do not have it set at this time
lhauch [Tue, 11 May 2010 23:15:27 +0000 (23:15 +0000)]
Setting svn:executable property on applications that do not have it set at this time

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10482 6f19259b-4bc3-4df7-8a09-765794883524

11 years ago1) Fix IPF ICC 11.1 issue when /Ox is used related to the use of local variables...
mdkinney [Tue, 11 May 2010 22:11:31 +0000 (22:11 +0000)]
1) Fix IPF ICC 11.1 issue when /Ox is used related to the use of local variables and parameter across the transition when TEMP RAM is disabled.
2) Update the logic that computes the offset of the heap and stack from TEMP RAM to Permanent RAM to handle all possible offsets values.
3) Minor cleanups to the PEI_CORE_INSTANCE structure
4) Simplify the logic that manages the TEMP RAM to PERM RAM transition and clean up the related DEBUG() messages.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10481 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd fix for the hardcoded Max ACPI table number. With this fix, the number of ACPI...
jchen20 [Tue, 11 May 2010 08:46:12 +0000 (08:46 +0000)]
Add fix for the hardcoded Max ACPI table number. With this fix, the number of ACPI table has no limitations by dynamical allocation

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10480 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdded a PCD to turn on/off probing Block IO devices to detect add/remove/change....
andrewfish [Tue, 11 May 2010 00:09:48 +0000 (00:09 +0000)]
Added a PCD to turn on/off probing Block IO devices to detect add/remove/change. FAT driver does not do this so if the shell does not do this you will get dir hits on an SD Card that has been removed. Default is ON. I moved this feature from device command to main command loop so it gets done after you type return before your command is processed.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10479 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd PCD setting for Timer, default is 10 times a second. You need the timer to detect...
andrewfish [Tue, 11 May 2010 00:06:47 +0000 (00:06 +0000)]
Add PCD setting for Timer, default is 10 times a second. You need the timer to detect a media change event. Also coded up DMA, but have not debugged it yet and it is not turned on.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10478 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMinor comment update.
xdu2 [Mon, 10 May 2010 02:49:38 +0000 (02:49 +0000)]
Minor comment update.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10477 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix bug in AsmCpuVirtual() to return 1 instead of 0 when CPU is in virtual mode.
xdu2 [Mon, 10 May 2010 02:49:26 +0000 (02:49 +0000)]
Fix bug in AsmCpuVirtual() to return 1 instead of 0 when CPU is in virtual mode.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10476 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix bug in AsmCpuVirtual() to return 1 instead of 0 when CPU is in virtual mode.
xdu2 [Mon, 10 May 2010 02:48:44 +0000 (02:48 +0000)]
Fix bug in AsmCpuVirtual() to return 1 instead of 0 when CPU is in virtual mode.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10475 6f19259b-4bc3-4df7-8a09-765794883524

11 years ago1. Use the max string size to compare password string.
lgao4 [Mon, 10 May 2010 02:17:31 +0000 (02:17 +0000)]
1. Use the max string size to compare password string.
2. Check whether the local variable is valid as the array index.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10473 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUse the ASSERT() for parameter checking as the 4th paramter of internal worker functi...
qhuang8 [Mon, 10 May 2010 00:57:06 +0000 (00:57 +0000)]
Use the ASSERT() for parameter checking as the 4th paramter of internal worker function of MakeTable() must be <= 16.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10472 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix gcc warning.
andrewfish [Sat, 8 May 2010 19:48:46 +0000 (19:48 +0000)]
Fix gcc warning.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10471 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd in OmapDmaLib instance.
andrewfish [Sat, 8 May 2010 19:42:38 +0000 (19:42 +0000)]
Add in OmapDmaLib instance.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10470 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoAdd a DMA lib for the OMAP. It is a combination of PCI IO (generic ARM) DMA functions...
andrewfish [Sat, 8 May 2010 19:32:03 +0000 (19:32 +0000)]
Add a DMA lib for the OMAP. It is a combination of PCI IO (generic ARM) DMA functions and OMAP specific DMA config routines. Update PCI emulation driver to use the new library. Started converting MMCHS (SD Card) driver over to using DMA, still a work in progress. Need to verify the 22 parameters required to setup a DMA transfer.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10469 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoRemoved connect/disconnect in device command and replace with simple BlockIo readbloc...
andrewfish [Sat, 8 May 2010 19:26:45 +0000 (19:26 +0000)]
Removed connect/disconnect in device command and replace with simple BlockIo readblocks to probe for media change. This relies on ReinstallProtocolInterface() calls in the BlockIo drivers to make the filesystems reload.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10468 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix ICC 11.1 build break
mdkinney [Fri, 7 May 2010 23:25:20 +0000 (23:25 +0000)]
Fix ICC 11.1 build break

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10467 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix ICC 11.1 build break
mdkinney [Fri, 7 May 2010 22:47:32 +0000 (22:47 +0000)]
Fix ICC 11.1 build break

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10466 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix ICC 11.1 build error
mdkinney [Fri, 7 May 2010 22:46:54 +0000 (22:46 +0000)]
Fix ICC 11.1 build error

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10465 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate UHCI and ECHI drivers to both Stop and Reset the host controller at ExitBootSe...
mdkinney [Fri, 7 May 2010 22:46:14 +0000 (22:46 +0000)]
Update UHCI and ECHI drivers to both Stop and Reset the host controller at ExitBootServices().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10464 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix bug in PciHostBridgeEnumerator().
mdkinney [Fri, 7 May 2010 22:44:54 +0000 (22:44 +0000)]
Fix bug in PciHostBridgeEnumerator().

A linked list is created for the list of PCI Root Bridges in the platform.  This list is then traversed to enumerate each PCI Root Bridge.  After enumeration, the RootBridgeDev is destroyed, but it was not removed from the linked list before it was destroyed.  This left the linked list of PCI Root Bridges in a bad state, specially if memory is cleared on frees, or the freed buffer was reallocated.

The fix is to remove the node from the linked list before the RootBridgeDev is destroyed.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10463 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoFix svn check in bug that broke CWD. Update the connect disconnect support in device...
andrewfish [Fri, 7 May 2010 16:45:48 +0000 (16:45 +0000)]
Fix svn check in bug that broke CWD. Update the connect disconnect support in device command to minimize operations.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10462 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUpdate binaries to integrate a fix to support hot plug during FAT driver binding...
qhuang8 [Fri, 7 May 2010 03:33:43 +0000 (03:33 +0000)]
Update binaries to integrate a fix to support hot plug during FAT driver binding start (Fat svn r55)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10461 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoraise TPL to TPL_CALLBACK level at DriverBindingStart() for all usb-related modules...
erictian [Wed, 5 May 2010 05:21:38 +0000 (05:21 +0000)]
raise TPL to TPL_CALLBACK level at DriverBindingStart() for all usb-related modules, which prevent DriverBindingStop() from being invoked when DriverBindingStart() runs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10460 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMove SecExtractGuidedSectionLib instance from OvmfPkg to MdePkg
lgao4 [Wed, 5 May 2010 02:06:23 +0000 (02:06 +0000)]
Move SecExtractGuidedSectionLib instance from OvmfPkg to MdePkg

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10459 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoMove SecExtractGuidedSectionLib instance from OvmfPkg to MdePkg
lgao4 [Wed, 5 May 2010 02:06:21 +0000 (02:06 +0000)]
Move SecExtractGuidedSectionLib instance from OvmfPkg to MdePkg

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10458 6f19259b-4bc3-4df7-8a09-765794883524

11 years agoUse new API GetSectionFromAnyFvByFileType() of MdePkg DxeServicesLib library to...
lgao4 [Wed, 5 May 2010 01:58:36 +0000 (01:58 +0000)]
Use  new API GetSectionFromAnyFvByFileType() of MdePkg DxeServicesLib library to get PE data of SMM_CORE driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10457 6f19259b-4bc3-4df7-8a09-765794883524