12 years agoif module doesn't explicitly depend on specific Pci spec, it should include IndustryS...
eric_tian [Fri, 24 Jul 2009 06:15:06 +0000 (06:15 +0000)]
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

12 years agoremove two duplication macros "PCI_CLASSC_PI_UHCI/PCI_CLASSC_PI_EHCI", which have...
eric_tian [Fri, 24 Jul 2009 06:11:49 +0000 (06:11 +0000)]
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

12 years agocode cleanup:
eric_tian [Fri, 24 Jul 2009 05:34:55 +0000 (05:34 +0000)]
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

12 years agoRoll back the change in Partition driver. currently we enhance the EHCI driver to...
eric_tian [Fri, 24 Jul 2009 04:53:12 +0000 (04:53 +0000)]
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

12 years agoMove EFI_SMM_COMMUNICATE_HEADER into SmmBase.h because this structure is really assoc...
mdkinney [Fri, 24 Jul 2009 04:35:02 +0000 (04:35 +0000)]
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

12 years agoMove those status code definitions that exactly match the PI 1.2 Specification from...
mdkinney [Fri, 24 Jul 2009 03:27:05 +0000 (03:27 +0000)]
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

12 years agoMove those status code definitions that exactly match the PI 1.2 Specification from...
mdkinney [Fri, 24 Jul 2009 03:26:30 +0000 (03:26 +0000)]
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

12 years agoremove the unnecessary comments.
lgao4 [Fri, 24 Jul 2009 02:43:22 +0000 (02:43 +0000)]
remove the unnecessary comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8987 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate the FAT binaries to build against MdePkg, BaseTools 1.00 release and newest...
qhuang8 [Fri, 24 Jul 2009 01:55:21 +0000 (01:55 +0000)]
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

12 years agoAdd comments to specify Capsule services provided by this driver can't be used for...
lgao4 [Fri, 24 Jul 2009 00:06:53 +0000 (00:06 +0000)]
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

12 years agoAdding a segment code to make sure that the EHCI controller get attached to the EHCI...
eric_tian [Thu, 23 Jul 2009 12:50:08 +0000 (12:50 +0000)]
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

12 years agoUpdate EFI_PEI_FIRMWARE_VOLUME_PPI.FindFileByName function declaration to align to...
lgao4 [Thu, 23 Jul 2009 10:06:38 +0000 (10:06 +0000)]
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

12 years agoFill all EFI_IFR_DATA_ARRAY fields before call FormCallBack function.
lgao4 [Thu, 23 Jul 2009 09:27:17 +0000 (09:27 +0000)]
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

12 years agoRemove use of BackupMarker local variable in CreateDialog() because assigning a VA_LI...
mdkinney [Thu, 23 Jul 2009 05:32:33 +0000 (05:32 +0000)]
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

12 years agoRename BaseLib internal functions by adding InternalBaseLib.
lgao4 [Thu, 23 Jul 2009 01:43:04 +0000 (01:43 +0000)]
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

12 years agoFixed a bug that the system hangs with an assert in DiskIo.c that is division overflo...
rsun3 [Thu, 23 Jul 2009 01:30:16 +0000 (01:30 +0000)]
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

12 years agocomments refine
eric_tian [Wed, 22 Jul 2009 04:55:02 +0000 (04:55 +0000)]
comments refine

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8978 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoif Usb mass storage interface returns EFI_DEVICE_ERROR, we should jump out the loop...
eric_tian [Wed, 22 Jul 2009 02:01:41 +0000 (02:01 +0000)]
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

12 years agoHot fixing for the bug that GenFw can not convert ELF to PE format correctly, the...
klu2 [Tue, 21 Jul 2009 16:56:35 +0000 (16:56 +0000)]
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

12 years agoClean up code
lgao4 [Tue, 21 Jul 2009 07:57:29 +0000 (07:57 +0000)]
Clean up code

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8975 6f19259b-4bc3-4df7-8a09-765794883524

12 years agofix ICC build issue.
eric_tian [Tue, 21 Jul 2009 01:57:27 +0000 (01:57 +0000)]
fix ICC build issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8974 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix bug in EBC thunk for X64 that appears when higher levels of compiler optimization...
mdkinney [Sat, 18 Jul 2009 16:00:10 +0000 (16:00 +0000)]
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

