summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Sync patch r12472 from main trunk.vanjeff2012-01-217-5/+28
| | | | | | | Add pointer check for NULL before dereference it. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@12952 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r12470 and r12544 from main trunk.vanjeff2012-01-203-4/+11
| | | | | | | 1. Add more check to avoid access violation. 2. Use a local variable and assign 0 to it, then use it as legacy interrupt table base address. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@12949 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r10481 and r12354 from main trunk.vanjeff2012-01-204-270/+290
| | | | | | | | | | 1) Fix IPF ICC 11.1 issue when /Ox is used related to the use of local variables and parameter across the transition when TEMP RAM is disabled. 2) Update the logic that computes the offset of the heap and stack from TEMP RAM to Permanent RAM to handle all possible offsets values. 3) Minor cleanups to the PEI_CORE_INSTANCE structure. 4) Simplify the logic that manages the TEMP RAM to PERM RAM transition and clean up the related DEBUG() messages. 5) Enhance the PEI Core to convert pointers pointing to PPI descriptors on the temporary stack. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@12948 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r12203 from main trunk.vanjeff2012-01-201-0/+11
| | | | | | Raise TPL to prevent the BlockIo instance for USB device is removed during the locating the instance and using it. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@12947 6f19259b-4bc3-4df7-8a09-765794883524
* Copy EDKII trunk BaseTools r12883 to UDK2010 Branch.vanjeff2012-01-20753-0/+320714
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@12946 6f19259b-4bc3-4df7-8a09-765794883524
* Delete old BaseTool from UDK2010 branch.vanjeff2012-01-20663-276829/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@12945 6f19259b-4bc3-4df7-8a09-765794883524
* Sync part of patch r11214 from main trunk.vanjeff2012-01-191-2/+2
| | | | | | Fix MACRO definition issue in OpensslLib.inf. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@12943 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r12198 from main trunk.vanjeff2012-01-194-124/+151
| | | | | | Update to NOT to use EFI_BROWSER_ACTION_FORM_OPEN in Callback function thus able to function properly in UEFI2.1 platform. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@12942 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r12197 from main trunk.vanjeff2012-01-194-17/+23
| | | | | | Update to NOT to use EFI_BROWSER_ACTION_FORM_OPEN in Callback function thus able to function properly in UEFI2.1 platform. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@12941 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r11932 from main trunk.vanjeff2012-01-191-6/+8
| | | | | | Fix a potential memory free failure bug in AtaAtapiPassThru. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@12940 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r12213 from main trunk.vanjeff2012-01-191-1/+5
| | | | | | Fixed memory leak and buffer overrun for string op-code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@12939 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r12732 from main trunk.vanjeff2012-01-191-2/+2
| | | | | | PcAtChipsetPkg: Do right sign extension to avoid a wrong daylight value saving into "RTC" variable. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@12938 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r12814 from main trunk.vanjeff2012-01-191-1/+1
| | | | | | Correct DriverFamilyOverrideProtocol guid value defined in MdePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@12937 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r11494 from main trunk.vanjeff2012-01-196-130/+154
| | | | | | | | When GetHealthStatus() returns NULL FormHiiHandle, DeviceManager shouldn't call SendForm to show the configuration form. Combine the multiple reset request returned by GetHealthStatus() when repairing all the controllers. Fix the bug that source code and VFR code use different value for DRIVER_HEALTH_FORM_ID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@12936 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r11825 from main trunk.vanjeff2012-01-192-6/+6
| | | | | | For BaseLib IsNull() function , update retval value comment to match its function description. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@12935 6f19259b-4bc3-4df7-8a09-765794883524
* Sync missing part of patch r11355, r12566 from main trunk.vanjeff2011-11-081-0/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@12669 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r11355 from main trunk.vanjeff2011-10-261-196/+268
| | | | | | | | | | | | Do the following enhancement for SetupBrowser: 1. Support Scroll up and down. When hit the top, the last page will be showed. When hit the bottom, the first page will be showed. 2. Show forms page by page based on the option (including unselected and selected). 3. Add PCD to configure whether TEXT statement is set to Grayout option. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@12571 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r12191 from main trunk.vanjeff2011-10-172-5/+7
| | | | | | Refine the error handling for PXE-v4 driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@12541 6f19259b-4bc3-4df7-8a09-765794883524
* Refine the logic used to select next highlight menu.vanjeff2011-09-061-1/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@12282 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r11780 from main trunk.vanjeff2011-06-232-53/+116
| | | | | | Fix PXE performance issue : enhance EfiPxeBcSetIpFilter() to eliminate unnecessary re-configure Udp4Read operation. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11882 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r11779 from main trunk.vanjeff2011-06-232-29/+60
| | | | | | Fix PXE performance issue : enhance EfiPxeBcSetIpFilter() to eliminate unnecessary re-configure Udp4Read operation. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11881 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r10580, r10879, r11080, r11225 from main trunk.vanjeff2011-06-164-42/+81
| | | | | | | | | | | | 1. Allow gEfiMemoryTypeInformation bins to shrink if boot mode is BOOT_WITH_DEFAULT_SETTINGS or the gEfiMemoryTypeInformation variable does not exist. Update BdsSetMemoryTypeInformationVariable() to use DEBUG() prints to show the Previous, Current, and Next sizes of each memory bin type. 3. Add additional reset when Memory Type Information settings change. 4. Use PcdResetOnMemoryTypeInformationChange in MdeModulePkg to control whether to reset system when memory type information changes. Check memory type information after signaling the ReadyToBoot event. 5. In Recovery path, doesn't warm reset even if MemoryTypeInfo data is changed. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11837 6f19259b-4bc3-4df7-8a09-765794883524
* Sync patch r11079 from main trunk.vanjeff2011-06-161-0/+3
| | | | | | | Add a new PCD PcdResetOnMemoryTypeInformationChange in MdeModulePkg to control whether to reset system when memory type information changes. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11836 6f19259b-4bc3-4df7-8a09-765794883524
* sync part of patch r11904 from main trunk.vanjeff2011-06-161-35/+35
| | | | | | To roll back the updating in EdkIIGlueSmmDriverEntryPoint.c from patch r9657. ProcessLibraryConstructorList() should only be invoked in SMM. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11835 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r11664, r11670 from main trunk.vanjeff2011-05-188-8/+32
| | | | | | Clear the direction flag in interrupt/exception handlers' assembly entry code before calling C functions to follow the UEFI calling convention. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11677 6f19259b-4bc3-4df7-8a09-765794883524
* Sync part of patch r11279 from main trunk.vanjeff2011-05-171-0/+1
| | | | | | Set FreeMenu->MenuNumber to 0 when Menus were freed. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11671 6f19259b-4bc3-4df7-8a09-765794883524
* Remove wrong PCD size information to avoid build issue. vanjeff2011-04-221-11/+11
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11579 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r10933 from main trunk.vanjeff2011-04-229-0/+0
| | | | | | UnixPkg MiscSubClassPlatformDxe: Add en-US langdef to *.uni. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11578 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r10783, r10787 from main trunk.vanjeff2011-04-193-3/+8
| | | | | | Add security check to make code run safe. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11557 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r10661, r10898, r10911 from main trunk.vanjeff2011-04-195-399/+11
| | | | | | | 1. Add security check to make code run safe. 2. Delete unnecessary files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11556 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r10980, r11006, r11045, r11054 from main trunk.vanjeff2011-04-194-14/+33
| | | | | | Add security check to make code run safe. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11555 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r10863, r10396, r10864, r10873 from main trunk.vanjeff2011-04-1943-178/+364
| | | | | | Add security check to make code run safe. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11554 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r10885 from main trunk.vanjeff2011-04-191-1/+1
| | | | | | Add security check to make code run safe. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11553 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r10893 from main trunk.vanjeff2011-04-195-12/+20
| | | | | | Add security check to make code run safe. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11552 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r10536, r10564, r10786 from main trunk.vanjeff2011-04-199-26/+26
| | | | | | Add security check to make code run safe. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11551 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r10784 from main trunk.vanjeff2011-04-191-9/+9
| | | | | | Add security check to make code run safe. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11550 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r10492, r10780, r10877, r10880, r10955 from main trunk.vanjeff2011-04-1953-212/+232
| | | | | | Add security check to make code run safe. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11549 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r10781, r10793, r10797, r10799 from main trunk.vanjeff2011-04-188-62/+27
| | | | | | Add security check to make code run safe. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11548 6f19259b-4bc3-4df7-8a09-765794883524
* Sync EDKII trunk BaseTools r11314 to UDK2010 Branch.vanjeff2011-04-14663-0/+276829
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11542 6f19259b-4bc3-4df7-8a09-765794883524
* Delete old BaseTool from UDK2010 branch.vanjeff2011-04-14663-276253/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11541 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r10994, r10995, r10996 from main trunk.vanjeff2011-04-143-5/+5
| | | | | | Fix PCD token value conflict issue. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11540 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r11189, r11194, r11200, r11201, r11020, r11227 from main trunk.vanjeff2011-04-1310-19/+873
| | | | | | | Fix boot script thunk issue that we need dispatch in PEI mode for Framework dispatch function, not in DXE mode. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11535 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r11186 from main trunk.vanjeff2011-04-131-11/+15
| | | | | | Change the modifiers of the RegisterContext parameter of EFI SMM SW Dispatch2 Protocol.Register() from IN, CONST to IN, OUT. This is for support for the case where SwSmiInputValue is set to -1, a unique value will be returned in the RegisterContext structure. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11534 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r10900 from main trunk.vanjeff2011-04-132-2/+1304
| | | | | | Add ACPI4.0 header file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11533 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r10682, r11137, r11138, r11139, r11140, r11141, r11150, r11152, ↵vanjeff2011-04-1312-100/+645
| | | | | | | | | | | | | | | | | | r11172 from main trunk. 1. Fix bug that cursor position will change when enter newly registered HII Form after ConnectAll() in DeviceManager. Root cause is that in old code, reinstall of HII handle for DeviceManager will cause inconsistent HII handle index for newly installed HII packages by ConnectAll(), thus cause inconsistent QuestionId. FormBrowser will record QuestionId of a Form ever visited, so the cursor position is changed. 2. [BDS] Device Manager was requested to add more sub-level menu about network device. Now show menu like: Network Device List -> Mac:XX:XX:XX... -> IPv4 Network Config Mac:XX:XX:XX... VLAN Configuration 3. Move the Mac address string from the form title to form title help for the driver Ipv4 and VLAN. 4. Move the Mac address string from the form title to form title help for the driver Ipv6 5. Change the menu show in the device manager from "Network Controller Information" to "ABC Information Sample". git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11532 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r10985 from main trunk.vanjeff2011-04-132-0/+376
| | | | | | S.M.A.R.T feature enable. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11531 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r11075, r11087, r11088, r11091, r11092, r11119 from main trunk.vanjeff2011-04-138-234/+920
| | | | | | | Fix AutoUpdateLangVariable() logic to handle the case PlatformLang/Lang is set before PlatformLangCodes/LangCodes. Pre-allocate pool for runtime phase. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11530 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r11316 from main trunk.vanjeff2011-04-131-11/+3
| | | | | | | | | Per PI spec, StatusCode related structure is not required to be defined as packed byte. So, StatusCode related structures are updated from packed to unpacked. Notes: 1. This patch is an incompatible change for the binary image built based on previous EDKII code. But, it is a compatible change for source. 2. This change will make StatusCode related definition in MdePkg to align the one defined in EcpPkg. Then, EDK driver based on EcpPkg can work together EDKII core. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11529 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r11133, r11134, r11135 from main trunk.vanjeff2011-04-132-7/+28
| | | | | | | | 1. Updated progress code definitions to match PI Spec 1.2. 2. Add note for EFI_SW_PEI_EC_INVALID_CAPSULE_DESCRIPTOR and EFI_SW_PEI_PC_RECOVERY_BEGIN to express they are different with the current PI specification 1.2. 3. Add progress code definitions defined in Framework Specification. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11528 6f19259b-4bc3-4df7-8a09-765794883524
* sync patch r11046, r11047, from main trunk.vanjeff2011-04-138-24/+24
| | | | | | | Fix the issue that the high 16-bit of EAX may contain invalid data, which cause bad stack pointer, the change will ensure the high 16-bit of EAX is cleared. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11527 6f19259b-4bc3-4df7-8a09-765794883524