Commit Graph

8311 Commits

Author SHA1 Message Date
klu2 d3a12d776c Use PcAtChipsetPkg's IdeControllerDxe driver and retire the one in DuetPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9017 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-28 02:57:17 +00:00
klu2 1081f624a4 Add PcdVerifyNoteInList for judge whether do verification of node in list in debug mode. The default value is FALSE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9016 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-28 02:38:30 +00:00
gikidy 558bfebb99 For pass all compilers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9015 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-27 09:08:49 +00:00
gikidy 2ba53a4f23 Add Nanosecond initialize when CMOS clear for ConvertRtcTimeToEfiTime can not initialize it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9014 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-27 09:00:41 +00:00
eric_tian ef73b4a854 add comment on mismatch between code and MiscSubclass spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9013 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-27 05:48:29 +00:00
klu2 6f74e80677 Remove include in comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9012 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-27 02:39:45 +00:00
klu2 cf4afc913e Use Uefi.h instead of PiDxe.h, because B0 defined in Protocol/DebugSupport.h conflict with the B0 macro defined in usr/include/bits/termios.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9011 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-27 02:38:31 +00:00
vanjeff 99f6759411 Enhanced BMP file security check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9010 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-27 02:23:19 +00:00
vanjeff 0adb8a3c47 Fixed build issue on GCC compiler. This issue is introduced by one mistaken in one checking-in on Main trunk only. The patch(MdeModulePkg.patch) for EFI_MTFTP4_TOKEN based on MdePkg release 1.00 has no this issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9009 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-27 02:07:20 +00:00
lgao4 d1eff2f528 Remove unrecognized characters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9008 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-27 01:42:36 +00:00
jcarsey 46f43bc4bc didnt want to change pointer for copymem...
corrected full file name creation

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9007 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 21:32:00 +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
vanjeff ea886bef0a Updated EFI_MTFTP4_TOKEN structure to add member Context. It's an incompatible change adopted by UEFI group.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9005 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 17:36:07 +00:00
jcarsey e7d41e1818 adding new include file. This file has the definitions for most shell data types that are non-standard. (ie SHELL_RETURN type)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9004 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 15:10:13 +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 55815a91af 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@9002 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 09:11:34 +00:00
eric_tian 52c8c12b24 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@9001 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 09:11:10 +00:00
klu2 93d4ce9181 Add IDE support for edk2 Duet platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9000 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 07:36:29 +00:00
eric_tian ac10c72782 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@8999 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 06:20:09 +00:00
eric_tian 1a573c7ea2 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@8998 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 06:18:30 +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 ad38bf876b 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@8996 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 06:16:50 +00:00
eric_tian 48e9cc78d5 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@8995 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 06:15:22 +00:00
eric_tian 5781db0852 if module doesn't explicitly depend on specific Pci spec, it should include IndustryStandard/Pci.h rather than Pcixxx.h.
Also remove those self-defined "bit(a)" macro, it had been defined as BITx in Base.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8994 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 06:15:06 +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
eric_tian a261044cf5 code cleanup:
1. remove unused macro/remove unnecessary included header file
2. for those values defined by PCI spec, use the naming of definition in IndustryStandard/Pci.h
3. use BITX macro in Base.h rather than define one by self.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8992 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 05:34:55 +00:00
eric_tian 15a865075c Roll back the change in Partition driver. currently we enhance the EHCI driver to guarantee that the EHCI controller get attached to the EHCI controller before the UHCI driver attaches to the UHCI controller. This way can avoid the case happen that UHCI sees the disconnect and EHCI sees the connect event due to the control transfer in shared port. It may cause Partition.Start to be interrupted by Partition.Stop.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8991 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 04:53:12 +00:00
mdkinney d5555a107c Move EFI_SMM_COMMUNICATE_HEADER into SmmBase.h because this structure is really associated with the ComminicationBuffer parameter to the EFI_SMM_CALLBACK_ENTRY_POINT in the SMM Base Protocol and not the gSmmCommunicateHeaderGuid. This GUID is just one of many possible GUIDs that could be used to fill in the HeaderGuid field of the EFI_SMM_COMMUNICATE_HEADER.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8990 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 04:35:02 +00:00
mdkinney 7f58645482 Move those status code definitions that exactly match the PI 1.2 Specification from the IntelFrameworkPkg to MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8989 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 03:27:05 +00:00
mdkinney b205f267d6 Move those status code definitions that exactly match the PI 1.2 Specification from the IntelFrameworkPkg to MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8988 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 03:26:30 +00:00
lgao4 02bf7b8865 remove the unnecessary comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8987 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 02:43:22 +00:00
qhuang8 701f8b5095 Update the FAT binaries to build against MdePkg, BaseTools 1.00 release and newest FatPkg source.
This update also incorporates a minor defect fix that the "Last Access Date" in directory entries is set when a new file is created. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8986 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 01:55:21 +00:00
lgao4 f205cbb94f Add comments to specify Capsule services provided by this driver can't be used for IPF arch when OS enter into physical mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8985 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 00:06:53 +00:00
eric_tian cd92e3fb28 Adding a segment code to make sure that the EHCI controller get attached to the EHCI controller before the UHCI driver attaches to the UHCI controller
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8984 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-23 12:50:08 +00:00
lgao4 44218d2e1e Update EFI_PEI_FIRMWARE_VOLUME_PPI.FindFileByName function declaration to align to PI1.0 errata.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8983 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-23 10:06:38 +00:00
lgao4 b6c72071c0 Fill all EFI_IFR_DATA_ARRAY fields before call FormCallBack function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8982 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-23 09:27:17 +00:00
mdkinney 1c9a755423 Remove use of BackupMarker local variable in CreateDialog() because assigning a VA_LIST in this manner is not portable to all tool chains.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8981 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-23 05:32:33 +00:00
lgao4 80151e5331 Rename BaseLib internal functions by adding InternalBaseLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8980 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-23 01:43:04 +00:00
rsun3 88e349f1fe Fixed a bug that the system hangs with an assert in DiskIo.c that is division overflow due to block size == 0 when no flppy media is present in a specific type of USB floppy drive (NEC PC-VP-BU04)at power on.
Root cause is that Read Capacity command returns media not present error, then UsbMassStorage driver issues Sense Request command to get the sense data. However, the USB floppy drive still returns the previous error for the Sense Request command. UsbBootRequestSense() does not handle this case correctly and returns EFI_SUCCESS so that the block size of the Block IO protocol instance is set to be 0.