12 years agoRestore symlinks & scripts with proper svn properties set.
jljusten [Sat, 18 Jul 2009 00:01:55 +0000 (00:01 +0000)]
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

12 years agoRemove broken BinWrappers links/scripts.
jljusten [Sat, 18 Jul 2009 00:01:48 +0000 (00:01 +0000)]
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

12 years agoFix bug in EBC thunk for X64 that appears when higher levels of compiler optimization...
mdkinney [Fri, 17 Jul 2009 22:56:34 +0000 (22:56 +0000)]
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

12 years agoSync binary tool to main trunk tool source. Update VfrCompiler tool to fix varstore...
lgao4 [Fri, 17 Jul 2009 11:31:09 +0000 (11:31 +0000)]
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

12 years agoFix VfrCompiler bug to create varstore name by varstore name field not structure...
lgao4 [Fri, 17 Jul 2009 11:11:56 +0000 (11:11 +0000)]
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

12 years agoRemove the inaccurate comments.
lgao4 [Fri, 17 Jul 2009 09:55:44 +0000 (09:55 +0000)]
Remove the inaccurate comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8967 6f19259b-4bc3-4df7-8a09-765794883524

eric_tian [Fri, 17 Jul 2009 09:45:22 +0000 (09:45 +0000)]

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8966 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoimprove the doxgen style comments.
eric_tian [Fri, 17 Jul 2009 09:43:55 +0000 (09:43 +0000)]
improve the doxgen style comments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8965 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoCheck In tool source code based on Build tool project revision r1655.
lgao4 [Fri, 17 Jul 2009 09:10:31 +0000 (09:10 +0000)]
Check In tool source code based on Build tool project revision r1655.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8964 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd comments for CapsuleRuntimeDxe driver to specify this driver may not full support...
lgao4 [Fri, 17 Jul 2009 05:01:30 +0000 (05:01 +0000)]
Add comments for CapsuleRuntimeDxe driver to specify this driver may not full support runtime usage for capsule services on IPF arch platform.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8963 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove unused local variable to fix build break.
lgao4 [Fri, 17 Jul 2009 04:44:46 +0000 (04:44 +0000)]
Remove unused local variable to fix build break.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8962 6f19259b-4bc3-4df7-8a09-765794883524

12 years agofixed ASSERT condition issue.
vanjeff [Fri, 17 Jul 2009 04:17:56 +0000 (04:17 +0000)]
fixed ASSERT condition issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8961 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix build broken issue for ICC 9.0
klu2 [Fri, 17 Jul 2009 01:40:55 +0000 (01:40 +0000)]
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

12 years agofixed operation of GetFirst and GetNext for files...
jcarsey [Thu, 16 Jul 2009 17:24:16 +0000 (17:24 +0000)]
fixed operation of GetFirst and GetNext for files...

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8957 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix bug that some boot option can *not* be displayed correct in boot manager and...
klu2 [Thu, 16 Jul 2009 06:54:41 +0000 (06:54 +0000)]
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

12 years agoClean up PERF macro usage. The macros were being used with 0 as the first parameter...
darylm503 [Wed, 15 Jul 2009 22:34:41 +0000 (22:34 +0000)]
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@8955 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoClean up PERF macro usage. The macros were being used with 0 as the first parameter...
darylm503 [Wed, 15 Jul 2009 22:28:07 +0000 (22:28 +0000)]
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

12 years agoClean up PERF macro usage. The macros were being used with 0 as the first parameter...
darylm503 [Wed, 15 Jul 2009 22:09:29 +0000 (22:09 +0000)]
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

12 years agoCommitting changes to the comments, after review with engineers.
pkandel [Wed, 15 Jul 2009 13:32:34 +0000 (13:32 +0000)]
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

