summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Bus
AgeCommit message (Collapse)AuthorFilesLines
2007-02-02Make EDK Module Package pass Intel IPF compiler with /Ox switch.xli241-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2346 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-311. PEI core needs to check image machine typexgu32-7/+7
2. In BDS, Legacy free may make BdsLibConnectAllDefaultConsoles fail. 3. Pci22.h, we need to add more definition in that 4. EBC: EBC Exception Subclass should add EFI_SUBCLASS_SPECIFIC 5. PciEnumeratorSupport Null Pointer Error git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2340 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-31Make EdkModulePkg pass Intel IPF compiler with /W4 /WX switches, solving ↵xli2449-1331/+1236
warning #1419. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2338 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-29Further check-in to smooth Intel IPF compiler building.xli247-75/+147
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2332 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-29Fix the build break by removing an unreferenced static function.qhuang81-32/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2330 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26To fix,xgu33-3/+219
cd ...... works unnormally in shell USB CBI1 driver has no component name protocol git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2328 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26Make MDE and EdkModule packages avoid all Intel IPF compiler warnings except ↵xli245-55/+49
waning 1419. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2326 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-261. Add NULL QH to set as QH header;qhuang816-1880/+1985
2. Do ping for high speed OUT pipe; 3. Bug fix for QTD size detection; 4. Bug fix for short package detection; 5. Bug fix get next QTD in ExcutionTransfer; 6. BOT module modify to follow spec; 7. Massstorage error hanling enhancement git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2321 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25Remove some unused internal functions.xli243-367/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2315 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25Partially make EdkModulePkg pass intel IPF compiler with /W4 /WX switched on.xli2429-136/+98
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2313 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-23Fixed bug in partition driver:yshang11-8/+12
When Block I/O detects the media changed, block driver will reinstall block I/O protocol. If it happened during start() of partition driver, the reinstall protocol would results in the reentrant of the start(). In the patch, we check status of child detection to see whether need clean up the opened block I/O protocol in Start(). Besides, some checking of return status added in usbbus driver to improve robusticiy of the driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2288 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-19Fix component name bugs when input Controller Name is invalidqhuang822-27/+86
Fix the driver binding version for platform/OEM specific drivers git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2274 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-16Fix several capitalization issues.bbahnsen2-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2255 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-15To fix,xgu32-4/+11
1. ScrollLock key does not work in USB KB driver 2. PCI_ROOT_BRIDGE_IO.configuration should use OUT for Resources git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2248 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12Correct the right bits judgment for get size of OptionROM.klu21-5/+6
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2236 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12Remove two global variable: mUsbCapabilityLen and mDeviceSpeed and integrate ↵klu24-16/+15
them into USB2_HC_DEV. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2235 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12EHCI driver need enable routine and disable Legacy USB klu25-0/+263
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2233 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12The updating (change the Interrupt Line to 0xFF for unknown setting) is only ↵zliu31-27/+32
for x86 based on the PCI spec, so added the compiler option for such code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2229 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-11AsyncRequestPtr maybe NULL after its callback function is invoke. So Caching ↵klu21-2/+4
it temporary. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2217 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-10IDEBusDriverBindingStart() calls REPORT_STATUS_CODE_WITH_DEVICE_PATH with ↵xli241-3/+7
NULL device path. If progress code is switched on, ASSERT would happen. This update fixes the issue. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2208 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-30For USB mass storage, READ_FORMAT_CAPACITIES command returns wrong value for ↵xli242-6/+6
USB2.0 device. In order to fix this issue, we change the retry policy. Try old command before new command. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2155 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-20Set 0xff to both bridge & non-bridge device in case of unknown device.qhuang81-28/+30
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2123 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-14Merge R8 track #8354: SupportPalette() algorithm incorrect klu21-6/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2100 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-131) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with ↵qwang121-881/+0
PcdLib.c. 2) Correct some minor bugs: when invoking gRT->GetVariable the Attributes field can be optianal. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2091 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-131) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with ↵qwang125-59/+709
PcdLib.c. 2) Correct some minor bugs: when invoking gRT->GetVariable the Attributes field can be optianal. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2090 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-12Merge GOP related code from r8->r9. wuyizhong1-1/+14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2085 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13Add comments for all file tagged with "ToolCode="DUMMY"".klu23-15/+17
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1939 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06This check-in fixed the following bugs:cwu112-6/+62
1. Pci22.h EFI_LEGACY_EXPANSION_ROM_HEADER definition error (MdePkg\Include\IndustryStandard\Pci22.h; Tools\CCode\Source\Include\IndustryStandard\Pci22.h) 2. SetVariable() with DataSize=0xffffffff will cause system hang (EdkModulePkg\Universal\Variable\RuntimeDxe\Variable.c) 3. Windows XP Pro & XP HOME Fails to Install from Retail CD (EdkModulePkg\Bus\Pci\Pcibus\Dxe\PciResourceSupport.c) 4. Pci22.h header file needs to add some recent type (MdePkg\Include\IndustryStandard\Pci22.h; Tools\CCode\Source\Include\IndustryStandard\Pci22.h) 5. Fix issues when ODD cannot boot from Sil0680 PCI-IDE controller (EdkModulePkg\Bus\Pci\PciBus\Dxe\PciOptionromSupport.c; EdkModulePkg\Bus\Pci\PciBus\Dxe\PciBus.msa; EdkModulePkg\ EdkModulePkg.spd) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1900 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-02Change #define bit(a) 1 << (a)jtang121-1/+1
to #define bit(a) (1 << (a)) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1885 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-30After identified as a High-Speed device, the port has been reset ↵ljin61-1/+3
successfully, so it doesn't need to be reset again in the later for Full-Speed or Low-Speed devices. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1856 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23Follow up tracker EDKT285.yshang11-4/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1826 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22Make sure all DMA related buffer allocation through PCI IO interface, not ↵jtang121-48/+52
allocated by driver itself. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1815 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16Fix a bug by the check-in of 1738, which programs SATA interrupt line ↵mikewuping1-3/+2
wrongly and will block booting from SATA disk. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1762 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-13Removed GLOBAL_REMOVE_IF_UNREFENRENCED because it will cause compiler failure.jwang362-4/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1743 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-131. Add the GLOBAL_REMOVE_IF_UNREFERENCED to globe variables which are used ↵dtang213-66/+86
only in debug version; 2. Use ZeroMem to replace gBS->SetMem; 3. Remove marked code; 4. Add IsHub judgement in UsbPortReset function to following EFI1.1 spec; 5. Add brackets for macro definition git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1740 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-131. Changed device detect method to use ATA/ATAPI device signature;jtang127-944/+1061
2. Enhancements to better support SATA CDROM; 3. Fixed UDMA operation for buffer above 4G memory issue; 4. Fixed maximal block setting for ATAPI read sector operation to comply with spec; 5. Some minor fixes. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1739 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-13The reasons for the changes made are:cwu115-20/+106
1)PciCommand.h: Add some macro constants definitions that will be used by other changes. 2)PciDeviceSupport.c: a)Fix the bug that programs Non-Bridge Devices' Interrupt Line Register to 0x00. Although this register is rarely used in modern OS (actually, only Dos still uses it), it is good practice to modify it so it will align the spec. Please refer to PCI 3.0 Spec for the chapter on Interrupt line register. b) Change the way used to detect VGA device. The old method will fail. 3)PciEnumeratorSupport.c: Make changes so Pci Driver will preserve those bits in Command & Bridge Control Register that were set by Customer's Chipset initialization code. Pci Driver is supposed to only touch those bits that are generic. Problems will arise if we destroy some initializations already done. 4)PciIo.c: PollIo() is not conformant to EFI spec so fix it. Also, some fixes are introduced to better support VGA card. These modifications are supposed to work with fixes in PciDeviceSupport.c. 5) PciOptionromSupport.c:Add the fix to enhance the logic working with OptionRom. Some legacy cards do not report correct imagelength so we add double check. And add EFI_MIN and EFI_MAX macro definition since they are not currently defined in global files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1738 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-27Remove the duplicated Copy Right in msa header.lgao415-120/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1634 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-21Merger DriverBinding and ComponentName into one <extern> section for all ↵vanjeff14-36/+8
*.msa files git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1585 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18changed EdkModulePkg GUID from the original ↵lgao415-90/+90
B6EC423C-21D2-490D-85C6-DD5864EAA674 to new 68169ab0-d41b-4009-9060-292c253ac43d to avoid its conflict with gPeiBaseMemoryTestPpiGuid and change all msa and fpd file in EdkII, which depends on EdkModulePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1551 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1538 ↵jchen201-6/+5
6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1537 ↵jchen201-1/+2
6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13Modify for enabling native VISTA jchen203-0/+126
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1520 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-23added 20ms stall to wait for slave device ready when identify some type of ↵vanjeff1-81/+83
Seagate Hard Disk. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1358 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-18Fix the IDE slave device missing bug.klos19801-1/+6
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1319 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27Check in patch to refine DevicePath Module and USB2HostController Module.qhuang84-37/+31
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1117 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27Someone lost a new line at the end of file, it causes GCC build error.xgu31-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1116 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26Removed cross references from PciCf8Lib and PciExpressLib class to PciLib ↵ajfish4-152/+132
class. Added PeCoffLoaderGetMachineType to the PeCoffGetEntryPointLibrary Class. Document to be updated. Added the PeCoffLoaderImageReadFromMemory() and PeCoffLoaderRelocateImageForRuntime () to the PcCoffLib. Updated EfiImage.h and removed EFI_IMAGE_OPTIONAL_HEADER and EFI_IMAGE_NT_HEADERS as they were replaced with checking the MachineType. PeCoffLib – Added checks for MachineType so the PeCoff lib can load any PE32 or PE32+ image. The relocations are still limited to IA32, X64, IPF, and EBC. I also added a re-relocator function to remove PeLoader Code from Runtime Lib. Even though there is only one instance of the re-relocator I wanted to get all the PeCoff loader code together. Replaced DEBUG_CODE() macro with DEBUG_CODE_START() and DEBUG_CODE_END() so you can debug through the DEBUG_CODE() macros. Also removed PE/COFF code and replaced with library usage. I also updated the IO Instrinsic lib to use _ReadWriteBarrior() to help with sync problems git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1103 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25remove ifdef for debuglevelljin61-2/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1088 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21Change DxeRuntimeDriverLib name to UefiRuntimeLib.yshang11-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1061 6f19259b-4bc3-4df7-8a09-765794883524