efi/edk2/.git
10 years agoUpdate the modules with the different module GUID to avoid the different modules... master git-svn
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@10345 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10344 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10343 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10342 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10341 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10340 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10339 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10338 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10335 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10334 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10333 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10332 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10330 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10329 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10328 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10327 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10326 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10325 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10324 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10323 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10322 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10321 6f19259b-4bc3-4df7-8a09-765794883524

10 years agofixed TCP related Trackers found by SCT test (203489, 203608 and 203609) and IP fragm...
qianouyang [Sun, 28 Mar 2010 09:49:47 +0000 (09:49 +0000)]
fixed TCP related Trackers found by SCT test (203489, 203608 and 203609) and IP fragment issue with VLAN enabled Tracker (203238).

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

10 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@10319 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10318 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10317 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10316 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10315 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10314 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10313 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10312 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10311 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10310 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10309 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10308 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10307 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10306 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10305 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10304 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10303 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10302 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10301 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10300 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10299 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10298 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10297 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10296 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10295 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10294 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10293 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10292 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10291 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10290 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10289 6f19259b-4bc3-4df7-8a09-765794883524

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

10 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@10287 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10286 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10285 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoHold Memory Lock until DEBUG_CLEAR_MEMORY called in CoreFreePages(). It is to fix...
jgong5 [Fri, 19 Mar 2010 04:22:35 +0000 (04:22 +0000)]
Hold Memory Lock until DEBUG_CLEAR_MEMORY called in CoreFreePages(). It is to fix tracker #203530. It ports the fix from R8 tracker #208734. I have tested the fix on R8 at that time.

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

10 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@10283 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10282 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10281 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10280 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10279 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10278 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10277 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10276 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10275 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10274 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10273 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10272 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10271 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10270 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10269 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10268 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10267 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10266 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10265 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10264 6f19259b-4bc3-4df7-8a09-765794883524

10 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@10263 6f19259b-4bc3-4df7-8a09-765794883524

10 years agoUpdate intrinsics for code sourcery gcc
andrewfish [Wed, 17 Mar 2010 02:29:12 +0000 (02:29 +0000)]
Update intrinsics for code sourcery gcc

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

10 years agoSync up ARMASM and GCC version
andrewfish [Wed, 17 Mar 2010 02:25:41 +0000 (02:25 +0000)]
Sync up ARMASM and GCC version

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

10 years agoAdd a build script for code socery gcc.
andrewfish [Wed, 17 Mar 2010 02:25:12 +0000 (02:25 +0000)]
Add a build script for code socery gcc.

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

10 years agoAdd Math64.S to reduce the number of compiler intrinsics that need to be supported...
andrewfish [Wed, 17 Mar 2010 02:21:18 +0000 (02:21 +0000)]
Add Math64.S to reduce the number of compiler intrinsics that need to be supported. It turns out they seem to change from GCC generation to generation.

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

10 years agoRemove the implementation limitation in the SmmBaseHelper driver that it assumes...
rsun3 [Wed, 17 Mar 2010 02:06:04 +0000 (02:06 +0000)]
Remove the implementation limitation in the SmmBaseHelper driver that it assumes the Framework SMM driver to be loaded has a copy in memory.

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

10 years agoGrammatical and disclaimer changes (does not follow internal C coding stds.)
myronporter [Tue, 16 Mar 2010 23:34:53 +0000 (23:34 +0000)]
Grammatical and disclaimer changes (does not follow internal C coding stds.)

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

10 years agoAdd check of MediaPresentSupported field in SNP mode data to support UNDI without...
xdu2 [Tue, 16 Mar 2010 13:16:19 +0000 (13:16 +0000)]
Add check of MediaPresentSupported field in SNP mode data to support UNDI without cable detect capability.

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

10 years agoAdd sample use case for IFR security op-code.
rsun3 [Tue, 16 Mar 2010 06:25:10 +0000 (06:25 +0000)]
Add sample use case for IFR security op-code.

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

10 years agoFix a bug in SetupBrowserDxe driver when check current user's access setup permission...
rsun3 [Tue, 16 Mar 2010 06:22:05 +0000 (06:22 +0000)]
Fix a bug in SetupBrowserDxe driver when check current user's access setup permission. EFI_USER_INFO_ACCESS_CONTROL.Size may be equal to sizeof (EFI_USER_INFO_ACCESS_CONTROL) because of no extra data.

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

10 years agoMinor update the patch for Edk r10248
qhuang8 [Tue, 16 Mar 2010 05:57:21 +0000 (05:57 +0000)]
Minor update the patch for Edk r10248

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

10 years agoRemove FD section from DuetPkg.fdf and move the BlockSize/NumBlocks declaration from...
niruiyu [Tue, 16 Mar 2010 05:22:23 +0000 (05:22 +0000)]
Remove FD section from DuetPkg.fdf and move the BlockSize/NumBlocks declaration from FD to FV.

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

10 years agoadd missed GUID definition of EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL_GUID_31.
vanjeff [Tue, 16 Mar 2010 05:10:06 +0000 (05:10 +0000)]
add missed GUID definition of EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL_GUID_31.

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

10 years agoAdd missing words for the description of EFI_SMM_CONTROL_PROTOCOL.
xli24 [Tue, 16 Mar 2010 04:08:24 +0000 (04:08 +0000)]
Add missing words for the description of EFI_SMM_CONTROL_PROTOCOL.

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

10 years agoGrammatical and disclaimer changes (does not follow internal C coding stds.)
myronporter [Tue, 16 Mar 2010 01:53:11 +0000 (01:53 +0000)]
Grammatical and disclaimer changes (does not follow internal C coding stds.)

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

10 years agoClarify @pram b in Base.h. Accepted and edited in Qing Huang changes for @retval...
myronporter [Mon, 15 Mar 2010 17:28:58 +0000 (17:28 +0000)]
Clarify @pram b in Base.h. Accepted and edited in Qing Huang changes for @retval EFI_INVALID_PARAMETER lines. 171 & 321.

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

10 years agoCorrection to remove Apple lines from Disclaimers. These were introduced after r1022...
myronporter [Mon, 15 Mar 2010 16:37:21 +0000 (16:37 +0000)]
Correction to remove Apple lines from Disclaimers.  These were introduced after r10220, indicating the copies of disclaimer with Apple lines are a corruption.

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

10 years agoAdd GlueLib SmmRuntimeDxeReportStatusCodeLib into EdkCompatibilityPkg , which provide...
lgao4 [Mon, 15 Mar 2010 09:25:21 +0000 (09:25 +0000)]
Add GlueLib SmmRuntimeDxeReportStatusCodeLib into EdkCompatibilityPkg , which provides the security status code library for EDK runtime and smm driver.

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

10 years agoAdd GlueLib SmmRuntimeDxeReportStatusCodeLib into EdkCompatibilityPkg , which provide...
lgao4 [Mon, 15 Mar 2010 09:24:26 +0000 (09:24 +0000)]
Add GlueLib SmmRuntimeDxeReportStatusCodeLib into EdkCompatibilityPkg , which provides the security status code library for EDK runtime and smm driver.

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

10 years agoRemove one leftover in protocol definitions.
qhuang8 [Mon, 15 Mar 2010 02:57:43 +0000 (02:57 +0000)]
Remove one leftover in protocol definitions.

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

10 years agoMerge the same type PCD section.
lgao4 [Mon, 15 Mar 2010 01:40:59 +0000 (01:40 +0000)]
Merge the same type PCD section.

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