Solution is to fix the logic to handle the case and add protective logic to avoid setting block size to be 0.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8979 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-23 01:30:16 +00:00
eric_tian 409669d53e comments refine
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8978 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-22 04:55:02 +00:00
eric_tian c8148ea20d if Usb mass storage interface returns EFI_DEVICE_ERROR, we should jump out the loop which is used to determine if the current block device supports GPT/Torito/MBR in Partition driver. This way can avoid Partition.start is interrupted by itself Partition.stop().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8977 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-22 02:01:41 +00:00
klu2 58e4d80096 Hot fixing for the bug that GenFw can not convert ELF to PE format correctly, the root cause is invalid size of OptionalHeader is computed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8976 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-21 16:56:35 +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 ccd4b7dade fix ICC build issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8974 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-21 01:57:27 +00:00
mdkinney ebceb28e26 Fix bug in EBC thunk for X64 that appears when higher levels of compiler optimization is used.
This is a temporary fix that should for for most tool chains.  A more complete fix will be required to guarantee compatibility with all tool chains.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8973 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-18 16:00:10 +00:00
jljusten 2703f9e230 Restore symlinks & scripts with proper svn properties set.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8972 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-18 00:01:55 +00:00
jljusten e7eabe08c7 Remove broken BinWrappers links/scripts.
They will be re-added in next commit.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8971 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-18 00:01:48 +00:00
mdkinney 045e90accd Fix bug in EBC thunk for X64 that appears when higher levels of compiler optimization is used.
This is a temporary fix that should for for most tool chains.  A more complete fix will be required to guarantee compatibility with all tool chains.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8970 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-17 22:56:34 +00:00
lgao4 66775d1cb6 Sync binary tool to main trunk tool source. Update VfrCompiler tool to fix varstore name is not correctly generated.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8969 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-17 11:31:09 +00:00
lgao4 df1780f8bf Fix VfrCompiler bug to create varstore name by varstore name field not structure field for framework Vfr.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8968 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-17 11:11:56 +00:00