Commit Graph

623 Commits

Author SHA1 Message Date
klu2 ed79462bee there is no 0 between a SMBIOS buffer and the first string in unformated area. So no need + 1.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9555 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-11 11:52:26 +00:00
klu2 351615ee5e The consumer for smbios recorder should *not* make assumption the SMBIOS structure in special version. For length of smbios record, consumer need judge the SMBIOS->Hdr.Length but not use size of (SMBIOS_TYPE0) style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9553 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-11 05:51:39 +00:00
lgao4 6191043539 Add the missing HiiVendor DevicePath for new added DriverHealth Form.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9546 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-09 08:19:47 +00:00
lgao4 261835ccf2 Don't need call SAP measure GPT table, which can be covered in SAP implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9541 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-08 05:29:54 +00:00
gikidy bd2057a846 Refine code make callback logic same with frontPage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9531 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 05:55:07 +00:00
lgao4 14e436f9b0 Correct LzmaCustomDecompressLib to produce NULL library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9529 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 04:48:29 +00:00
xli24 e567221141 Remove unnecessary reference to CPU I/O Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9525 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 03:31:19 +00:00
gikidy baf46e70a5 Fix some typos & format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9515 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-04 03:35:56 +00:00
gikidy ab4da12626 Driver health management implementation in BDS based on UEFI Specification 2.3.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9514 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-04 03:22:44 +00:00
davidhuang 6cfbf7adff 1. PI SMBIOS Checkin. Major change include:
1) Produce PI SMBIOS protocol in MdeModulePkg
2) Update all consumers (in CorePkgs and native platform pkgs) to consume SMBIOS protocol instead of DataHub
3) Pass ECC tool; Verify Nt32, Duet, Unix platform

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9455 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-20 04:01:15 +00:00
xdu2 8f97f91154 1. Add UEFI 2.2 VLAN device path definition to MdePkg
2. Update DevicePathDxe to support VLAN device path node
3. Update GenericBdsLib function DevicePathToStr() to support VLAN device path node

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9421 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-12 10:40:58 +00:00
xli24 25126a0530 Enable Report Status Code Router introduced in PI 1.2 for PEI and DXE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9388 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-03 02:39:10 +00:00
vanjeff 019dfb9c28 updated BDS to get capsule information from UEFI capsule HOB instead of CAPSULE_HOB_INFO(one GUIDed HOB).
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9379 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-28 07:54:17 +00:00
vanjeff 326f0711dc Allocated one buffer to for option->description, since it may be released by BdsLibBootViaBootOption().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9373 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 09:38:17 +00:00
xdu2 a19ad64bf0 Correct the patch in r9367.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9371 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 08:35:38 +00:00
vanjeff 69533312bf set filename with device path for load file devices.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9370 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 07:47:31 +00:00
xdu2 9ecbc6547b Fix a UI hang bug when adding Boot Option or Driver Option.
Reproduce steps:
1. plug a NIC card to system
2. boot and select "Boot Maintenance Manager"->"Driver Options"->"Add Driver Option", a "MAC" device path will show up
3. select "MAC" device path and press Enter, and then press ESC
4. select "MAC" device path again, then the UI will hang.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9367 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-26 06:47:50 +00:00
davidhuang d47bdf8499 1. Impl PI 1.2 PCI part. Major changes include:
a. Update PciBusDxe module, and move it from IntelFrameworkModulePkg to MdeModulePkg
  b. Move IncompatiblePciDeviceSupportDxe module from IntelFrameworkModulePkg to MdeModulePkg
  c. Update the related consumes in inf/dsc/fdf

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9346 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-20 03:43:09 +00:00
vanjeff 689b2d720c clean up non-English characters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9336 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-10 08:25:50 +00:00
vanjeff 1910fbaf70 clean up non-English characters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9335 6f19259b-4bc3-4df7-8a09-765794883524
2009-10-10 03:32:25 +00:00
vanjeff 5c7e09cbe2 add security check and remove un-necessary return sentence.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9321 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-29 05:47:23 +00:00
htao 9dd44c0be8 Add security check to pass klockwork.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9320 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-28 02:16:44 +00:00
vanjeff eb14b48130 add security check
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9311 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-25 07:53:34 +00:00
htao cf15d83bf5 Fix ICC build failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9278 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-17 02:31:23 +00:00
htao 7fc72ecb0d add SR-IOV support in EDK II.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9269 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-16 09:32:06 +00:00
vanjeff 9be2900668 1. updated "the Bus Driver that creates all of its child handles on the first call to Start()" not to create any child handle if RemainingDeviepath is the End of Device Path Node, per UEFI 2.3.
The others changes include:
a. Check RemainingDevicePath at beginning of Supported(), make sure it has been verified before Start() is called.
b. Check IO protocol firstly rather than EfiDevicePathProtocolGuid, reduce the times entering into Start() function because EfiDevicePathProtocolGuid existed on most of handle.

