jyao1
54d3b84e3e
Correct 1G page table generation.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12380 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-19 13:02:05 +00:00
lgao4
e24fc1032d
Clean up the private GUID definition in module Level.
...
0. Remove the unused private GUID from module source files.
1. Use gEfiCallerIdGuid replace of the private module GUID.
2. Add the public header files to define HII FormSet and PackageList GUID used in every HII driver.
3. Publish EFI_LEGACY_DEV_ORDER_VARIABLE_GUID from BdsDxe driver and EFI_UPDATE_DATA_FILE_GUID from UpdateDriverDxe to IntelFrameworkModulePkg Include directory.
Signed-off-by: lgao4
Reviewed-by: ydong10 gdong1 tye jfan12 wli12 rsun3 jyao1 ftian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12374 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-18 12:23:27 +00:00
ydong10
a1cfbf8c30
Update the BDS UI to keep the old behaviors after add exit action when Config_Access_Protocol.CallBack function returns Submit or Reset which is follow UEFI spec 2.3.1.
...
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12362 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-16 06:01:11 +00:00
niruiyu
0d0bbc9f47
Fix Ps2KeyboardDxe driver to return correct key data when Shift/Ctrl/Alt and PrtSc/SysRq are both pressed, when Ctrl and Pause/Break are both pressed.
...
Signed-off: niruiyu
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12361 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-16 05:37:08 +00:00
ydong10
02317fc34f
Remove useless pointer check.
...
Signed-of-by: ydong10
Reviewed-by: vanjeff
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12348 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-14 09:55:31 +00:00
jyao1
83a52195e8
Fix build error.
...
sign of by: jyao1
reviewed by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12347 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-14 07:11:45 +00:00
jyao1
c56b65665d
Use CPU_HOB to detect max address support from platform, and added 1G page table support.
...
Sign-off-by: jyao1
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12332 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-13 05:48:57 +00:00
vanjeff
8a30d785c3
Fixed issue that addition LEFT CTRL key was detected when press PAUSE key. PS2 keyboard driver should consume all bytes of scan code for PAUSE key.
...
Signed-off-by: vanjeff
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12298 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-08 03:36:58 +00:00
ydong10
a3b4eb2933
Check the pointer before use it.
...
Signed-off-by:ydong10
Reviewed-by:vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12283 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-06 07:05:06 +00:00
jljusten
cf7958f7f9
IntelFrameworkModulePkg: Add DxeCapsuleLib
...
Signed-off-by: jljusten
Reviewed-by: rsun3
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12274 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-02 21:31:02 +00:00
li-elvin
5025be3fc1
Add error debug information for capsule processing in Bds.
...
Signed-off-by: li-elvin
Reviewed-by: lgao4, jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12271 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-02 14:45:30 +00:00
jljusten
b2824a8e13
IntelFrameworkModulePkg: Add UpdateDriverDxe driver
...
Signed-off-by: jljusten
Reviewed-by: rsun3
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12257 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-01 19:57:46 +00:00
jljusten
c2df8e13f6
IntelFrameworkModulePkg: Add FwVolDxe driver
...
Signed-off-by: jljusten
Reviewed-by: rsun3
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12256 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-01 19:57:08 +00:00
ydong10
1b5592bf15
Check the pointer before use it.
...
Signed-off-by:ydong10
Reviewed-by:vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12251 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-01 08:44:08 +00:00
jljusten
13d4af68f8
IntelFrameworkModulePkg: Add AcpiS3SaveDxe driver
...
Signed-off-by: jljusten
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12246 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-31 18:57:46 +00:00
li-elvin
f767f99009
Update CSM module to provide the general solution when the Timer Arch Protocol is not 8254 timer. CSM module should set 8254 timer to 54ms for the execution in real mode.
...
Signed-off-by: li-elvin
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12229 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-30 05:52:28 +00:00
jljusten
88d20adc90
MdeModulePkg, IntelFramworkModulePkg: Add S3 PCDs
...
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12223 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-29 22:16:50 +00:00
jljusten
8a96515e88
IntelFrameworkModulePkg: Add AcpiSupportDxe driver
...
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: rsun3
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12221 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-29 22:15:21 +00:00
xdu2
79b7a6a1ff
IntelFrameworkModulePkg/GenericBdsLib: update GenericBdsLib to report status code for OS Loader Load and OS Loader Start.
...
Signed-off-by: xdu2
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12211 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25 11:58:51 +00:00
li-elvin
f6c014fb14
Add a PcdPs2KbdExtendedVerification to let user to choose whether extend reset for keyboard driver in start (). Add more debug information in the driver.
...
Signed-off-by: li-elvin
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12207 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25 08:23:00 +00:00
niruiyu
ef949581ea
Raise TPL to prevent the BlockIo instance for USB device is removed during the locating the instance and using it.
...
Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12203 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25 03:55:39 +00:00
li-elvin
47a43df2df
Remove the code added originally to restore 8254 timer to 54ms.
...
Signed-off-by: li-elvin
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12109 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-09 05:39:20 +00:00
niruiyu
7dad86fc60
Print PCI Interrupt Line/Interrupt Pin registers before booting legacy OS.
...
Signed-off-by: niruiyu
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12088 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-04 09:14:31 +00:00
li-elvin
c5493c54d5
Normalize data transfer buffer in BlockIo thunk driver to avoid INT 13 Function 42H returning data boundary error (09H).
...
Signed-off-by: li-elvin
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12084 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-04 02:23:39 +00:00
lgao4
3c28a7280b
Fixed the issue in RuntimeStatusCode library that may not work on the early dispatched Runtime driver.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12072 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-02 06:23:16 +00:00
li-elvin
af00cab88d
Put free the buffer GraphicsOutput.Mode in correct place.
...
Signed-off-by: li-elvin
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12065 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-01 07:18:24 +00:00
rsun3
1261fe23ca
Clean and split AcpiVariable.h in IntelFrameworkModulePkg into 2 new .h files for better modularity: IntelFrameworkModulePkg\Include\Guid\AcpiVariableCompatibility.h,
...
MdeModulePkg\Include\Guid\AcpiS3Context.h.
Signed-off-by: rsun3
Reviewed-by: jljusten
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12063 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-01 06:09:17 +00:00
jljusten
664e368fd9
IntelFrameworkModulePkg: Add ExitPmAuth protocol definition
...
Signed-off-by: jljusten
Reviewed-by: geekboy15a
Reviewed-by: jyao1
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12030 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-19 20:47:45 +00:00
niruiyu
0c9f676d50
Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid.
...
Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11986 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-06 03:47:08 +00:00
niruiyu
a97a859621
Enhance BDS to avoid the additional reset when the platform pre-allocated memory is large enough.
...
Signed-off-by: niruiyu
Reviewed-by: mdkinney
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11983 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-06 03:23:15 +00:00
niruiyu
c2d9a4d253
Fix the comments to follow UEFI Spec regarding how to check an EFI_HANDLE is valid/invalid.
...
Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11980 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-05 09:21:58 +00:00
niruiyu
889a4bc2a9
Fix the BDS to show UEFI hard drive boot option as "EFI Hard Drive" instead of "EFI DVD/CDROM"
...
Signed-off-by: niruiyu
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11974 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-05 07:55:45 +00:00
qianouyang
9972247d89
Add the support for Boot Option with all 0xff USB class Device Path.
...
Signed-off-by: qianouyang
Reviewed-by: xdu2
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11972 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-05 02:08:21 +00:00
jljusten
92d4b03fcc
IntelFrameworkModulePkg: Add PalLib library class mapping
...
This is required for Csm/LegacyBiosDxe on IPF.
Signed-off-by: jljusten
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11934 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-30 20:19:03 +00:00
andrewfish
5817d50862
IntelFrameworkModulePkg: Fix clang compielr warning.
...
Clang complains about if (()) constructs as it thinks you may be doing a compare and assign in the same if structure.
signed-off-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11923 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-28 23:11:25 +00:00
jljusten
bcecde140a
IntelFrameworkModulePkg: Add Compatibility Support Module (CSM) drivers
...
Added these drivers:
* LegacyBiosDxe
* BlockIoDxe
* KeyboardDxe
* Snp16Dxe
* VideoDxe
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11905 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-27 23:32:56 +00:00
jljusten
070fba652f
IntelFrameworkModulePkg: Add Guid/AcpiVariable.h
...
Signed-off-by: jljusten
Reviewed-by: mdkinney
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11903 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-27 23:31:40 +00:00
ydong10
f6bd06633d
Refine code to follow coding style.
...
Signed-off-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11875 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-23 01:33:03 +00:00
jljusten
d8387fa4af
IntelFrameworkModulePkg: Add IsaFloppyPei driver
...
Signed-off-by: jljusten
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11845 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-17 17:42:49 +00:00
jljusten
f6079c7003
IntelFrameworkModulePkg GenericBdsLib: Remove unwanted assert condition
...
If the call to SetVariable is to delete the variable,
but the variable was not found, then we return EFI_SUCCESS
rather than EFI_NOT_FOUND.
Signed-off-by: jljusten
Reviewed-by: jcarsey
Reviewed-by: geekboy15a
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11840 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-16 22:44:27 +00:00
niruiyu
63b3061628
Add return status check for SetVariable.
...
Signed-off-by: niruiyu
Reviewed-by: jljusten
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11722 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-02 01:48:33 +00:00
niruiyu
701e17e520
Update the comments to describe the purpose of Removable array.
...
Signed-off-by: niruiyu
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11709 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-27 03:24:34 +00:00
niruiyu
35bc0e9f02
Originally BDS only creates boot options for removable media, the patch creates boot options for fixed media as well.
...
Signed-off-by: niruiyu
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11707 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-26 06:34:07 +00:00
li-elvin
4bb5fd6754
Add more status code in drivers.
...
Signed-off-by: li-elvin
Reviewed-by: jyao1
Reviewed-by: lgao4
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11705 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-26 06:28:21 +00:00
ydong10
d88f86f154
Refine all R9 call back function to return EFI_UNSUPPORTED for all unsupported call back type.
...
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11681 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-20 01:33:42 +00:00
vanjeff
e812318638
Update PS/2 keyboard driver to return scan code for Pause key.
...
Signed-off-by: vanjeff
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11657 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-16 02:00:34 +00:00
mdkinney
4784d660a6
Fix DEC files so any PCD declared as Dynamic is also declared as DynamicEx
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11620 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04 21:41:39 +00:00
li-elvin
abfbafd5a7
Remove disabling keyboard/auxiliary interface in Driver Binding Protocol.Stop() of Ps2KeyboardDxe/Ps2MouseDxe/Ps2MouseAbsolutePointer driver so that PS/2 keyboard and mouse can be used with legacy option ROMs after all EFI drivers have been disconnected.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11611 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-04 01:06:36 +00:00
niruiyu
5d7ca12492
Change BlockIo drivers to return EFI_NO_MEDIA or EFI_MEDIA_CHANGED even the Buffer/BufferSize/Lba is invalid so that caller can probe the media status easier.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11585 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-25 09:32:25 +00:00
niruiyu
d394581d11
The hotkey callback in BDS module should defer loading the boot option until the TPL drops to TPL_APPLICATION after the keyboard driver is enhanced to call hotkey callback in timer handler whose TPL is higher than TPL_APPLICATION.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11573 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-20 08:51:18 +00:00
niruiyu
c220787b13
Fix the PS2 keyboard driver to call hotkey callback even no one is calling ReadKeyStroke
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11564 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-19 06:53:29 +00:00
niruiyu
b70a580bad
Add assertion check for TmpString against NULL.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11509 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-07 02:02:21 +00:00
niruiyu
2fde83b14c
> 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/trunk/edk2@11494 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-01 05:22:18 +00:00
ydong10
be1b161278
Update inf file to follow spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11451 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-30 03:36:54 +00:00
ydong10
d9a743c696
Enhance inf to follow spec.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11390 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14 08:40:20 +00:00
mdkinney
c77b88d627
Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask.
...
1) Update PeiDxeDebugLibReportStatusCode to use DebugPrintErrorLevelLib instead of the PcdDebugPrintErrorLevel PCD.
2) Add default mappings for the DebugPrintErrorLevelLib to the DSC file for this package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11368 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10 22:25:34 +00:00
niruiyu
6617d838fa
Fix the bug that BDS assumes any boot option resides in the FV is Shell which causes that the non-Shell FV boot option is removed by GenericBdsLib.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11342 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-01 06:46:24 +00:00
ydong10
c1e2b15289
1.Refine all the goto and action opcode. When the menu link to the sub form, use the goto opcode and show the arrow. Others use the action opcode.
...
2.update the front page info. move down one line.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11335 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-23 05:08:04 +00:00
ydong10
8e491a81e0
Enhance BMM to support changing FlowControl setting in Front Page.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11317 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-16 05:31:39 +00:00
lgao4
7373d15a98
Add the missing up/down arrow in UNI string.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11292 6f19259b-4bc3-4df7-8a09-765794883524
2011-02-01 06:23:21 +00:00
niruiyu
d6bf79a7f5
Add assertion after memory allocation.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11288 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-31 04:15:27 +00:00
niruiyu
be88744770
Add back the BdsDeleteBootOption to pass build.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11283 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-28 09:21:43 +00:00
niruiyu
22d1f97835
BDS enhancement: enumerate & show all legacy boot options in Boot Manager so that user is able to boot any devices in the same type in Boot Manager without changing the legacy dev order.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11279 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-28 02:36:26 +00:00
niruiyu
b452ca8992
Enhance BDS to support Boot/Driver option whose option number >= 0xFF.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11242 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-10 05:56:55 +00:00
niruiyu
2183cf2353
Fix ICC9 compiler failure
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11236 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-07 10:11:46 +00:00
niruiyu
b1620d0bee
Fix the bug that duplicate HDD is shown in the BMM.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11233 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-06 09:45:03 +00:00
erictian
8c716296fa
in Recovery path, doesn't warm reset even if MemoryTypeInfo data is changed.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11225 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-05 02:33:47 +00:00
mdkinney
ee686203fd
Use REPORT_STATUS_CODExxx() macros directly.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11224 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-03 19:25:00 +00:00
mdkinney
9969fde78d
Update the Timeout used for Write() operations to consider the case where the Tx FIFO is full on entry to Write().
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11211 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-30 22:30:57 +00:00
xdu2
7389fdd0b8
Add support for BootOption with USB Class or USB WWID device path node.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11198 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-24 05:33:08 +00:00
ydong10
638dffa97f
Revert patch 11146 about file guid.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11192 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-23 01:03:34 +00:00
niruiyu
12b7f509dc
Removes the assumption in Supported() and Start() routine that the EFI_SIO_PROTOCOL is installed in the immediate child handle of the PCI controller. Multiple SIO platform could have an additional layer between the PCI controller and the EFI_SIO_PROTOCOL instance.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11178 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-17 05:55:47 +00:00
ydong10
20e7314028
Update inappropriate comments.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11172 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-15 07:39:28 +00:00
niruiyu
3a0e054598
Fix the IsaIo driver to not create ISA resource item when the ACPI resource returned from EFI_SIO_PROTOCOL::GetResources() is 0.
...
This could avoid creating the ISA resource item with StartRange = 0 and EndRange = 0xffffffff when the ACPI resource Base and Len both are 0 because we set StartRange = Base and EndRange = Base + End - 1.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11164 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-14 07:17:55 +00:00
ydong10
d04608758d
fix potential memory access violation
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11152 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 11:16:24 +00:00
ydong10
d3b4af2bca
fix build error on ICC compile.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11150 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 08:42:36 +00:00
lzeng14
e519401bd5
Enhance IdeBusDxe to check the class code for IDE mode only.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11147 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 02:45:29 +00:00
ydong10
5091b4759f
Change the file guid value to avoid conflict as another file.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11146 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-10 02:21:56 +00:00
ydong10
3c4b1122e0
[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
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11137 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-09 01:44:07 +00:00
niruiyu
d860010877
Fix the bug that <continue> may not boot the first boot option but return back to front page.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11109 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-01 05:57:13 +00:00
lgao4
b4c9005886
First try to get log time at TPL level <= TPL_CALLBACK, then fill time into DataHub.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11102 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-29 04:41:58 +00:00
niruiyu
0fa3ac1bb8
Fix the checking logic for the boot option enumeration.
...
Fix the memory leak issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11098 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-26 06:33:19 +00:00
lgao4
1134ead4a3
Reduce DataHub TPL Level to TPL_CALLBACK, because DataHub uses GetTime() service that must be called <= TPL_CALLBACK.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11097 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-26 06:32:35 +00:00
vanjeff
8185265e69
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/trunk/edk2@11084 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-23 07:51:00 +00:00
niruiyu
7caf72a907
Use PcdResetOnMemoryTypeInformationChange in MdeModulePkg to control whether to reset system when memory type information changes.
...
Check memory type information after signaling the ReadyToBoot event.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11080 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-22 05:25:03 +00:00
vanjeff
cd73414527
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.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11022 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-10 06:12:25 +00:00
niruiyu
fefefa4cb1
Remove unnecessary mBdsImageHandle.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11012 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-08 06:56:57 +00:00
mdkinney
d2720e0ce8
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/trunk/edk2@11008 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-05 20:22:18 +00:00
niruiyu
d69bf66dc1
Fix the corner case when there is only "\0\0" appended and the Index is 1. Return missing string instead of empty string.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10914 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-11 04:37:28 +00:00
lgao4
b61bb3b3ce
Add the missing EFIAPI for StatusCode handler.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10896 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-25 05:45:14 +00:00
niruiyu
7bee5a761f
Add additional reset when Memory Type Information settings change.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10879 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-16 01:14:51 +00:00
mdkinney
dd9a7d50d7
Update this library to restrict usage to DXE_RUNTIME_DRIVER and DXE_SMM_DRIVER module types
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10864 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-10 20:05:25 +00:00
niruiyu
2ca7eca448
Fix a bug in GetOptionalStringByIndex() that doesn't handle the case when Index == 0.
...
Code is re-organized to be more readable and simpler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10823 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-26 03:15:23 +00:00
niruiyu
f6aa9c1bb5
Fix GCC build failure
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10809 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-20 05:30:07 +00:00
niruiyu
558be4559a
Check in the IsaIoDxe device driver that consumes EFI_SIO_PROTOCOL to produce EFI_ISA_IO_PROTOCOL.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10808 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-19 02:40:27 +00:00
xli24
28a94112d1
Add datahub status sode handler driver.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10795 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-13 05:43:30 +00:00
xli24
13314ba32a
Add explicit type cast to suppress possible warning of precession loss.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10786 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-10 07:47:20 +00:00
niruiyu
9572320f13
Remove the EHCI/UHCI inter-dependency in GenericBdsLib since the EHCI/UHCI controller drivers already take care the start() sequence.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10782 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-09 07:21:50 +00:00
xli24
10c9a2e3f6
Add NULL pointer checking against Data.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10725 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30 08:41:57 +00:00
xli24
5d4a0dbc91
Handle gEfiStatusCodeDataTypeStringGuid in status code drivers.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10717 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30 05:38:39 +00:00