Commit Graph

553 Commits

Author SHA1 Message Date
eric_tian e92d66f280 [Description]
fix the wrote data corrupt bug about iscsi
[Impaction]
modify the IScsiGenerateDataOutPduSequence() function in MdeModulePkg.
[Reference Info]
when writing some data from local disk into remote iscsi disk, the data may be corrupt.The root cause is caused by the data out PDU's offset is not created correctly.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4843 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-13 08:35:18 +00:00
lhauch ee17f9c1da Added the ULL to the 0xFFFFFFFFFFFFFFFF values
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4841 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-12 00:02:29 +00:00
jljusten 9cb8724d68 edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiTcp4Io.h:
edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.h:
edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiExtScsiPassThru.h:
edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiDhcp.h:
edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiIbft.h:
edk2/MdeModulePkg/Universal/Network/IScsiDxe/Md5.h:
edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiDriver.h:
edk2/MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.h:
edk2/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.h:
  Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4840 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 19:38:08 +00:00
jljusten 7c3eaa27b6 edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c:
Resolve warning from gcc. ('Digit' variable may be uninitialized)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4839 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 19:33:19 +00:00
jljusten e02b6b9565 edk2/MdeModulePkg/Universal/BdsDxe/BootMaint/BootOption.c:
Resolve gcc warning.  The backslash ('\') at the end of a comment
  line is interpretted as a multi-line comment and generates a
  warning.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4838 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 19:21:25 +00:00
jljusten 5bd4f5fafb edk2/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h:
Resolve gcc warning (does not like multi-character constants
  such as 'menu'.)  Instead use the EFI_SIGNATURE_32 macro.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4837 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 19:19:44 +00:00
jljusten 344177857f edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcImpl.h
Fix filename case(sensitivity) issues. (Smbios.h -> SmBios.h)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4836 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 19:06:05 +00:00
jljusten 12f3a14283 edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.c:
Add 'default' for 'switch' block to resolve warning of
  unhandled enum cases from gcc.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4835 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 18:55:40 +00:00
jljusten 9c87ebc0d1 edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcMtftp.c:
Fixed discrepencies between CHAR8* and INT8* which generate
  a warning on gcc.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4834 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 18:48:39 +00:00
jljusten 19d5671c3b edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcDhcp.h:
Remove l-value cast which generates warnings on gcc.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4833 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 18:47:09 +00:00
jljusten f71bb8f1e7 edk2/MdeModulePkg/Universal/Network/PxeBcDxe/Pxe_bc_mtftp.c:
edk2/MdeModulePkg/Universal/Network/PxeBcDxe/Ip.h:
edk2/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h:
  Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4832 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 18:07:42 +00:00
jljusten bd889f3ce5 edk2/MdeModulePkg/Universal/Network/PxeDhcp4Dxe/PxeDhcp4.h:
Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4831 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 17:59:31 +00:00
jljusten c28d408dd8 edk2/MdeModulePkg/Universal/Network/SnpDxe/Nvdata.c:
Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4830 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 17:52:44 +00:00
jljusten eaf343fff2 edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/Socket.h:
edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/Udp4Impl.h:
  Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4829 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 17:48:25 +00:00
jljusten cf26afe34c edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Option.c:
Comment out unused STATIC function. (TcpPutUint16)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4828 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 17:47:00 +00:00
jljusten 24e58768a0 edk2/MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4Config.h:
Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4827 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 17:37:39 +00:00
jljusten 5f778b1f69 BaseTools/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Route.h:
BaseTools/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.h:
  Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4826 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 17:33:53 +00:00
jljusten c4b578e809 edk2/MdeModulePkg/Bus/Usb/UsbMouseDxe/ComponentName.c:
Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4825 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-11 17:09:23 +00:00
jljusten 0c36e4c182 edk2/MdeModulePkg/Bus/Usb/UsbMouseDxe:
Fix filename case(sensitivity) issues.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4820 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 23:21:50 +00:00
jljusten 1441142b8b Rename file to use recommended file naming conventions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4819 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 23:16:34 +00:00
jljusten 190a171e62 Rename file to use recommended file naming conventions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4818 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 23:16:04 +00:00
jljusten d57ee0e56b Rename file to use recommended file naming conventions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4817 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 23:15:50 +00:00
jljusten 517253e5b2 Rename file to use recommended file naming conventions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4816 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 23:14:46 +00:00
vanjeff 7d7a8ea24c fixed one bug in stop(), adding get NicHandle by gEfiArpProtocolGuid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4815 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 08:34:54 +00:00
vanjeff 89e430b0d4 remove debug code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4814 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 06:59:56 +00:00
vanjeff 8d285ec0ce 1. Enabled SetIpFilter() in UefiPxeBcDxe module.
2. Ported Arp() in UefiPxeBcDxe module.
3. Sync tracker: enabled unload() for PxeBcDxe module.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4813 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 06:55:15 +00:00
klu2 25ca163d0c Fix GCC building warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4809 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 05:46:29 +00:00
klu2 173b35e469 Fix GCC building issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4808 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-10 03:32:08 +00:00
vanjeff c63cd426a8 Merger tracker: Dell - Cannot detect FAT16 partition if the 1st entry in the partition table is
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4807 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07 07:47:21 +00:00
klu2 b67be02118 Add comment for initialization value of CAR
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4806 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07 05:57:02 +00:00
vanjeff 9935f927a2 Merger tracker:Fixed a USB bus driver logic error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4805 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07 05:51:04 +00:00
klu2 94578ce61a For Itanium platform, the switch CAR action has been moved to SecCore according to PI specification, so I clean up the PeiCore to remove stack related code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4803 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07 05:42:04 +00:00
lgao4 1fbc8fcbd2 Use EFI_IMAGE_OPTIONAL_HEADER_UNION struct to get PeImage subsystem type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4802 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07 05:33:13 +00:00
klu2 9631746839 Correct the visit point's type, it should be UINT32 but not UINTN
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4801 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07 05:29:26 +00:00
qwang12 a1a99cca13 1) Sync in patch for EDK 1063 Boot option enumeration algorithm enhancement
2) Sync in patch for EDK 1081: Enhance the BDS shell enumeration logic to skip the those not dispatched FVs in system.
3) Remove all EFI_SPECIFICATION_VERSION as all module should comply to UEFI 2.1 and later.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4798 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-06 11:48:52 +00:00
qwang12 189eac2199 Sync in patch for EDK 945
Add console mode setting in UI.

