13 years agoClean up using FIQ as ctrl-c checker so you can break in from the debugger.
andrewfish [Wed, 21 Apr 2010 22:08:28 +0000 (22:08 +0000)]
Clean up using FIQ as ctrl-c checker so you can break in from the debugger.

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

13 years agoCleanup name issues with PCD entries.
andrewfish [Wed, 21 Apr 2010 22:06:00 +0000 (22:06 +0000)]
Cleanup name issues with PCD entries.

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

13 years agoAdd some ldm/vldm optimized CopyMem routines. Add performance macros to BDS
andrewfish [Wed, 21 Apr 2010 22:04:35 +0000 (22:04 +0000)]
Add some ldm/vldm optimized CopyMem routines. Add performance macros to BDS

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

13 years agoChange to a NEON compatible CPU Arch (ARMv7 is NEON optional) and add performance...
andrewfish [Wed, 21 Apr 2010 17:48:09 +0000 (17:48 +0000)]
Change to a NEON compatible CPU Arch (ARMv7 is NEON optional) and add performance lib stuff to measure boot time. Also add an example performace lib dumper as an example EBL command.

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

13 years agoEnable NEON (SIMD instructions) via coprocessor register so CopyMem/SetMem can use...
andrewfish [Wed, 21 Apr 2010 17:40:27 +0000 (17:40 +0000)]
Enable NEON (SIMD instructions) via coprocessor register so CopyMem/SetMem can use VLDM and friends if you want.

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

13 years agoFix a bug that FV->ReadSection cannot get the EFI_SECTION_GUID_DEFINED type section...
niruiyu [Wed, 21 Apr 2010 02:41:15 +0000 (02:41 +0000)]
Fix a bug that FV->ReadSection cannot get the EFI_SECTION_GUID_DEFINED type section data.

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

13 years agoFix a bug that FV->ReadSection cannot get the EFI_SECTION_GUID_DEFINED type section...
niruiyu [Wed, 21 Apr 2010 02:40:36 +0000 (02:40 +0000)]
Fix a bug that FV->ReadSection cannot get the EFI_SECTION_GUID_DEFINED type section data.

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

13 years agoAdd an IO Lib instance based on CPU IO2 Protocol.
rsun3 [Wed, 21 Apr 2010 02:06:55 +0000 (02:06 +0000)]
Add an IO Lib instance based on CPU IO2 Protocol.

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

13 years agoUse SimpleTextInEx.Reset to initialize correctly KeyToggleStatue and KeyShiftState...
erictian [Mon, 19 Apr 2010 05:34:25 +0000 (05:34 +0000)]
Use SimpleTextInEx.Reset to initialize correctly KeyToggleStatue and KeyShiftState value.

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

13 years agoUse SimpleTextInEx.Reset to initialize correctly KeyToggleStatue and KeyShiftState...
erictian [Mon, 19 Apr 2010 05:32:57 +0000 (05:32 +0000)]
Use SimpleTextInEx.Reset to initialize correctly KeyToggleStatue and KeyShiftState value.

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

13 years agoFixed GCC 4.4 build issues due to EFIAPI not being used when required.
geekboy15a [Fri, 16 Apr 2010 23:36:53 +0000 (23:36 +0000)]
Fixed GCC 4.4 build issues due to EFIAPI not being used when required.

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

13 years agoFixed GCC 4.4 build issues due to EFIAPI not being used when required.
geekboy15a [Fri, 16 Apr 2010 23:24:45 +0000 (23:24 +0000)]
Fixed GCC 4.4 build issues due to EFIAPI not being used when required.

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

13 years agoFixed GCC 4.4 build issue. All protocols and public interfaces must specify EFIAPI...
geekboy15a [Fri, 16 Apr 2010 22:40:15 +0000 (22:40 +0000)]
Fixed GCC 4.4 build issue.  All protocols and public interfaces must specify EFIAPI to enforce the expected calling convention.

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

