593 Commits
Author SHA1 Message Date
lgao4 6d15fb6b6c 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/UDK2008@11695 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-24 02:01:15 +00:00
vanjeff 429592f320 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/UDK2008@11096 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-26 02:10:45 +00:00
vanjeff d27658a83a sync patch r9931 from main trunk.
Fix ICC build break.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2008@11062 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-16 08:31:14 +00:00
vanjeff fb19cc2c71 sync patch r10351, r10352, r10353, r10354, r10360 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/UDK2008@11061 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-16 08:28:52 +00:00
vanjeff a6bbb98ece sync patch r11043 from main trunk.
Fix bug: The lower 2 bits of Width and stripped, Count will always be multiplied by 1, which will leave Count unchanged.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2008@11056 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-15 02:36:24 +00:00
vanjeff 5f14feed8e 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/UDK2008@11040 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-11 06:33:12 +00:00
vanjeff 8a046ef0dd sync patch r11016, r11020 from main trunk.
Some existing PCI adapters with UEFI option ROMs make unaligned requests through the PCI I/O
Protocol. Add support for unaligned requests in the PCI IO protocol implementation in the PCI
Bus driver to be compatible with those UEFI option ROMs.

This solution defines a PCD Feature Flag to enabled support for unaligned requests through the
PCI I/O Protocol.  This flag is disabled by default. Platforms that do want to support such
EFI/UEFI drivers that make unaligned PCI I/O requests should enable this feature.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2008@11038 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-11 06:04:53 +00:00
vanjeff d6307df84d 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/UDK2008@11032 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-11 05:48:59 +00:00
lgao4 685a19ed05 Sync patch r9792 from main trunk.
r9792  - Code enhancement to make sure the pool is valid to be free.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2008@10960 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-19 05:55:11 +00:00
vanjeff 4c3ce2121a sync patch r10864, r10865, r10876 from main trunk.
1. Update the Runtime 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/UDK2008@10957 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-19 05:23:06 +00:00
lgao4 e17e261f7b Sync patch r9905 from main trunk.
r9905 - Enhance BdsDxe to support original EFI_IFR_FORM_SET opcode in initial UEFI2.1 spec for compatibility.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2008@10742 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30 08:55:38 +00:00
lgao4 f4e6a362f7 Sync patch r9599 from main trunk.
r9599 - Update resource degrade algorithm in PCI bus driver. 
        1. If any child device has both option ROM and 64-bit BAR, degrade its PMEM64/MEM64 requests 
           in case that if a legacy option ROM image can not access 64-bit resources.
        2. If there are both PMEM64 and PMEM32 requests from child devices, which can not be satisfied 
           by a P2P bridge simultaneously, keep PMEM64 and degrade PMEM32 to MEM32.
        3. PMEM64/MEM64 are not supported when firmware is in 32-bit mode.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2008@10733 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30 08:47:53 +00:00
lgao4 cf2823dc4c Sync patch r9598 from main trunk.
r9598 - Update PCI bus driver to support non-standard PCI to PCI bridge I/O window alignment, such as 2K/1K/512 byte. 
        Feature PCD PcdPciBridgeIoAlignmentProbe is introduced to turn on/off this feature.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2008@10730 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30 08:45:30 +00:00
lgao4 d2ef3dabbd Sync main trunk r9373.
1. Correctly create Column * Row string.
2. Add error handle for no data hub system.
3. Use HiiLib and UefiHiiServicesLib APIs to eliminate the symbol collision.
4. Fix a UI hang bug when adding Boot Option or Driver Option.
5. Set filename with device path for load file devices.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2008@10728 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30 08:43:34 +00:00
lgao4 83136954db Sync patch r9071, r9209 from main trunk.
r9071 - Add performance logging on EFI boot path.
r9209 - Beatify the debug string for displaying boot device when boot EFI device path.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2008@10727 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30 08:42:31 +00:00
lgao4 f0e90d148c Sync patch r9053, r9072 from main trunk.
r9053 - 1. 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.
r9072 - 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/branches/UDK2008@10726 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30 08:42:03 +00:00
lgao4 11c6201211 Sync patch r9062 from main trunk.
r9062 - 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/branches/UDK2008@10723 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-30 08:34:20 +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
mdkinney 2828833eae Fix build break for missing definition of PCI_IF_EHCI
Resolves artifact EDKT565

