]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 years agoAdd new API GetSectionFromAnyFvByFileType() into MdePkg DxeServicesLib.
lgao4 [Wed, 5 May 2010 01:56:41 +0000 (01:56 +0000)]
Add new API GetSectionFromAnyFvByFileType() into MdePkg DxeServicesLib.

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

13 years agoProgram SD Cards into 4-bit mode (support for this is required in the spec). This...
andrewfish [Tue, 4 May 2010 16:34:38 +0000 (16:34 +0000)]
Program SD Cards into 4-bit mode (support for this is required in the spec). This gives a 20+% performance increase in load time of an 8MB image.

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

13 years agoRemove probe for removable media from FileLib, it was getting called way too much...
andrewfish [Tue, 4 May 2010 16:29:32 +0000 (16:29 +0000)]
Remove probe for removable media from FileLib, it was getting called way too much. Now it is in the EBL shell device command. Cleanup some spacing issues in the lib code.

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

13 years agoAdd ReadyToBoot signal to BDS.
andrewfish [Fri, 30 Apr 2010 23:07:56 +0000 (23:07 +0000)]
Add ReadyToBoot signal to BDS.

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

13 years agoAdding more DMA #defines to backup all the typing.
andrewfish [Fri, 30 Apr 2010 21:01:35 +0000 (21:01 +0000)]
Adding more DMA #defines to backup all the typing.

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

13 years agoAdd a .h file for Omap3530 DMA engine. So far just register addresses
andrewfish [Fri, 30 Apr 2010 20:14:14 +0000 (20:14 +0000)]
Add a .h file for Omap3530 DMA engine. So far just register addresses

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

13 years agoUpdated MMC/SD Card driver to support hot add and remove of the media (SD Cards)...
andrewfish [Fri, 30 Apr 2010 19:43:11 +0000 (19:43 +0000)]
Updated MMC/SD Card driver to support hot add and remove of the media (SD Cards) and enable write protect of SD Cards. Had to update pads for WP bit as it was not being programmed as a GPIO. I also changed some of the PAD #defins as there were only really 3 states, so OR things in the table in the .c file did not make a lot of sense.

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

13 years agoUpdate FileLib to use pointer to BlockIo->Media and not a cached copy also add some...
andrewfish [Fri, 30 Apr 2010 19:40:17 +0000 (19:40 +0000)]
Update FileLib to use pointer to BlockIo->Media and not a cached copy also add some code in the library init that allows removable media devices to be probed to see if a media change has happened.

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

13 years agoUpdate the copyright notice format
hhtian [Thu, 29 Apr 2010 15:17:20 +0000 (15:17 +0000)]
Update the copyright notice format

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

13 years agoUpdate the copyright notice format
hhtian [Thu, 29 Apr 2010 12:46:45 +0000 (12:46 +0000)]
Update the copyright notice format

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

13 years agoUpdate the copyright notice format
hhtian [Thu, 29 Apr 2010 12:40:51 +0000 (12:40 +0000)]
Update the copyright notice format

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

13 years agoUpdate the copyright notice format
hhtian [Thu, 29 Apr 2010 12:24:22 +0000 (12:24 +0000)]
Update the copyright notice format

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

13 years agoUpdate the copyright notice format
hhtian [Thu, 29 Apr 2010 12:15:47 +0000 (12:15 +0000)]
Update the copyright notice format

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

13 years agoUpdate the copyright notice format
hhtian [Thu, 29 Apr 2010 11:32:42 +0000 (11:32 +0000)]
Update the copyright notice format

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

13 years agoForcing functions with variable argument lists to use the same calling convention...
geekboy15a [Thu, 29 Apr 2010 01:07:07 +0000 (01:07 +0000)]
Forcing functions with variable argument lists to use the same calling convention (EFIAPI).  This solves issues when using compilers where the default calling convention is not EFIAPI.

This fixes boot issues when using GCC 4.4 in X64 modules.

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

13 years agoForcing functions with variable argument lists to use the same calling convention...
geekboy15a [Thu, 29 Apr 2010 01:05:44 +0000 (01:05 +0000)]
Forcing functions with variable argument lists to use the same calling convention (EFIAPI).  This solves issues when using compilers where the default calling convention is not EFIAPI.

This fixes boot issues when using GCC 4.4 in X64 modules.

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

13 years agoMade use of GCC built-in functions for variable arguments in procedures dependent...
geekboy15a [Thu, 29 Apr 2010 01:01:44 +0000 (01:01 +0000)]
Made use of GCC built-in functions for variable arguments in procedures dependent on NO_BUILTIN_VA_FUNCS.  This is because they do not function correctly in GCC 4.4 when using ms_abi in X64 images.  This does not change functionality for other projects.

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

13 years agoUpdate the copyright notice format
hhtian [Wed, 28 Apr 2010 12:43:04 +0000 (12:43 +0000)]
Update the copyright notice format

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

13 years agoUpdate the copyright notice format
hhtian [Wed, 28 Apr 2010 12:39:50 +0000 (12:39 +0000)]
Update the copyright notice format

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

13 years agoUpdate the copyright notice format
hhtian [Wed, 28 Apr 2010 12:31:45 +0000 (12:31 +0000)]
Update the copyright notice format

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