13 years agoFixed GCC 4.4 build issue due to incorrect prefix. Now using ASM_PFX to correctly...
geekboy15a [Fri, 16 Apr 2010 22:37:03 +0000 (22:37 +0000)]
Fixed GCC 4.4 build issue due to incorrect prefix.  Now using ASM_PFX to correctly set the prefix.

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

13 years agoFixed GCC 4.4 build issue. Also fixed issue where upper 32-bits may be lost during...
geekboy15a [Fri, 16 Apr 2010 22:34:22 +0000 (22:34 +0000)]
Fixed GCC 4.4 build issue.  Also fixed issue where upper 32-bits may be lost during AND operation.

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

13 years agoFix format of Copyright notice to conform to legal requirements.
darylm503 [Thu, 15 Apr 2010 21:43:01 +0000 (21:43 +0000)]
Fix format of Copyright notice to conform to legal requirements.

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

13 years agoChecked in some things from my working copy that break the build. Remove the unneeded...
andrewfish [Wed, 14 Apr 2010 22:08:16 +0000 (22:08 +0000)]
Checked in some things from my working copy that break the build. Remove the unneeded things so the build works.

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

13 years agoAdd a PE/COFF extra action lib that DEBUG prints the debugger command to load symbols...
andrewfish [Wed, 14 Apr 2010 21:52:26 +0000 (21:52 +0000)]
Add a PE/COFF extra action lib that DEBUG prints the debugger command to load symbols. Turn off DXE Core DEBUG print on load and use this new library in its place.

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

13 years agoDebugAgentTimerLib cleanup
andrewfish [Wed, 14 Apr 2010 18:05:19 +0000 (18:05 +0000)]
DebugAgentTimerLib cleanup

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

13 years agoFix minor coding style issue.
qhuang8 [Wed, 14 Apr 2010 07:06:43 +0000 (07:06 +0000)]
Fix minor coding style issue.

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

13 years agoFix stray info in checkin
andrewfish [Tue, 13 Apr 2010 22:46:21 +0000 (22:46 +0000)]
Fix stray info in checkin

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

13 years agoMake sure FIQ debugger stuff can work.
andrewfish [Tue, 13 Apr 2010 22:30:42 +0000 (22:30 +0000)]
Make sure FIQ debugger stuff can work.

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

13 years agoTry out performance infrastructure
andrewfish [Tue, 13 Apr 2010 22:28:43 +0000 (22:28 +0000)]
Try out performance infrastructure

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

13 years agoAdd supported for performance libraries.
andrewfish [Tue, 13 Apr 2010 22:28:14 +0000 (22:28 +0000)]
Add supported for performance libraries.

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

13 years agoCleanup MMU code to do book required sync. Update exception handler to clear fault...
andrewfish [Tue, 13 Apr 2010 19:27:03 +0000 (19:27 +0000)]
Cleanup MMU code to do book required sync. Update exception handler to clear fault registers.

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

13 years agoFix Beagle references without using svn mv.
andrewfish [Tue, 13 Apr 2010 18:31:27 +0000 (18:31 +0000)]
Fix Beagle references without using svn mv.

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

13 years agoPartial checkin to fix Beagle references
andrewfish [Tue, 13 Apr 2010 18:25:49 +0000 (18:25 +0000)]
Partial checkin to fix Beagle references

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

13 years agoPartial checkin fixing Beagle references
andrewfish [Tue, 13 Apr 2010 18:25:15 +0000 (18:25 +0000)]
Partial checkin fixing Beagle references

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

13 years agoCleaning up thing Beagle in Omap35xx. Partial checkin as I'm getting errors out of...
andrewfish [Tue, 13 Apr 2010 18:23:42 +0000 (18:23 +0000)]
Cleaning up thing Beagle in Omap35xx. Partial checkin as I'm getting errors out of svn for doing a svn mv.

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

13 years agoFix build break. Was fixing Beagle names in Omap35xx package and missed a few.
andrewfish [Tue, 13 Apr 2010 17:39:52 +0000 (17:39 +0000)]
Fix build break. Was fixing Beagle names in Omap35xx package and missed a few.

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

