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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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)]
Update DevicePath.h to add the UART_FLOW_CONTROL_HARDWARE and UART_FLOW_CONTROL_XON_XOFF.

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 years agoFix a bug that usb keybarod can not work well when it is inserted at a usb 2.0 hub.
erictian [Fri, 19 Mar 2010 06:54:35 +0000 (06:54 +0000)]
Fix a bug that usb keybarod can not work well when it is inserted at a usb 2.0 hub.
It's due to AsyncInterruptList does not update the corresponding QTDHw->Data with pci bus master address.

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

14 years agoNumberOfCpus and SmmStartupThisAp field in Framework SMST should be updated per PI...
rsun3 [Fri, 19 Mar 2010 06:49:00 +0000 (06:49 +0000)]
NumberOfCpus and SmmStartupThisAp field in Framework SMST should be updated per PI SMST at SMM runtime context. These two fields in PI SMST are not guaranteed to be valid at SMM initialization phase.

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

14 years agoHold Memory Lock until DEBUG_CLEAR_MEMORY called in CoreFreePages().
jgong5 [Fri, 19 Mar 2010 04:22:35 +0000 (04:22 +0000)]
Hold Memory Lock until DEBUG_CLEAR_MEMORY called in CoreFreePages().

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

14 years agoDefine VERIFY_SIZE_OF macro to verify size of basic UEFI Data types. This should...
qhuang8 [Fri, 19 Mar 2010 00:25:47 +0000 (00:25 +0000)]
Define VERIFY_SIZE_OF macro to verify size of basic UEFI Data types. This should be equivalent with previous implementation.

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

14 years agochanging UDP default timeout value to 2s to improve PXE BC boot performance.
vanjeff [Thu, 18 Mar 2010 11:35:35 +0000 (11:35 +0000)]
changing UDP default timeout value to 2s to improve PXE BC boot performance.

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

14 years agovariable driver doesn't support EFI_AUTHENTICATED_WRITE_ACCESS. we use:
erictian [Thu, 18 Mar 2010 08:58:48 +0000 (08:58 +0000)]
variable driver doesn't support EFI_AUTHENTICATED_WRITE_ACCESS. we use:
1. EFI_INVALID_PARAMETER as a return value of SetVariable() to indicate it does not support this feature.
2. EFI_NOT_FOUND will be a return value of QueryVariableInfo() to indicate it does not support this feature.

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

14 years agovariable driver doesn't support EFI_AUTHENTICATED_WRITE_ACCESS. we use:
erictian [Thu, 18 Mar 2010 08:57:05 +0000 (08:57 +0000)]
variable driver doesn't support EFI_AUTHENTICATED_WRITE_ACCESS. we use:
1. EFI_INVALID_PARAMETER as a return value of SetVariable() to indicate it does not support this feature.
2. EFI_NOT_FOUND will be a return value of QueryVariableInfo() to indicate it does not support this feature.

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

14 years agoRefine Legacy Region thunk to comply with PI 1.2.
xli24 [Thu, 18 Mar 2010 08:37:20 +0000 (08:37 +0000)]
Refine Legacy Region thunk to comply with PI 1.2.

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

14 years agoUpdate shell binaries to use release build target and integrate the following hot...
qhuang8 [Thu, 18 Mar 2010 07:50:17 +0000 (07:50 +0000)]
Update shell binaries to use release build target and integrate the following hot fixes:
1. Security hole in LoadImage() when EFI_SECURITY_VIOLATION status is returned.
2. Load.efi to load 32bit driver in 64bit platform causing system hang.
3. Fix for PCI multi-segment support.

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

14 years agoFixed a minor bug in PlatformDriOverrideDxe which will assert when user trigger ...
jchen20 [Thu, 18 Mar 2010 07:34:50 +0000 (07:34 +0000)]
Fixed a minor bug in PlatformDriOverrideDxe which will assert when user trigger "Clear all mapping record" twice.

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

