Commit Graph

439 Commits

Author SHA1 Message Date
vanjeff 392d56cf4e fixed comments problem.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4619 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-24 02:38:23 +00:00
vanjeff ea5632e56d 1. Remove USB HC Protocol installing from Uhci module. It only installs USB2 HC protocol.
2. Restore Incompatible Pci Device Support Protocol in PciBus module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4617 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-23 09:41:04 +00:00
eric_tian 758cc0cf7e update
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4613 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 08:10:49 +00:00
eric_tian 7a444476b4 move iscsi driver into network directory, and change its name to comply with name convention.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4612 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 08:07:35 +00:00
eric_tian 69b0882d3e fixed icc build bug
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4609 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-22 07:14:48 +00:00
qwang12 93e3992d1e UEFI HII: Merge UEFI HII support changes from branch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4599 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 14:39:56 +00:00
vanjeff 7347d5d6e6 1. Sync the tracker for supporting the ModeNumber larger than 2.
2. Fixed one bug in SetMode(), Cursor should not be enabled with mandatory.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4594 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-21 09:40:59 +00:00
lgao4 7800593dca Reclaim occurs as late as possible before OS boot for keep enough space used by OS
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4574 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-17 09:59:51 +00:00
vanjeff c3f6b7b62e Back the wrong check in for MdeModulePkg.dsc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4572 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-17 05:58:14 +00:00
vanjeff 3012ce5cf7 1. Fixed bugs in DxeNetLib to meet consistence with network module DriverBinding protocol.
2. Sync bugs in console modules.
3. Sync bugs in PlatDriOverLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4571 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-17 05:56:45 +00:00
vanjeff b290614d49 Port PlatformDriOverrideDxe into R9.
1. Add one OverrideVariableGuid in MdeModulePkg
2. Add one library PlatDriOverLib used by PlatformDriOverrideDxe.
3. Add PlatformDriOverrideDxe in MdeModulePkg

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4557 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-16 09:04:43 +00:00
yshang1 77aa51cd89 Fix bug that failed to reclaim the variable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4556 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-15 13:02:26 +00:00
yshang1 130e25699a 1) Replace MACRO with C functions.
2) Add HEADER_VALID_ONLY state of variable, which represents only the header is valid and the data/name is stale. This may be caused by incomplete data updating. Adding the state helps to check whether the header is valid. If variable header is valid, then we must skip the data of variable with the valid size. If the header is invalid, we should only skip the header of variable. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4555 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-14 06:35:23 +00:00
vanjeff 51dc1f659f Fixed one bug in UefiPxeBc start()/stop(). That would cause stop() failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4553 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-11 07:22:12 +00:00
yshang1 ab5f0d6d12 Change C functions, xxxSizeOfVariable(), to MACRO, which can avoid the ICC compile error "Unspecific evaluated order".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4552 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-11 03:16:46 +00:00
yshang1 9cad030bc1 Align the header of variable from 1 to 4, which can avoid the size of variable content corrupt if the critical data cross two flash block.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4543 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-10 04:26:13 +00:00
yshang1 fdb7765f2d 1) Fix the bug that Variable Cache Search does not be protected by lock during boot time. It potentially results in the info from GetVariable() is not correct.
2) Check the integrity of Variable header. In original implementation, if not whole header is correct, then the variable will be treat as invalid. typically, if the NameSize has been programed but the DataSize not, then the variable storage would failed to set new variable.
3) Change the Variable Header Alignment from 1 to 4 bytes on x86. It avoids the DataSize or NameSize cross two blocks. For example, in original implementation, if the NameSize crosses two block, when the FLASH manipulation is interrupted after programed HSB of NameSize and prior to program LSB of NameSize on next block, then the invalid variable header will result in the Variable Storgae broken.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4538 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-09 10:10:16 +00:00
vanjeff aec072adb2 sync tracker to remove duplicate display mode in ConOut virtual handle GOP instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4533 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-09 05:55:46 +00:00
vanjeff b7d3c63160 fixed one bug when calculate the string length.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4524 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-08 08:15:44 +00:00
eric_tian 07a7038c78 update for passing the ICC compiler
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4498 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-04 05:51:44 +00:00
vanjeff dc361cc5a0 1. Import UEFI PxeBc module in MdeModulePkg
2. Remove some SMBIOS definitions defined in PxeBc module, use those who are defined in MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4495 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-04 02:29:30 +00:00
lgao4 822360ee34 Measure PEimage and ActionString data according to TPM requirement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4494 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-04 02:11:51 +00:00
lgao4 0c0f317445 Add TCG/TPM internal PPI and Protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4463 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-02 06:48:16 +00:00
vanjeff ca12415ac9 Fixed the porting issue. That leads uninitialized variable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4458 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-02 02:34:20 +00:00
eric_tian bcb9d421e0 usb kb's bug fix
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4440 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-26 09:02:05 +00:00
eric_tian db9d722df1 align all fields of data struct
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4438 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-26 08:15:09 +00:00
vanjeff ecb575d9e6 Enhance the Usb bus driver to support Star with Remaining device path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4437 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-26 06:38:15 +00:00
vanjeff 50cb16d9ee Fixed the bug that the PPI descriptor number defined in PeiCore.h is not enough to hold all the PPI and PPI notifies.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4435 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-26 02:43:28 +00:00
eric_tian 6a690e23d7 add iSCSI protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4423 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-24 02:20:21 +00:00
klu2 d073838628 Remove 'Framework' word in comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4403 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-20 03:15:02 +00:00
qwang12 893ce03b01 fix a issue to pass ICC build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4401 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-18 07:26:18 +00:00
vanjeff c4a62a12c2 Sync the latest version from R8.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4400 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-18 07:01:23 +00:00
vanjeff a182eb4624 Fixed the bug when set mode value is less than the Max mode value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4397 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-17 08:07:15 +00:00
lgao4 b2c5e194a8 Use AllocatePage for FvImage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4385 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-11 05:14:16 +00:00
jwang36 bc4b81899a Changed the file or directory name inconsistences
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4384 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-11 02:09:10 +00:00
lgao4 38837959db Move sure FvImage buffer at its alignment when install FVB protocol on it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4380 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 08:50:24 +00:00
klu2 797a9d6791 MdeModule cleanup for PI:
1) PeiMain:
   - Use PCD for bundle of status code which definitions are put into MdePkg.dec file.