13 years agoFix ICC build failure.
niruiyu [Mon, 12 Apr 2010 09:23:50 +0000 (09:23 +0000)]
Fix ICC build failure.

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

13 years agoRefine the file/function comments to follow doxygen format
klu2 [Mon, 12 Apr 2010 04:38:44 +0000 (04:38 +0000)]
Refine the file/function comments to follow doxygen format

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

13 years agoCorrect data conversion from pointer to integer.
lgao4 [Mon, 12 Apr 2010 02:49:28 +0000 (02:49 +0000)]
Correct data conversion from pointer to integer.

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

13 years agoAdd the blank line at the end of file to pass ICC compiler.
lgao4 [Mon, 12 Apr 2010 02:12:28 +0000 (02:12 +0000)]
Add the blank line at the end of file to pass ICC compiler.

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

13 years agoAdd the missing MemoryTest driver to let memory above 4G be discovered in Shell memmap.
niruiyu [Mon, 12 Apr 2010 01:19:04 +0000 (01:19 +0000)]
Add the missing MemoryTest driver to let memory above 4G be discovered in Shell memmap.

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

13 years ago1. Add the missing function headers.
lgao4 [Fri, 9 Apr 2010 09:15:50 +0000 (09:15 +0000)]
1. Add the missing function headers.
2.  Update local variable name to match coding style.

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

13 years agoUpdate DevicePath.h to add the UART_FLOW_CONTROL_HARDWARE and UART_FLOW_CONTROL_XON_XOFF.
niruiyu [Fri, 9 Apr 2010 08:42:07 +0000 (08:42 +0000)]

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

13 years agoUnixSerialIo driver was changed to produce the flow control device path node when...
niruiyu [Fri, 9 Apr 2010 08:39:53 +0000 (08:39 +0000)]
UnixSerialIo driver was changed to produce the flow control device path node when the remaining device path contains such node. And it will return unsupported when receiving a remaining device path only contains UART node and it’s already produced the flow control node.

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

13 years agoNt32SerialIo driver was changed to produce the flow control device path node when...
niruiyu [Fri, 9 Apr 2010 08:38:23 +0000 (08:38 +0000)]
Nt32SerialIo driver was changed to produce the flow control device path node when the remaining device path contains such node. And it will return unsupported when receiving a remaining device path only contains UART node and it’s already produced the flow control node.

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

13 years ago1. IsaSerialIo driver was changed to produce the flow control device path node when...
niruiyu [Fri, 9 Apr 2010 08:35:44 +0000 (08:35 +0000)]
1. IsaSerialIo driver was changed to produce the flow control device path node when the remaining device path contains such node. And it will return unsupported when receiving a remaining device path only contains UART node and it’s already produced the flow control node.
2. BMM driver was enhanced to take care of the optional flow control node.

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

13 years ago1.Fixed the bug when retrieved component name by child handle. It should used gEfiCo...
vanjeff [Fri, 9 Apr 2010 06:04:30 +0000 (06:04 +0000)]
1.Fixed the bug when retrieved component name by child handle.  It should used gEfiConsoleInDeviceGuid, gEfiConsoleOutDeviceGuid instead of gEfiSimpleTextInProtocolGuid and gEfiSimpleTextOutProtocolGuid.
2.Fixed one bug when creating Console Standard error handle.

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

13 years agoRemove old module which no one consume it.
klu2 [Fri, 9 Apr 2010 02:08:56 +0000 (02:08 +0000)]
Remove old module which no one consume it.

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

13 years agoCleanup Cache an MMU operations.
andrewfish [Wed, 7 Apr 2010 18:13:58 +0000 (18:13 +0000)]
Cleanup Cache an MMU operations.

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

13 years agoFix the issue that GCC treat enum type as unsigned int which incompatible with UEFI...
klu2 [Wed, 7 Apr 2010 02:33:16 +0000 (02:33 +0000)]
Fix the issue that GCC treat enum type as unsigned int which incompatible with UEFI spec's INT32.

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