14 years ago1, For Pcd_PPI, UnregistedCallBack should return EFI_INVALID_PARAMETER if Callback...
klu2 [Thu, 18 Mar 2010 06:24:53 +0000 (06:24 +0000)]
1, For Pcd_PPI, UnregistedCallBack should return EFI_INVALID_PARAMETER if Callback function can not be found.
2, PCD_PPI/PROTOCOL should return EFI_INVALID_PARAMETER if size is unmatched

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

14 years agoBug Fix: IPv4 Fragment is not correct when VLAN is enable.
qianouyang [Thu, 18 Mar 2010 05:36:52 +0000 (05:36 +0000)]
Bug Fix: IPv4 Fragment is not correct when VLAN is enable.

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

14 years agoRoll back previous change.
rsun3 [Thu, 18 Mar 2010 03:11:12 +0000 (03:11 +0000)]
Roll back previous change.

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

14 years ago1. Update Fat Binaries to fix a migration bug about EFI lock semantics change.
qhuang8 [Thu, 18 Mar 2010 02:39:32 +0000 (02:39 +0000)]
1. Update Fat Binaries to fix a migration bug about EFI lock semantics change.
2. Update Fat Binaries to use release build target.

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

14 years agoSeparate IA32/X64 architecture into two DSC file to avoid the their output mixup.
klu2 [Thu, 18 Mar 2010 02:36:52 +0000 (02:36 +0000)]
Separate IA32/X64 architecture into two DSC file to avoid the their output mixup.

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

14 years agoUpdate SmmBase Communicate Thunk behaivor to be compatible with Framework implemenation.
rsun3 [Thu, 18 Mar 2010 02:01:32 +0000 (02:01 +0000)]
Update SmmBase Communicate Thunk behaivor to be compatible with Framework implemenation.

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

14 years agoFormer change breaks build; changed back to commented lines 58 & 59, but as regular...
myronporter [Wed, 17 Mar 2010 23:27:19 +0000 (23:27 +0000)]
Former change breaks build; changed back to commented lines 58 & 59, but as regular comments (not Doxygen comments).

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

14 years agoGrammatical and disclaimer changes (does not follow internal C coding stds.)
myronporter [Wed, 17 Mar 2010 20:48:52 +0000 (20:48 +0000)]
Grammatical and disclaimer changes (does not follow internal C coding stds.)

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

14 years agofix ia32 build error.
erictian [Wed, 17 Mar 2010 11:06:45 +0000 (11:06 +0000)]
fix ia32 build error.
With IA32 tool chain, we can not use a 64bit data to divide a 32 bit data. MS tool chain may introduce an intrinsic function.

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

14 years agofix ia32 build error.
erictian [Wed, 17 Mar 2010 11:06:21 +0000 (11:06 +0000)]
fix ia32 build error.
With IA32 tool chain, we can not use a 64bit data to divide a 32 bit data. MS tool chain may introduce an intrinsic function.

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

14 years agoThe ATA alignment_logic_in_phy_blocks field doesn’t directly report the lowest aligne...
erictian [Wed, 17 Mar 2010 09:48:05 +0000 (09:48 +0000)]
The ATA alignment_logic_in_phy_blocks field doesn’t directly report the lowest aligned LBA.  Instead, there’s some modulo arithmetic involved.

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

14 years agoThe ATA alignment_logic_in_phy_blocks field doesn’t directly report the lowest aligne...
erictian [Wed, 17 Mar 2010 09:46:53 +0000 (09:46 +0000)]
The ATA alignment_logic_in_phy_blocks field doesn’t directly report the lowest aligned LBA.  Instead, there’s some modulo arithmetic involved.

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

14 years agoRemove hook for debugger. Should be implemented using the new library scheme.
andrewfish [Wed, 17 Mar 2010 02:37:34 +0000 (02:37 +0000)]
Remove hook for debugger. Should be implemented using the new library scheme.

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

14 years agoFix bug
andrewfish [Wed, 17 Mar 2010 02:29:58 +0000 (02:29 +0000)]
Fix bug

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