12 years agoRemove the auto conversion for the first varstore name to "Setup".
lgao4 [Wed, 15 Jul 2009 06:57:39 +0000 (06:57 +0000)]
Remove the auto conversion for the first varstore name to "Setup".
And fix a bug that return status is not set.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8949 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFixed 2 bugs in the RTC driver of PcAtChipsetPkg.
rsun3 [Wed, 15 Jul 2009 06:17:57 +0000 (06:17 +0000)]
Fixed 2 bugs in the RTC driver of PcAtChipsetPkg.
1. RtcTimeFieldsValid() has bug checking the validity of TIME fields, which causes SetTime() will not return EFI_INVALID_PARAMETER when it is fed with invliad time fields.
2. Logical error in handling Time Zone and Day Light Saving.GetTime() won't return Time Zone and Day Light Saving set by last SetTime() call.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8948 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove unrecognized characters.
lgao4 [Wed, 15 Jul 2009 06:03:19 +0000 (06:03 +0000)]
Remove unrecognized characters.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8947 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoinitial Target byte array with 0xff (all bytes are 0xff in this array)in GetTargetLun...
eric_tian [Wed, 15 Jul 2009 03:16:13 +0000 (03:16 +0000)]
initial Target byte array with 0xff (all bytes are 0xff in this array)in GetTargetLun to consistent with GetNextTargetLun.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8946 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoUpdate README for video driver split from main OVMF firmware.
jljusten [Tue, 14 Jul 2009 23:32:44 +0000 (23:32 +0000)]
Update README for video driver split from main OVMF firmware.
Add note to set TARGET_ARCH.
Add link to https://edk2.tianocore.org/build-ovmf.html.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8945 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoSeparate Cirrus Logic video driver out from main OVMF firmware.
jljusten [Tue, 14 Jul 2009 23:32:41 +0000 (23:32 +0000)]
Separate Cirrus Logic video driver out from main OVMF firmware.

Now a CirrusLogic5446.rom file will be generated.  For QEMU, it can
be used as a replacement for the vgabios-cirrus.bin file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8944 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd default parameters for EfiRom for Cirrus Logic 5430.
jljusten [Tue, 14 Jul 2009 23:32:37 +0000 (23:32 +0000)]
Add default parameters for EfiRom for Cirrus Logic 5430.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8943 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoLoad video option ROM which is not embedded in system firmware image.
jljusten [Tue, 14 Jul 2009 23:32:32 +0000 (23:32 +0000)]
Load video option ROM which is not embedded in system firmware image.

QEMU will automatically fill the video BIOS image into memory at the
legacy video BIOS memory location (0xc0000).  This code will look
there for a EFI option rom image, and load it if it found.  This
allows the video option ROM to be separated out from the main system
firmware image.

QEMU does not appear to emulate the PCI rom expansion method
for making the video BIOS available to the system.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8942 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove the following Protocols from the IntelFrameworkPkg because they are identical...
mdkinney [Tue, 14 Jul 2009 19:34:24 +0000 (19:34 +0000)]
Remove the following Protocols from the IntelFrameworkPkg because they are identical to Protocols from the PI 1.2 Specification that have been added to the MdePkg
1) IDE Controller Init
2) Incompatible PCI Device Support
3) PCI Hot Bridge Resource Allocation
4) PCI Hot Plug
5) PCI Platform

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8941 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd the following PI 1.2 Protocols to the MdePkg
mdkinney [Tue, 14 Jul 2009 19:33:32 +0000 (19:33 +0000)]
Add the following PI 1.2 Protocols to the MdePkg
1) IDE Controller Init
2) Incompatible PCI Device Support
3) PCI Hot Bridge Resource Allocation
4) PCI Hot Plug
5) PCI Platform

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8940 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoupdated parameters name to match spec.
vanjeff [Tue, 14 Jul 2009 06:04:38 +0000 (06:04 +0000)]
updated parameters name to match spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8939 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoadd:
jcarsey [Mon, 13 Jul 2009 19:33:35 +0000 (19:33 +0000)]
1) sorting library
2) sorting test Application/ShellSortTestApp

update DEC and DSC for 2 additions

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8938 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove the following Protocols from the IntelFrameworkModulePkg because they are...
mdkinney [Mon, 13 Jul 2009 19:05:07 +0000 (19:05 +0000)]
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

12 years agoAdd the following PI 1.2 Protocols to the MdePkg
mdkinney [Mon, 13 Jul 2009 19:01:33 +0000 (19:01 +0000)]
Add the following PI 1.2 Protocols to the MdePkg
1) Disk Info Protocol and its associated device GUIDs
2) PCI Hot Plug Request Protocol

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8936 6f19259b-4bc3-4df7-8a09-765794883524