User can select console mode (e.g. 80x25, 100x31) in UI; and boot with user-defined mode.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4797 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-06 10:53:58 +00:00
klu2 ca784f9737 Remove commented out code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4796 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-06 08:53:18 +00:00
klu2 a7715e7327 The calculating action for CAR usage should be put before calling temporary ram support PPI, because the CAR is unvaiable after switch stack from temporary memory to permenent memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4795 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-06 08:41:22 +00:00
qhuang8 383c303c49 Fix two minor defects:
1. CoreGetMemoryMap() returns unclean data
2. Zero length memory descriptor might be added to the memory map

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4790 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-04 11:33:13 +00:00
lgao4 6cd7b51e48 Correct the PeImage Source file to be measured by TCG.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4787 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-04 09:32:41 +00:00
lgao4 dcf4773295 Correct EdkFvbServiceLib instance module type to DXE_RUNTIME_DRIVER, because its interfaces are for runtime driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4784 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-03 07:24:21 +00:00
klu2 58dcdada56 Merge Temporary Ram support patch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4782 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-29 18:24:43 +00:00
klu2 0fc824969a Add debug prompt for showing progress bar.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4765 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 06:02:52 +00:00
qhuang8 062539cf8c Update BDS module name to follow naming conventions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4763 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 12:06:43 +00:00
qhuang8 cd4c1ac312 A short-term fix that StrCpy() needs to handle two overlapping strings.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4762 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 12:03:38 +00:00
qhuang8 fb42e02bb4 Skip locating Terminal driver Protocol Guid to determine the terminal options. It is better that BDS does not hardcode a special driver GUID.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4761 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 12:01:22 +00:00
qhuang8 9b8a6c2edc Add pragma(1) to the structure of BM_LEGACY_DEV_ORDER_CONTEXT:
1. some code fragments refer to Data field will pointer + sizeof (BBS_TYPE) + sizeof (UINT16).
2. The list of BM_LEGACY_DEV_ORDER_CONTEXT is supposed to be saved to variable on flash. Progma it can help to reduce variable size.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4760 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 11:57:32 +00:00
vanjeff ba39e316c9 1. Add EFI LOADED IMAGE DEVICE PATH Protocol in LoadImage() service, per UEFI 2.1b.
2. Update comments for DHCP.transmitreceive().
2. Update UefiPxeBcDxe.inf and PxeBcDxe.inf to assign correct protocol usages.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4758 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 08:38:29 +00:00
jljusten 77442a5a27 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf:
MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h:
  Fixed filename case to match the actual files.  This is needed
  for case-sensitive file systems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4757 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 01:36:29 +00:00
jljusten 9e58aa1d3c edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c:
Corrected usage of parenthesis for 'if' boolean condition.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4756 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-26 01:30:14 +00:00