Commit Graph

637 Commits

Author SHA1 Message Date
jljusten af03df86f7 IntelFrameworkModulePkg: SerialStatusCode output was incorrect
The string being built had a character being overwritten.  This
also lead to a NULL character being sent out to the serial port
for the last character in the string.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9669 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 16:17:52 +00:00
jljusten 090d308851 IntelFrameworkModulePkg LZMA: Support running LZMA from flash/rom
Previously the code relied upon global variables which could not be
modified if the code was running from ROM (or similarly a flash memory
which is not easily modified).

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9667 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 16:17:47 +00:00
lgao4 807765a034 Correct help information for Delete Boot option and Change boot option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9666 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 10:28:59 +00:00
xdu2 ff482c5692 Update GenericBdsLib to support BootOption for VLAN device.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9650 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-30 13:52:19 +00:00
xli24 9971c1b1c7 Remove OemHookStatusCodeLibNull from IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9643 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 09:44:14 +00:00
xli24 e25cd12c55 Move non-framework status code library instances to MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9632 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 07:53:43 +00:00
xli24 d42aba9882 Move non-framework status code library instances to MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9630 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 07:46:33 +00:00
xli24 253a88e133 Remove unnecessary dependency on IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9625 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 07:28:40 +00:00
xli24 3e31f1f409 Remove unnecessary dependency on IntelFrameworkPkg and IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9624 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 07:17:35 +00:00
xli24 6237bf0e9b Move Status Code Handler modules for PI implementation to MdeModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9610 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-25 07:28:04 +00:00
xli24 f979eec000 Remove status code modules' dependency on IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9604 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-25 06:34:07 +00:00
eric_tian a115836609 update file/function comments to list the string length limitation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9596 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-24 03:22:31 +00:00
davidhuang ce00a23274 PI 1.1 SMM Feature Check-in
1. Add SmmReportStatusCodeLib library instance.
2. Add StatusCodeHandler Smm part

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9593 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-23 06:52:37 +00:00
jljusten 8861fc792c Add missing EFIAPI instances on several functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9570 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-16 23:28:46 +00:00
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