13 years agoUpdate the modules with the different module GUID to avoid the different modules...
lgao4 [Tue, 6 Apr 2010 02:56:49 +0000 (02:56 +0000)]
Update the modules with the different module GUID to avoid the different modules with the same module GUID.

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

13 years agoUpdate the modules with the different module GUID to avoid the different modules...
lgao4 [Tue, 6 Apr 2010 02:56:47 +0000 (02:56 +0000)]
Update the modules with the different module GUID to avoid the different modules with the same module GUID.

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

13 years agoUpdate the modules with the different module GUID to avoid the different modules...
lgao4 [Tue, 6 Apr 2010 02:56:17 +0000 (02:56 +0000)]
Update the modules with the different module GUID to avoid the different modules with the same module GUID.

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

13 years agoUpdate the modules with the different module GUID to avoid the different modules...
lgao4 [Tue, 6 Apr 2010 02:56:09 +0000 (02:56 +0000)]
Update the modules with the different module GUID to avoid the different modules with the same module GUID.

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

13 years agoUpdate the modules with the different module GUID to avoid the different modules...
lgao4 [Tue, 6 Apr 2010 02:54:39 +0000 (02:54 +0000)]
Update the modules with the different module GUID to avoid the different modules with the same module GUID.

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

13 years agoRemove the duplicated SmmLibNull, which has been moved into MdePkg.
lgao4 [Tue, 6 Apr 2010 02:51:03 +0000 (02:51 +0000)]
Remove the duplicated SmmLibNull, which has been moved into MdePkg.

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

13 years agoAdd the missing CpuLib library instance into EdkCompatibilityPkg.dsc
lgao4 [Tue, 6 Apr 2010 02:37:53 +0000 (02:37 +0000)]
Add the missing CpuLib library instance into EdkCompatibilityPkg.dsc

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

13 years agoMdeModulePkg: Fix warning with VS2005 toolchain on IA32
jljusten [Mon, 5 Apr 2010 03:43:36 +0000 (03:43 +0000)]
MdeModulePkg: Fix warning with VS2005 toolchain on IA32

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

13 years agoAvoid DEBUG_CLEAR_MEMORY clearing MemoryMap internal structure.
jgong5 [Sat, 3 Apr 2010 05:34:16 +0000 (05:34 +0000)]
Avoid DEBUG_CLEAR_MEMORY clearing MemoryMap internal structure.
In CoreFreePages(), the following sequence might break the MemoryMap internal structure:
CoreConvertPages() -> CoreFreeMemoryMapStack() -> AllocateMemoryMapEntry() -> CoreAllocatePoolPages() -> DEBUG_CLEAR_MEMORY()

CoreConvertPages() will call CoreFreeMemoryMapStack() after it adds the freed memory range, so the latter might use the just freed memory range when calling AllocateMemoryMapEntry(). But CoreFreePages() will call DEBUG_CLEAR_MEMORY() after CoreConvertPages(). This might clear up the memory map entry structure.

The fix calls DEBUG_CLEAR_MEMORY() just after freed memory range is added in CoreConvertPages(), which is safe.

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

13 years agoAdd the beginning of a GDB based Debug Agent. IA-32 and X64 don't have low level...
andrewfish [Sat, 3 Apr 2010 00:41:42 +0000 (00:41 +0000)]
Add the beginning of a GDB based Debug Agent. IA-32 and X64 don't have low level interrupt code yet. I've been testing on ARM.

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

13 years agoAdd Current working directory support to the library
andrewfish [Sat, 3 Apr 2010 00:38:35 +0000 (00:38 +0000)]
Add Current working directory support to the library

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

13 years agoAdded DebugAgentTimerLib. Cleaned up .h files and other code.
andrewfish [Sat, 3 Apr 2010 00:34:19 +0000 (00:34 +0000)]
Added DebugAgentTimerLib. Cleaned up .h files and other code.

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

13 years agoCorrect PCD Pcd8259LegacyModeMask and Pcd8259LegacyModeEdgeLevel definition in PcAtC...
lgao4 [Fri, 2 Apr 2010 05:22:40 +0000 (05:22 +0000)]
Correct PCD Pcd8259LegacyModeMask and Pcd8259LegacyModeEdgeLevel  definition in PcAtChipsetPkg.

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

