694 Commits
Author SHA1 Message Date
vanjeff bee73f768c Sync patch r12203 from main trunk.
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
2012-01-20 05:54:35 +00:00
vanjeff 0b81871dd6 Sync patch r11494 from main trunk.
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
2012-01-19 02:59:35 +00:00
vanjeff a1399f9966 sync patch r10580, r10879, r11080, r11225 from main trunk.
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
2011-06-16 12:51:55 +00:00
vanjeff 6479447102 Sync part of patch r11279 from main trunk.
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
2011-05-17 08:40:59 +00:00
vanjeff 90100178f9 sync patch r10536, r10564, r10786 from main trunk.
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
2011-04-19 01:39:27 +00:00
vanjeff 0c66eb6d6e sync patch r10682, r11137, r11138, r11139, r11140, r11141, r11150, r11152, 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
2011-04-13 06:46:08 +00:00
vanjeff dca1a39f6e Sync sync patch r11083, r11084 from main trunk.
1. Rollback the changing on replacing MAX_EXTENDED_DATA_SIZE by EFI_STATUS_CODE_DATA_MAX_SIZE,
   use MAX_EXTENDED_DATA_SIZE as before.
2. Use DEBUG error message instead of ASSERT(FASLE) when extended data is too large
3. Expand 1 for buffer array size to avoid potential issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11095 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-26 01:59:11 +00:00
vanjeff bc599496fa sync patch r10360 from main trunk.
Fix ICC build failure.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11041 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-11 08:08:25 +00:00
vanjeff 0c2097bd76 sync patch r11013, r11022, r11023 from main trunk.
1. Prevent infinite recursion when ASSERT(), DEBUG(), or any other use of ReportStatusCode
   is performed at > TPL_NOTIFY or there is not enough memory to allocate a buffer for the
   ExtendedData associated with the status code being reported.
2. Replaced MAX_EXTENDED_DATA_SIZE by EFI_STATUS_CODE_DATA_MAX_SIZE.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11039 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-11 06:31:17 +00:00
vanjeff 69aef7f48a sync patch r11008 from main trunk.
Fix bug in DataHub where it would skip the first record in a set when a filter is being used.
Also add comments and update source code logic to make it easier to understand and maintain.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@11031 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-11 05:48:16 +00:00
vanjeff 26ce322504 sync patch r10864, r10865, r10866, r10876 from main trunk.
1. Update the Runtime and Smm library to restrict usage to DXE_RUNTIME_DRIVER and
   DXE_SAL_DRIVER or DXE_SMM_DRIVER module types.