12 years agocomment clarification
jcarsey [Mon, 13 Jul 2009 16:04:10 +0000 (16:04 +0000)]
comment clarification

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8935 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd macro definitions indicating from SMBIOS 2.6
klu2 [Mon, 13 Jul 2009 13:52:28 +0000 (13:52 +0000)]
Add macro definitions indicating from SMBIOS 2.6

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8934 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix a wrong doxygen comment tag usage of ///>. The correct one is ///<.
klu2 [Mon, 13 Jul 2009 13:06:59 +0000 (13:06 +0000)]
Fix a wrong doxygen comment tag usage of ///>. The correct one is ///<.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8933 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoProcessCapsule() and BdsMemoryTest() are implemented in the BdsDxe module, which...
eric_tian [Mon, 13 Jul 2009 12:08:24 +0000 (12:08 +0000)]
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@8932 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoProcessCapsule() and BdsMemoryTest() are implemented in the BdsDxe module, which...
eric_tian [Mon, 13 Jul 2009 12:07:26 +0000 (12:07 +0000)]
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@8931 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoProcessCapsule() and BdsMemoryTest() are implemented in the BdsDxe module, which...
eric_tian [Mon, 13 Jul 2009 12:06:51 +0000 (12:06 +0000)]
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@8930 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoProcessCapsule() and BdsMemoryTest() are implemented in the BdsDxe module, which...
eric_tian [Mon, 13 Jul 2009 12:04:24 +0000 (12:04 +0000)]
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

12 years agoProcessCapsule() and BdsMemoryTest() are implemented in the BdsDxe module, which...
eric_tian [Mon, 13 Jul 2009 12:01:46 +0000 (12:01 +0000)]
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@8928 6f19259b-4bc3-4df7-8a09-765794883524

12 years agorollback for fix scsi disk detection issue.
vanjeff [Mon, 13 Jul 2009 10:26:20 +0000 (10:26 +0000)]
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

12 years agoRetire description string macro for boot device type which are not defined in UEFI...
klu2 [Mon, 13 Jul 2009 10:20:09 +0000 (10:20 +0000)]
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

12 years agoMake code definition alignment.
lgao4 [Mon, 13 Jul 2009 09:35:40 +0000 (09:35 +0000)]
Make code definition alignment.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8925 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove unnecessary FRAMEWORK_ prefix in IntelFrameworkPkg definitions for those defin...
lgao4 [Mon, 13 Jul 2009 09:28:09 +0000 (09:28 +0000)]
Remove unnecessary FRAMEWORK_ prefix in IntelFrameworkPkg definitions for those definitions that don't conflict with ones in UEFI/PI specification.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8924 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove unnecessary FRAMEWORK_ prefix in IntelFrameworkPkg definitions for those defin...
lgao4 [Mon, 13 Jul 2009 09:28:00 +0000 (09:28 +0000)]
Remove unnecessary FRAMEWORK_ prefix in IntelFrameworkPkg definitions for those definitions that don't conflict with ones in UEFI/PI specification.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8923 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRoll back R8811 check in for it will get a double carriage return.
gikidy [Mon, 13 Jul 2009 08:10:12 +0000 (08:10 +0000)]
Roll back R8811 check in for it will get a double carriage return.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8922 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoremove work around, since we had added return value check.
vanjeff [Mon, 13 Jul 2009 06:07:23 +0000 (06:07 +0000)]
remove work around, since we had added return value check.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8921 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoupdated parameters name to match spec.
vanjeff [Mon, 13 Jul 2009 05:53:48 +0000 (05:53 +0000)]
updated parameters name to match spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8920 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoSynchronize build tools binaries with source code r1655 at build tool project.
lgao4 [Mon, 13 Jul 2009 05:24:21 +0000 (05:24 +0000)]
Synchronize build tools binaries with source code r1655 at build tool project.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8919 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoynchronize build tools binaries with source code r1655 at build tool project.
lgao4 [Mon, 13 Jul 2009 05:23:00 +0000 (05:23 +0000)]
ynchronize build tools binaries with source code r1655 at build tool project.
Fix a bug that GenFv tool can't generate the correct top reset vector table for IA32, X64 and IPF arch SEC module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8918 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix build broken, DxeUnixPeCoffExtracActionLib should not dependent on PeiServiceLib
klu2 [Mon, 13 Jul 2009 05:21:49 +0000 (05:21 +0000)]
Fix build broken, DxeUnixPeCoffExtracActionLib should not dependent on PeiServiceLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8917 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix build broken, EFI_TIME_IN_DAYLIGHT used in Sec/UnixThunk.c is defined in Uefi...
klu2 [Mon, 13 Jul 2009 05:14:09 +0000 (05:14 +0000)]
Fix build broken, EFI_TIME_IN_DAYLIGHT used in Sec/UnixThunk.c is defined in Uefi specification, so need include Uefi.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8916 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove the following PPIs from the IntelFrameworkPkg because they were identical...
mdkinney [Mon, 13 Jul 2009 05:01:48 +0000 (05:01 +0000)]
Remove the following PPIs from the IntelFrameworkPkg because they were identical to PPIs from the PI 1.2 Specification
1) Block I/O PPI
2) Device Recovery PPI
3) Recovery Module PPI
4) S3 Resume PPI

