Commit Graph

565 Commits

Author SHA1 Message Date
vanjeff 2758d1ea40 fixed one typo
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4924 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 02:08:59 +00:00
klu2 615c6dd0d4 Modify all file header to follow doxygen format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4917 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 09:01:03 +00:00
yshang1 814bae5269 [Description]:
The patch enhanced variable services to support:
1) If adding variable does not execute completely, the state is in_deleted, the next time find variable should have to retrieve the in_deleted variable.
2) when Reclaiming the variable storage, the 1) variable should be considered.

[Impaction]:
This is backward-compatible update.

[Reference Info]:
9552, 8632

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4916 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 07:09:03 +00:00
vanjeff 695f7e9856 add some error check and return.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4912 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 05:49:56 +00:00
vanjeff 8541adab27 add PCD PcdUgaConsumeSupport to switch on/off EFI UGA Draw Protocol's consuming, it could save size by changing PCD's value to FALSE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4911 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 05:22:06 +00:00
eric_tian 1564e9ac2c [Description]
Duplicate the device path prior to the access to it 
[Impaction]
directly access the device path may cause an exception when the device path includes some unaligned device path nodes
[Reference Info]
In the case of ISCSI, there is a situation that the device path may consists of some unaligned device path node. it causes the unaligned exception when we access the node.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4905 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 02:05:57 +00:00
eric_tian 01f352a7ca [Description]
PeiGetVariable() and PeiGetNextVariableName() do not check NULL pointer access, not follow spec 
[Impaction]
modify the Variable.c file in MdeModulePkg/Universal/Variable/Pei
[Reference Info]
PeiGetVariable() and PeiGetVariableName() do not follow spec 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4899 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-18 06:46:10 +00:00
vanjeff 4367051153 add return error check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4860 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-17 08:14:53 +00:00
qwang12 d1d249a7b6 [Description]:
1) Remove EFI_SPECIFICATION_VERSION as modules and libraries in MdeModule complies to UEFI 2.0 and later.

[Impaction]:
No
[Reference Info]:
No.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4857 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-15 05:06:24 +00:00
qwang12 dca8c6d8d2 [Description]:
1) Remove HiiLibAddFontPackageToHiiDatabase as it is not properly defined API. It only cover Simplified Font. User is recomended to use Hii Font Protocol API to add various font into HII database.

[Impaction]:
All modules that may reference HiiLibAddFontPackageToHiiDatabase function.
[Reference Info]:
No.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4856 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-15 05:04:45 +00:00
lgao4 e10293550f A leaf section type may contains an array of zero or more bytes. Support the section with the zero data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4852 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-14 10:12:17 +00:00
lgao4 f0a83bb308 [Description]:
Don't need disable the legacy USB SMI in UHCI and EHCI, which is only required by UoL.
[Impaction]:
 Uhci and Ehci driver default don't need disable the legacy USB SMI.
[Reference Info]:
 EDK tracker 1082 
 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4850 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-14 05:06:26 +00:00
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