2. Update UefiRuntimeLib MODULE_TYPE to be DXE_RUNTIME_DRIVER.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@10922 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-13 06:21:40 +00:00
vanjeff 6fb05c6ff3 sync patch r10351, r10352, r10353, r10354 from main trunk.
1. IsaSerialIo, WinNtSerialIo, UnixSerialIo drivers were 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.
3. 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/branches/UDK2010@10921 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-13 06:05:24 +00:00
vanjeff 01ee7a4108 sync patch r10631 from main trunk.
R10631 - Fix the issues that StatusCode can't work when PcdStatusCodeUseMemory is set to TRUE or PcdStatusCodeUseDataHub is set to TRUE.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@10667 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-20 03:04:21 +00:00
vanjeff 79effbeae0 sync patch r10561 from main trunk.
R10560 - Per UEFI spec, FORM_OPEN/FORM_CLOSE Callback function should be called for each question in the form when this form opens or closes.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010@10664 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-19 12:41:13 +00:00
hhtian 00958779f7 Not maintained.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10312 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-25 14:45:17 +00:00
myronporter 38dc2202cf 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
2010-03-22 16:28:12 +00:00
lgao4 8df1634c8b 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
2010-03-22 12:31:57 +00:00
erictian d96d37d8b9 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
2010-03-17 11:06:45 +00:00
erictian c0d69d10f6 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
2010-03-17 09:48:05 +00:00
myronporter 49fd8a3553 Grammatical and disclaimer changes (does not follow internal C coding stds.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10257 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-16 23:34:53 +00:00
niruiyu 711d0721b5 Fix the hardware flow control logic in SerialIo driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10228 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-10 09:20:17 +00:00
xli24 37cc05695c Update package version for IntelFrameworkPkg and IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10194 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 15:57:53 +00:00
lgao4 59aefb7e0d Update HiiConfigAccess.ExtractConfig interface to support NULL request string and ConfigHdr request string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10180 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-04 06:48:52 +00:00
jchen20 667ffa38d1 Fixed the build issue which is caused by movement of S3Resume.h is moved from MdePkg to IntelFrameworkPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10164 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03 04:20:24 +00:00
klu2 03b8583c5a Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10081 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 17:06:18 +00:00
lgao4 a15553c5ec Remove <b></b> from File header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10056 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-24 05:11:09 +00:00
lgao4 6bfbb5f0e0 1. Correct File header to ## @file
2. Remove unnecessary .common] postfix on section.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10052 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-24 00:21:16 +00:00
li-elvin 479e19a6d5 Driver health entry in device manager page is not totally hidden, the original code just change string to empty string, if cursor is at empty string, there is no focus at all.
Dynamically create subtitle and action entry of driver health when driver health protocol is installed.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10047 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-23 09:40:43 +00:00
niruiyu e74f510b46 To follow UEFI spec 2.3 chapter 3.4.1.1, add the ConnectSingleController for removable media boot.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9987 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11 06:29:16 +00:00
xli24 19796be360 Leverages SMM Status Code Protocol, instead of OemHookStatusCodeLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9962 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10 03:41:24 +00:00
jgong5 07341a33f2 Assume Tick value 1 as the beginning time of boot.
This is part of the fix of #202075 to make sure the usage model below doesn’t break:
PERF_START (0, “Token1”, “Module1”, 1);
PERF_END (0, “Token1”, Module1”, 0);


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9943 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-08 02:12:47 +00:00
qhuang8 f9ec2f0f40 Fix two incorrect PCD token number in IntelFrameworkModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9933 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-05 05:58:47 +00:00
qhuang8 5e24f37a6f Fix ICC build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9931 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-04 13:47:21 +00:00
lgao4 32e9da0c40 Fix the bug that the wrong classguid is compared.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9930 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-04 09:35:42 +00:00
jgong5 b5a144ec6a Performance.c in GenericBdsLib is updated not to filter log entries that don’t contain DXE handles.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9928 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-04 04:32:09 +00:00
xli24 55a503bce6 Minor code refinement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9920 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-03 08:21:51 +00:00
xdu2 e51e619ed7 For network dynamic media detect support: invoke Snp->GetStatus() before use Snp->Mode->MediaPresent. Upon successful return of Snp->GetStatus(), the Snp->Mode->MediaPresent will be updated to indicate the latest media status.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9918 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-03 04:37:29 +00:00
lgao4 158bb28ae0 Add support to original EFI_IFR_FORM_SET in initial UEFI2.1 spec. Now, it has been updated to new one in UEFI2.1D.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9905 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-02 01:37:48 +00:00
gdong1 337661bb8c Add BdsLibUserIdentify API in GenericBdsLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9897 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-01 06:13:04 +00:00
mdkinney c37f052fe9 Remove unnecessary use of FixedPcdxxx() functions and [FixedPcd] INF sections. These should only be used for PCDs that are used to pre-init global variables, pre-init global structures, or size arrays.
Do some minor clean ups to INF files
 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9867 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-29 23:34:42 +00:00
gikidy 9aa7ba01aa Update BDS boot option description string to use UNI file string in GenericBdsLib for localization.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9836 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-27 07:18:36 +00:00
qhuang8 a7ddec115d Update in IdeBus to solve the non-backward compatibility issue by the MdePkg updates in Edk r9817.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9820 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-26 05:20:49 +00:00
rsun3 7490e2bed8 GenericBdsLib: Remove a un-reasonable ASSERT when BdsLibVariableToOption() returns NULL because it is possible for BdsLibVariableToOption() to return NULL if the boot option variable does not exist or the boot option is not active.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9805 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-25 05:20:44 +00:00
tye1 a7a523e07b 1.Change the behavior of BdsBoot, to enumerate Boot Options by EfiLoadFileProtocol, other than EfiManagedNetworkServiceBindingProtocol.
2.Add MSG_IPv4_DP and MSG_IPv6_DP into boot type of BDS_EFI_MESSAGE_MAC_BOOT.

3.Change the file header format of inf file and remove the MNP dependency.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9799 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-25 03:05:41 +00:00
gikidy cd730ec08d Minor code enhancement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9792 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-18 07:20:22 +00:00
qhuang8 6b9ddb4226 Fix ICC build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9767 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-15 02:11:58 +00:00
mdkinney 7a7f916a70 Clean up file header comments to match CPU I/O Protocol .h file.
Add check to make sure the Address parameter passed in is properly aligned for the requested operation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9760 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 22:12:32 +00:00
mdkinney 806bf4f2f1 Add generic module that produces the Framework CPU I/O Protocol using the services from the MdePkg IoLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9755 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 18:57:44 +00:00
eric_tian 7e28c19670 add france language support on DeviceManager of BDS.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9749 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 07:32:36 +00:00
gikidy a5c3c546ea Fix Boot Option appear twice while add a new boot option in some specific steps.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9738 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 04:42:45 +00:00