Also add Include/Guid/BlockIo.h that contains two hardware device specific GUIDs for recovery devices that are only defined in the Framework Specifications

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8915 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd the following PI 1.2 PPIs to the MdePkg
mdkinney [Mon, 13 Jul 2009 04:59:39 +0000 (04:59 +0000)]
Add the following PI 1.2 PPIs to the MdePkg
1) Block I/O PPI
2) Device Recovery PPI
3) Recovery Module PPI
4) S3 Resume PPI

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8914 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoremove the DEBUG_CODE_BEGIN and DEBUG_CODE_END due to the logic between them are...
eric_tian [Mon, 13 Jul 2009 03:24:25 +0000 (03:24 +0000)]
remove the DEBUG_CODE_BEGIN and DEBUG_CODE_END due to the logic between them are not optional.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8913 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd Framework MP Services Protocol
mdkinney [Mon, 13 Jul 2009 00:18:41 +0000 (00:18 +0000)]
Add Framework MP Services Protocol

Change EFI_AP_PROCEDURE to FRAMEWORK_EFI_AP_PROCEDURE to remove name collision with PI 1.2 MP Services Protocol in MdePkg

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8912 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoClean up doxygen comments
mdkinney [Mon, 13 Jul 2009 00:16:54 +0000 (00:16 +0000)]
Clean up doxygen comments
Remove *_GRANULARITY #defines that are not defined in the Framework CSM Specification

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8911 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd MP Services Protocol from the UEFI Platform Initialization 1.2 Specification
mdkinney [Mon, 13 Jul 2009 00:10:46 +0000 (00:10 +0000)]
Add MP Services Protocol from the UEFI Platform Initialization 1.2 Specification

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8910 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix Doxygen comment syntax
mdkinney [Mon, 13 Jul 2009 00:09:04 +0000 (00:09 +0000)]
Fix Doxygen comment syntax

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8909 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoAdd "FRAMEWORK_" to remove name collision with Security2 PPI in MdePkg
mdkinney [Sun, 12 Jul 2009 23:50:04 +0000 (23:50 +0000)]
Add "FRAMEWORK_" to remove name collision with Security2 PPI in MdePkg

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8908 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix typo in #ifndef name
mdkinney [Sun, 12 Jul 2009 23:41:17 +0000 (23:41 +0000)]
Fix typo in #ifndef name

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8907 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix Doxygen comment syntax
mdkinney [Sun, 12 Jul 2009 23:39:58 +0000 (23:39 +0000)]
Fix Doxygen comment syntax

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8906 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix signed/unsigned mismatch issue
mdkinney [Sun, 12 Jul 2009 18:10:44 +0000 (18:10 +0000)]
Fix signed/unsigned mismatch issue

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8905 6f19259b-4bc3-4df7-8a09-765794883524