13 years agoAdd function comments and refine function parameter IN OUT.
jgong5 [Fri, 2 Apr 2010 02:53:41 +0000 (02:53 +0000)]
Add function comments and refine function parameter IN OUT.

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

13 years agoUse on-demand paging for CpuSaveStates read/write. It was measured about 200us for...
jgong5 [Fri, 2 Apr 2010 01:39:19 +0000 (01:39 +0000)]
Use on-demand paging for CpuSaveStates read/write. It was measured about 200us for either read or write the PI CpuSaveStates to framework, ~400us in total on a platform with 80 CPUs with original for loop implementation. So with on-demand paging, if the framework SMI handler doesn’t read/write CpuSaveStates, ~400us will be saved. If the handler happens to use CpuSaveStates, there will be about 20us overhead for either read or write a page which contains 5 continuous CpuSaveStates.

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

13 years agoEnhance SNP to be compatible with UNDI driver which doesn’t report correct network...
xdu2 [Thu, 1 Apr 2010 07:44:36 +0000 (07:44 +0000)]
Enhance SNP to be compatible with UNDI driver which doesn’t report correct network cable status in Initialize(), i.e. force MediaPresent in Snp Mode to be TRUE in case UNDI driver report no media but actually we have already received packet from network interface.

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

13 years agoRemove the unnecessary top level header files in protocol header file.
lgao4 [Thu, 1 Apr 2010 02:29:35 +0000 (02:29 +0000)]
Remove the unnecessary top level header files in protocol header file.

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

13 years agoRemove the duplicated UefiRuntimeLib in EdkCompatibilityPkg.dsc
lgao4 [Thu, 1 Apr 2010 02:28:48 +0000 (02:28 +0000)]
Remove the duplicated UefiRuntimeLib in EdkCompatibilityPkg.dsc

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

13 years agoFix ICC build failures
mdkinney [Wed, 31 Mar 2010 19:20:14 +0000 (19:20 +0000)]
Fix ICC build failures

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

13 years agoFix INF file header format
qhuang8 [Wed, 31 Mar 2010 16:32:04 +0000 (16:32 +0000)]
Fix INF file header format

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

13 years agoUpdate to clean up some obsolete info
qhuang8 [Wed, 31 Mar 2010 16:25:38 +0000 (16:25 +0000)]
Update to clean up some obsolete info

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

13 years agoRemove RELEASE tag from DuetPkg DSC, because DuetPkg post build script only support...
lgao4 [Mon, 29 Mar 2010 09:49:53 +0000 (09:49 +0000)]
Remove RELEASE tag from DuetPkg DSC, because DuetPkg post build script only support DEBUG tag.

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

13 years agofixed IP fragment issue which caused the MTU used by IP is less than the one IP expos...
qianouyang [Sun, 28 Mar 2010 09:49:47 +0000 (09:49 +0000)]
fixed IP fragment issue which caused the MTU used by IP is less than the one IP exposed to upper layers.

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

13 years ago1. Remove the duplicated contents from source files and INF file of PiSmmStatusCodeOn...
lgao4 [Sat, 27 Mar 2010 05:21:43 +0000 (05:21 +0000)]
1. Remove the duplicated contents from source files and INF file of PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk module.
2. Add PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk module into EdkCompatibilityPkg.dsc to verify its build on package level.

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

13 years agoremove PxeBc->Stop () when EFI_BUFFER_TOO_SMALL, the calling PxeBc->Stop() in Driver...
vanjeff [Sat, 27 Mar 2010 00:48:22 +0000 (00:48 +0000)]
remove PxeBc->Stop () when EFI_BUFFER_TOO_SMALL, the calling PxeBc->Stop() in Driver Binding Stop() could make sure PXE functionality is stopped when disconnecting UefiPxeBcDxe module.

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