2. roll back serial drivers not to create child device, if the device speicifed by remainingdevicepath cannot find in the created devices list. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9267 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-16 03:05:46 +00:00
vanjeff af4a63857c updated the Bus Driver that is able to create all or one of its child handles on each call to Start() not to create new child handle if RemainingDeviepath is the End of Device Path Node, per UEFI 2.3.
The others changes include:
1. Check RemainingDevicePath at beginning of Supported(), make sure it has been verified before Start() is called.
2. Check IO protocol firstly rather than EfiDevicePathProtocolGuid, reduce the times entering into Start() function because EfiDevicePathProtocolGuid existed on most of handle.
3. If no any child device is created on last time, and RemainingDevicePath is valid Uart Devcie path, go on creating child device handle based on this RemainingDevicePath.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9262 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-14 08:55:03 +00:00
vanjeff 9d0ece87aa adjust error process code position.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9249 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-08 08:13:08 +00:00
vanjeff 2277ab96eb updated IdeBus driver not to create new child handle if RemainingDeviepath is the End of Device Path Node, per UEFI 2.3.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9248 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-08 07:57:40 +00:00
qhuang8 3d747a890f Refactor the code logic to reduce code size for debug tip.
The original switch case statements does not generate space efficient size when optimization is disabled. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9221 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01 15:05:34 +00:00
qhuang8 33bb632657 Update BdsDxe to use HiiLib and UefiHiiServicesLib APIs to eliminate the symbol collision.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9210 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-31 14:14:44 +00:00
klu2 ab8cc80b8a Beatify the debug string for displaying boot device when boot EFI device path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9209 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-31 07:13:33 +00:00
eric_tian a29a93b4bd revert the change on BdsConsole. when doing minimal boot, the ConsoleIn variable is used to store existing input device's device path. If the device can not be connected, its device path will be removed from ConsoleIn.
So due the usb hot plug feature, we should always connect USB host controller according to the consolein device provided by PlatformData file before entering frontpage. This way can avoid usb device can not work in frontpage phase.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9207 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-31 02:39:56 +00:00
vanjeff 0c3312f503 StartPciDevicesOnBridge() should correct return value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9205 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-28 05:33:36 +00:00
qhuang8 563c9c8a03 Make end of line consistent.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9185 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-24 15:53:25 +00:00
qhuang8 203677f8b8 Make end of line consistent caused by previous check in.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9181 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-24 15:33:01 +00:00
qhuang8 918b6e775f Integrate the patch contributed by Andrew Fish to add ARM support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9175 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-24 15:24:23 +00:00
jchen20 8f3e12297a modified to removed references to WinNt in the comments for serial drivers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9085 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-18 06:23:53 +00:00
qhuang8 02c9c47027 1. Log performance data below 4G
2. Reuse the allocated data region if it's already allocated

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9072 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-14 05:58:46 +00:00
qhuang8 cd6a3b157c Add performance logging on EFI boot path
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9071 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-14 05:55:45 +00:00
lgao4 b55f8b0146 1. Correct Col * Row string
2. Add error handle for no data hub system.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9065 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-14 02:21:55 +00:00
eric_tian 0fac539f37 recalculate the total size of format string printed by DebugPrint().
To ensure constructed BaseListMarker can work on IPF, code preserves 4bytes to guarantee it's 64bits alignment. So the calculation algorithm on total size also should be updated.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9062 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-13 02:33:05 +00:00
vanjeff e5d1b4f48b add correct [Depex] section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9058 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-12 06:55:30 +00:00
qhuang8 d32fb62383 Do not use EfiACPIReclaimMemory type to log performance data because some OS might reuse that memory. Maybe EfiReservedMemoryType is the best solution for that usage model.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9053 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-11 16:15:29 +00:00
qhuang8 7db60f8252 Update the comments for S3Lib and RecoveryLib instances to state that they are deprecated.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9049 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-11 15:52:57 +00:00
eric_tian 7d1aa703d0 update include file to use IndustryStandard/Pci.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9035 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-11 02:35:46 +00:00
eric_tian 0c7517b92b remove a segment of code, in which it forces EHCI to be connected firstly before UHCI when ConOut variable contains such usb device path.
This code was used to tune performance in Edk. Due to EdkII has enhanced Ehci driver to force it to be connected before UHCI, then the same logic is not necessary. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9030 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-10 06:30:00 +00:00
lgao4 a90ccab851 Correct the format of comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9029 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-07 02:20:01 +00:00
jljusten 772d3214e9 Update links for broken urls in BaseTools/gcc/mingw-gcc-build.py script.
The new version of mingw-w64-snapshot-20090419.tar.bz2
requires a modification to
  IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/UefiLzma.h
in order to build successfully with the new mingw header files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9027 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-05 21:11:56 +00:00
vanjeff 738508648f update MdePkg version to 1.01
update MdeModulePkg version to 0.90
update IntelFrameworkPkg version to 0.90
update IntelFrameworkModulePkg version to 0.90


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9021 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-29 14:33:45 +00:00