12 years agofix parameter type
jcarsey [Sun, 12 Jul 2009 03:43:03 +0000 (03:43 +0000)]
fix parameter type

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8904 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoIf module really is a Framework module and not a PI module, then use FrameworkDxe...
mdkinney [Sat, 11 Jul 2009 23:29:43 +0000 (23:29 +0000)]
If module really is a Framework module and not a PI module, then use FrameworkDxe.h instead of PeDxe.h and FrameworkPei.h instead of PiPei.h

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8903 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove extra #includes where possible to make build more efficient
mdkinney [Sat, 11 Jul 2009 23:29:23 +0000 (23:29 +0000)]
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 and FrameworkPei.h instead of PiPei.h

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8902 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove extra #includes where possible to make build more efficient
mdkinney [Sat, 11 Jul 2009 23:28:37 +0000 (23:28 +0000)]
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 and FrameworkPei.h instead of PiPei.h

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8901 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove extra #includes where possible to make build more efficient
mdkinney [Sat, 11 Jul 2009 23:27:49 +0000 (23:27 +0000)]
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

12 years ago1) Add Include/Framework/BootScript.h that contains defines shared between Boot Scrip...
mdkinney [Sat, 11 Jul 2009 23:25:44 +0000 (23:25 +0000)]
1) Add Include/Framework/BootScript.h that contains defines shared between Boot Script Executer PPI and Boot Script Save Protocol.  Remove those safe defines from Include/Ppi/BootScriptExecuter.h
2) Remove Include/Framework/DataHubRecords.h and merge its content into Include/Guid/DataHubRecords.h
3) Remove Include/Framework/Legacy16.h and merge its contents into Include/Protocol/LegacyBios.h
4) Update FrameworkDxe.h to no longer include all the Legacy16.h and DataHubRecords.h contents.  This reduces the number of include file and definitions pulled in when a module include FrameworkDxe.h.  The Legacy16.h contents can now be included by a module through Protocol/LegacyBios.h and the DataHubRecords.h contents can be included by a module through Guid/DataHubRecords.h
5) Update Include/Guid/StatusCodeDataTypeId.h so it can be safely included by both PEIMs and DXE Modules since both the PEI and DXE phases support status codes
6) Remove extra #includes where possible to reduce number of files included during a build.
7) Update Include/Protocol/LegacyBiosPlatform.h to #include Include/Protocol/LegacyBios.h since it depends on HDD_INFO and COMPATIBILITY16 strictures carried by LegacyBios.h

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8899 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoCorrect #include statements. This is a DXE DRIVER, not a UEFI module.
mdkinney [Sat, 11 Jul 2009 23:11:21 +0000 (23:11 +0000)]
Correct #include statements.  This is a DXE DRIVER, not a UEFI module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8898 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRetire NetLibQueueDpc() and NetLibDispatchDpc() and use QueueDpc() and DispatchDpc...
mdkinney [Sat, 11 Jul 2009 22:51:51 +0000 (22:51 +0000)]
Retire NetLibQueueDpc() and NetLibDispatchDpc() and use QueueDpc() and DispatchDpc() from the DpcLib instead.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8897 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoPut EOF (End of File) on its own line for all source files. This is required for...
mdkinney [Sat, 11 Jul 2009 19:33:25 +0000 (19:33 +0000)]
Put EOF (End of File) on its own line for all source files.  This is required for some compiler to build.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8896 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove "Module Name:" from include file headers.
mdkinney [Sat, 11 Jul 2009 16:05:53 +0000 (16:05 +0000)]
Remove "Module Name:" from include file headers.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8895 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoMake CR/LF consistent in source file
mdkinney [Sat, 11 Jul 2009 16:03:44 +0000 (16:03 +0000)]
Make CR/LF consistent in source file

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8894 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove "Module Name:" from include file headers.
mdkinney [Sat, 11 Jul 2009 16:02:13 +0000 (16:02 +0000)]
Remove "Module Name:" from include file headers.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8893 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoFix Doxygen document generation for function prototypes
mdkinney [Fri, 10 Jul 2009 23:56:39 +0000 (23:56 +0000)]
Fix Doxygen document generation for function prototypes

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8892 6f19259b-4bc3-4df7-8a09-765794883524

12 years agoRemove extra #Include
mdkinney [Fri, 10 Jul 2009 23:55:52 +0000 (23:55 +0000)]
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