https://edk2.tianocore.org/servlets/tracking/id/EDKT565



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9006 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 19:31:01 +00:00
eric_tian 949ae9a793 roll back the changes on replace Pcixx.h with Pci.h due to it's NOT in the scope of this release.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9003 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 09:12:47 +00:00
eric_tian 9910cfe7db if module doesn't explicitly depend on specific Pci spec, it should include IndustryStandard/Pci.h rather than Pcixxx.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8997 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 06:17:22 +00:00
eric_tian 5f52bc92fe remove two duplication macros "PCI_CLASSC_PI_UHCI/PCI_CLASSC_PI_EHCI", which have been defined in IndustryStandard/Pci.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8993 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 06:11:49 +00:00
lgao4 19bf20e11a Clean up code
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8975 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-21 07:57:29 +00:00
eric_tian f98dc3cd13 move EFI_IOB_ATA_BUS_SMART_ENABLE EFI_IOB_ATA_BUS_SMART_DISABLE EFI_IOB_ATA_BUS_SMART_OVERTHRESHOLD and EFI_IOB_ATA_BUS_SMART_UNDERTHRESHOLD macros to StatusCode.h in IntelFrameworkPkg\Include\Framework.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8966 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-17 09:45:22 +00:00
klu2 7edfacbff8 Fix build broken issue for ICC 9.0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8960 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-17 01:40:55 +00:00
klu2 5caec787e1 Fix bug that some boot option can *not* be displayed correct in boot manager and boot maintain manager.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8956 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-16 06:54:41 +00:00
darylm503 128efbbcc2 Clean up PERF macro usage. The macros were being used with 0 as the first parameter. This parameter is actually a void*. All of these instances were corrected to use NULL as the first parameter.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8954 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-15 22:28:07 +00:00
darylm503 24098ac0b2 Clean up PERF macro usage. The macros were being used with 0 as the first parameter. This parameter is actually a void*. All of these instances were corrected to use NULL as the first parameter.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8953 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-15 22:09:29 +00:00
pkandel d0bd68b21f Committing changes to the comments, after review with engineers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8950 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-15 13:32:34 +00:00
vanjeff 1d14c35596 updated parameters name to match spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8939 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-14 06:04:38 +00:00
mdkinney 19525fed8d Remove the following Protocols from the IntelFrameworkModulePkg because they are identical to Protocols from the PI 1.2 Specification that have been added to the MdePkg
1) Disk Info Protocol and its associated device GUIDs
2) PCI Hot Plug Request GUID


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8937 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 19:05:07 +00:00
eric_tian a798a78906 ProcessCapsule() and BdsMemoryTest() are implemented in the BdsDxe module, which will be invoked at PlatformBds library.
It is not proper for a library implementation to assume the names of function in a parent module.
Instead, they must be designed as the pointers to these two BdsDxe functions and passed in.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8929 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 12:04:24 +00:00
vanjeff f3f33e1da8 rollback for fix scsi disk detection issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8927 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 10:26:20 +00:00
klu2 429cac9c17 Retire description string macro for boot device type which are not defined in UEFI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8926 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 10:20:09 +00:00
vanjeff 21d2b17f98 updated parameters name to match spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8920 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 05:53:48 +00:00
mdkinney ce1e1d5ae9 Fix Doxygen comment syntax
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8906 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-12 23:39:58 +00:00
mdkinney 79bc7a89f7 Remove extra #includes where possible to make build more efficient
If module really is a Framework module and not a PI module, then use FrameworkDxe.h instead of PeDxe.h


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8900 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-11 23:27:49 +00:00
mdkinney 971d3ab18d Remove extra #Include
Remove platform specific capsule action from generic BdsDxe


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8891 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 23:55:52 +00:00
eric_tian bab0c17ae9 update the function header comment to comply with PI1.2 volume 5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8879 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 10:17:40 +00:00
eric_tian 0995a97400 roll back the change on the naming of DataHubRecords.h for backward compatibility.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8877 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 10:16:37 +00:00
lgao4 55e1864e6b Add the missing header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8869 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 08:37:27 +00:00
lgao4 63b67687ef Move LockKeyboards API from GenericBdsLib to PlatformBdsLib
And change PlatformBdsLockNonUpdatableFlash in PlatformBdsLib return type to VOID.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8866 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 08:06:56 +00:00
gikidy 77b91d896f Replace Fixed PCD with Feature PCD for useHalfHandshake to reduce code size.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8862 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 07:55:14 +00:00
xli24 10c1a4ca0c Merge 3 PCDs for the ISA Bus Driver to a single PCD that is a bitmask of features.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8861 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 07:01:42 +00:00
vanjeff d2eec31912 enhanced check when reading BMP file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8859 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 05:03:24 +00:00
lgao4 24cdd14e81 Move LockKeyboards API from GenericBdsLib to PlatformBdsLib
And change PlatformBdsLockNonUpdatableFlash in PlatformBdsLib return type to VOID.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8855 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 03:26:52 +00:00
gikidy 2e01113094 Fix a bug that process received data twice, it will cause serial work incorrect.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8854 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 03:05:10 +00:00
mdkinney 9a6b4de21d Update BdsDxe to fill int he FirmwareVendor and FirmwareRevision fields of the EFI System Table based on PCD settings
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8849 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09 23:52:16 +00:00