2) DxeMain:
   - Use PCD for bundle of status code which definitions are put into MdePkg.dec file.
   - Do not produce SectionExtraction protocol which is belong to IntelFramework specification.
   - Update many macro for PI specifications.
3) DxeIpl
   - Use PCD for bundle of status code which definitions are put into MdePkg.dec file.
4) Add SectionExtractionDxe module (IntelFrameworkModulePkg)
   - This module will produce EFI_SECTION_EXTRACTION_PROTOCOL defined in framework specification. If a old platform want to use this protocol, then this platform need dispatch this DXE driver.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4376 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 03:47:56 +00:00
mdkinney 70279390ba Remove logic to repair image handles
Fix bug when new image handles are generated by Platform Driver Override or Bus Specific Driver Override


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4374 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 00:43:22 +00:00
mdkinney f58f873c3b roll back change
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4373 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-10 00:18:28 +00:00
lgao4 c4869732ec Cache FvImage at buffer with its required alignment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4372 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-07 10:25:56 +00:00
qhuang8 0c9d739571 1. Move some status code related PCDs to MdePkg
2. Let DxeIpl PEIM to enable IDT table by default.
3. Fix spelling typo in UefiLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4368 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-07 02:06:52 +00:00
jljusten c93ce6481e edk2/MdeModulePkg/Include/Protocol/Dpc.h
Remove unneeded 'typedef' near 'struct _EFI_DPC_PROTOCOL'
  to remove compiler warning.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4367 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-06 23:14:00 +00:00
lgao4 288f9b3824 Enable PeiCore to dispatch the encapsulated fv images with depex expression. This feature can process the different fv images in the different boot path, which is useful for boot performance and image size.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4366 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-06 09:52:27 +00:00
lgao4 6ee65722c7 Update CapsuleDriver to use capsule library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4365 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-05 09:58:33 +00:00
lgao4 0537d50f85 Add Capsule library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4360 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-05 07:07:13 +00:00
qhuang8 348c8131af 1. Update default value to adapt to most platform.
2. Fix issues about PCD usage: PCDs in DSC file should be within one of validate PCD types in dependent package DEC file. (Newer build tool will do stricter checking.)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4357 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-05 06:32:21 +00:00
lgao4 d0e24078f3 Add Capsule library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4355 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-05 06:28:08 +00:00
klu2 1547078bec Roll back wrong check in, peimain and dxe main still dependent on intelframeworkpkg yet.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4354 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-04 03:52:59 +00:00
klu2 2678061975 Remove useful dependency package's relationship
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4353 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-04 02:57:38 +00:00
mdkinney adc8840a25 Update ConnectController() to convert an ImageHandle retrieved from the Platform Driver Override Protocol or the Bus Specific Driver Override Protocol into a set of Driver Binding Handles. This is required if the ImageHandle produces more than one Driver Binding Handle or produces a Driver Binding Protocol on a handle other than the ImageHandle for the driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4346 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-30 02:35:26 +00:00