13 years agoAdd PI SMM Status Code Protocol on Framework SMM Status Code Protocol thunk driver...
rsun3 [Fri, 26 Mar 2010 08:44:36 +0000 (08:44 +0000)]
Add PI SMM Status Code Protocol on Framework SMM Status Code Protocol thunk driver. This thunk driver produces PI SMM Status Code Protocol and SMM Report Status Code Handler Protocol and it registers a status code handler within itself to route status codes into Framework SMM Status Code Protocol.

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

13 years agoSecurity enhancement to SMM Base thunk drivers: Framework SMM drivers can't be loaded...
rsun3 [Fri, 26 Mar 2010 08:41:06 +0000 (08:41 +0000)]
Security enhancement to SMM Base thunk drivers: Framework SMM drivers can't be loaded after SMRAM is locked.

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

13 years agoNot maintained.
hhtian [Thu, 25 Mar 2010 14:47:11 +0000 (14:47 +0000)]
Not maintained.

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

13 years agoNot maintained.
hhtian [Thu, 25 Mar 2010 14:46:47 +0000 (14:46 +0000)]
Not maintained.

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

13 years agoNot maintained.
hhtian [Thu, 25 Mar 2010 14:45:55 +0000 (14:45 +0000)]
Not maintained.

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

13 years agoNot maintained.
hhtian [Thu, 25 Mar 2010 14:45:17 +0000 (14:45 +0000)]
Not maintained.

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

13 years agoNot maintained.
hhtian [Thu, 25 Mar 2010 14:44:18 +0000 (14:44 +0000)]
Not maintained.

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

13 years agoNot maintained.
hhtian [Thu, 25 Mar 2010 14:41:50 +0000 (14:41 +0000)]
Not maintained.

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

13 years agoNot maintained.
hhtian [Thu, 25 Mar 2010 14:40:18 +0000 (14:40 +0000)]
Not maintained.

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

13 years agoThis patch is to fix incorrect value for EfiCacheAssociativity24Way. I added other...
li-elvin [Thu, 25 Mar 2010 05:53:10 +0000 (05:53 +0000)]
This patch is to fix incorrect value for EfiCacheAssociativity24Way. I added other definitions as well defined by SMBIOS 2.6.1 spec.

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

13 years agoSync EDKII BaseTools to BaseTools project r1940
qhuang8 [Tue, 23 Mar 2010 11:46:50 +0000 (11:46 +0000)]
Sync EDKII BaseTools to BaseTools project r1940

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

13 years agoRemove obsolete BuildCapsuleHob() function in DxeCoreHobLib.
qhuang8 [Tue, 23 Mar 2010 09:15:25 +0000 (09:15 +0000)]
Remove obsolete BuildCapsuleHob() function in DxeCoreHobLib.

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

13 years agoOVMF BlockMmioToBlockIoDxe: Fix build error for VS2005
jljusten [Tue, 23 Mar 2010 06:43:53 +0000 (06:43 +0000)]
OVMF BlockMmioToBlockIoDxe: Fix build error for VS2005

The previous code would generate compiler intrinsic function calls.
Patch provided by Scott Wang.

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

13 years agoRemove the work around as the Fat driver's lock issue was found and fixed.
niruiyu [Tue, 23 Mar 2010 00:39:54 +0000 (00:39 +0000)]
Remove the work around as the Fat driver's lock issue was found and fixed.

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

13 years agoPer Liming request: 1)remove duplicate header disclaimer lines IntelFrameworkModulePk...
myronporter [Mon, 22 Mar 2010 16:28:12 +0000 (16:28 +0000)]
Per Liming request: 1)remove duplicate header disclaimer lines IntelFrameworkModulePkg.dsc; 2) IntelFrameworkModulePkg\Include\Library\GenericBdsLib.h line 948 is actually 948 to 963, 8 lines of @retval.

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

13 years agoDon't create a dummy string with new language.
lgao4 [Mon, 22 Mar 2010 12:31:57 +0000 (12:31 +0000)]
Don't create a dummy string with new language.

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

13 years agoClean up Nt32Pkg and DuetPkg DSCs to move common used library instance to Common...
lgao4 [Sun, 21 Mar 2010 13:14:47 +0000 (13:14 +0000)]
Clean up Nt32Pkg and DuetPkg DSCs to move common used library instance to Common  [LibraryClasses] section.

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

13 years agoClean up Nt32Pkg and DuetPkg DSCs to move common used library instance to Common...
lgao4 [Sun, 21 Mar 2010 13:14:27 +0000 (13:14 +0000)]
Clean up Nt32Pkg and DuetPkg DSCs to move common used library instance to Common  [LibraryClasses] section.

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

13 years agoChange BufferSize from UINTN * to UINTN to eliminate pointer to pointer in SmmCore...
jyao1 [Sun, 21 Mar 2010 04:17:16 +0000 (04:17 +0000)]
Change BufferSize from UINTN * to UINTN to eliminate pointer to pointer in SmmCore for security consideration.

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

13 years agoAdd RELEASE target
lgao4 [Sun, 21 Mar 2010 02:06:59 +0000 (02:06 +0000)]
Add RELEASE target

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

13 years agoFix sync issue to make EbcLLCALLEX() function check the same value to ones that are...
lgao4 [Sun, 21 Mar 2010 01:42:16 +0000 (01:42 +0000)]
Fix sync issue to make EbcLLCALLEX() function check the same value to ones that are used in EbcCreateThunks() to decide whether the input function is a thunk to EBC.

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

13 years agoOVMF: Add BlockMmioToBlockIoDxe driver
jljusten [Sun, 21 Mar 2010 00:34:15 +0000 (00:34 +0000)]
OVMF: Add BlockMmioToBlockIoDxe driver

This driver will wrapper BlockMmio protocol instances to produce the
standard UEFI BlockIo protocol.

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

13 years agoOVMF: Add Block MMIO protocol definition
jljusten [Sun, 21 Mar 2010 00:33:59 +0000 (00:33 +0000)]
OVMF: Add Block MMIO protocol definition

This protocol is similar to the standard UEFI BlockIo protocol,
except it has no function calls and simply defines a base address
in memory where reads & writes for the block device should occur.

One planned usage is to fill a memory region with a small disk
image, and allow it to be used as a normal disk by the
standard drivers.

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

13 years agoAdd [Depex] section for DUETFwh DXE_DRIVER. A DXE_DRIVR must has [depex] section.
klu2 [Sat, 20 Mar 2010 18:08:31 +0000 (18:08 +0000)]
Add [Depex] section for DUETFwh DXE_DRIVER. A DXE_DRIVR must has [depex] section.

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

13 years agoCorrect file path separator to be consistent.
lgao4 [Sat, 20 Mar 2010 06:58:55 +0000 (06:58 +0000)]
Correct file path separator to be consistent.

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

13 years agoFix compile break on IA32 arch.
lgao4 [Sat, 20 Mar 2010 06:49:56 +0000 (06:49 +0000)]
Fix compile break on IA32 arch.

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

13 years agoFix an bug for PXE boot assert
hhuan13 [Fri, 19 Mar 2010 13:57:46 +0000 (13:57 +0000)]
Fix an bug for PXE boot assert

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

13 years agoEnsure GDT for APs is under 4G, in order to secure that APs can safely use it to...
xli24 [Fri, 19 Mar 2010 09:22:28 +0000 (09:22 +0000)]
Ensure GDT for APs is under 4G, in order to secure that APs can safely use it to switch from real mode to protected mode, as well as from protected mode to long mode.

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

13 years agoAdd parameter check in SmmBase.Communicate().
rsun3 [Fri, 19 Mar 2010 08:39:40 +0000 (08:39 +0000)]
Add parameter check in SmmBase.Communicate().

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

13 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10288 6f19259b...
rsun3 [Fri, 19 Mar 2010 06:55:58 +0000 (06:55 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10288 6f19259b-4bc3-4df7-8a09-765794883524

13 years agoSync EDKII BaseTools to BaseTools project r1937.
lgao4 [Fri, 19 Mar 2010 06:55:07 +0000 (06:55 +0000)]
Sync EDKII BaseTools to BaseTools project r1937.

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