Commit Graph

52 Commits

Author SHA1 Message Date
vanjeff 1833218d93 1. added functions header for MACROS in PCI22.h.
2. move IS_PCI_GFX to modules, since it not defined in PCI spec.
3. added comments for some structure in ElTorito.h.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6928 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-09 06:40:02 +00:00
xli24 05975035a2 Update PciOptionRomSupport.c to pass GCC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6607 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-18 13:27:35 +00:00
klu2 2067710de0 1, Add <Library/DevicePathLib.h> for all source that use device path utility macros
2, Add DevicePathLib library class to module's INF that use device path utility macros

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6457 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-11 15:43:50 +00:00
jji4 819d148893 Patch to remove STATIC modifier. This is on longer recommended by EFI Framework coding style. All duplicated symbols has been renamed accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6298 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 06:08:09 +00:00
vanjeff bc14bdb317 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6240 6f19259b-4bc3-4df7-8a09-765794883524 2008-10-27 01:52:32 +00:00
vanjeff ed66e1bc0d clean up the un-suitable ';' location when declaring the functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 09:37:28 +00:00
lgao4 f829715058 remove the unused msa files in FatBinPkg, IntelFrameworkPkg, IntelFrameworkModulePkg, Nt32Pkg, OptionRomPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5727 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-25 05:08:13 +00:00
qhuang8 1a8802f763 Update some module INF files in IntelFrameworkModulePkg to UEFI_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5699 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-20 10:00:50 +00:00
klu2 0bcecb6a27 Misuse protocol and guid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5690 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-20 04:18:32 +00:00
vanjeff 68077ae338 add logic to check PCI device has option rom when degrading PCI resources. If one device has 64 bit memory bar and option rom bar. Its 64bit memory should be degraded to 32bit memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5550 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-23 02:54:38 +00:00
vanjeff c07ed17d5b Fixed one bug when building ACPI resource data for 64bit Prefetchable memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5541 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-21 15:11:58 +00:00
eric_tian 19efd9ec94 modify file name to uppercase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5490 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 05:02:51 +00:00
eric_tian 0d7c136e9d modify file name to uppercase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5489 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 04:58:21 +00:00
vanjeff ada88886f1 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5484 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 02:56:26 +00:00
vanjeff 50d4169602 rename
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5483 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 02:56:01 +00:00
vanjeff 03417d8d31 sync filename exactly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5482 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-16 02:54:54 +00:00
vanjeff 80b5052fb9 rename to meet actual filenames
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5395 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:15:27 +00:00
vanjeff 9d96413da1 rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5394 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:13:19 +00:00
vanjeff 9a9f4df5ac Rename to meet naming rules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5393 6f19259b-4bc3-4df7-8a09-765794883524
2008-07-02 03:11:59 +00:00
xli24 9a2d4fe9a7 Add parameter checking for PCI IO protocol according to UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5359 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-21 11:16:36 +00:00
vanjeff 4ecdb8690f Give the output information in right place.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5317 6f19259b-4bc3-4df7-8a09-765794883524
2008-06-03 02:16:12 +00:00
qhuang8 ab4eb9640e Rollback the enhancement of Pcibus in r4844 for more investigation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5292 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-26 08:32:50 +00:00
klu2 57076f4585 Add function doxygen header for PciBus module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5071 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-16 09:24:58 +00:00
klu2 a3b8e25782 Add function doxygen header for PciBus module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5066 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-15 08:52:18 +00:00
klu2 bcd7041487 Coding style modification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5058 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-14 03:12:57 +00:00
jljusten c05d012569 IntelFrameworkModulePkg/
Library/PciIncompatibleDeviceSupportLib/IncompatiblePciDeviceList.h:
  Bus/Pci/PciBusDxe/PciHotPlugSupport.c:
  Bus/Pci/IdeBusDxe/idebus.h:
* Fix issues with filename inconsistency which prevents building on
  systems with case sensitive file systems.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4948 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-21 22:53:54 +00:00
klu2 3dbba77042 Modify all file header to follow doxygen format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4908 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 03:28:13 +00:00
vanjeff 4beb4afe33 [Description]:
Fixed one bug in PciBus. PciBus doesn't clear the bridges bus number for all the root bridges before scanning any of them.
[Impaction]:
 Pci Bus driver.
[Reference Info]:
 EDK tracker 997. 



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4851 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-14 05:58:31 +00:00
zliu3 31bbf49fa7 Enhanced the PCI Bus DXE module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4844 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-13 08:44:09 +00:00
vanjeff a1d887b7ab Merger tracker:Fixed a Pci bus driver logic error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4799 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-07 03:43:00 +00:00
qhuang8 eb9a9a5e23 Produce all the PciIo & Dpath protocol for all the pci devices under the current host bridge.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4703 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-19 04:17:05 +00:00
vanjeff ea5632e56d 1. Remove USB HC Protocol installing from Uhci module. It only installs USB2 HC protocol.
2. Restore Incompatible Pci Device Support Protocol in PciBus module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4617 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-23 09:41:04 +00:00
eric_tian 96d1b1722e Add the Rom Image to internal database for later PCI light enumeration
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4439 6f19259b-4bc3-4df7-8a09-765794883524
2007-12-26 08:49:07 +00:00
vanjeff cfe9de5244 1. CoreOpenImageFile(): FilePath should be IN OUT.
2. Use offset address to build device path instead of absolute address.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4294 6f19259b-4bc3-4df7-8a09-765794883524
2007-11-09 07:26:24 +00:00
lgao4 cb33842e8a Add back the trick logic on EFI_PCI_DEVICE_ENABLE in PciBus driver so that some old vendor drivers can still work well.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4131 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-16 09:58:55 +00:00
lgao4 96f6af14d6 Remove the special logic on EFI_PCI_DEVICE_ENABLE in PciBus driver. And update drivers that use this macro. The reason is that
PciIoAttributes() in PciIo.c treats EFI_PCI_DEVICE_ENABLE specially so that when EFI_PCI_DEVICE_ENABLE is passed in, only the supported bits of driver will be enabled. Now many drivers use EFI_PCI_DEVICE_ENABLE to enable PCI device even if some of them don't support some of the attributes like EFI_PCI_IO_ATTRIBUTE_MEMORY. This doesn't conform to UEFI 2.0 spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4115 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-15 07:44:27 +00:00
qhuang8 d1aeb0bdc3 Add compiler hint of "GLOBAL_REMOVE_IF_UNREFERENCED" to prevent static unicode string table linked into final image if both PcdComponentNameDisabled and PcdComponentName2Disabled are set to TRUE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4084 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 03:36:31 +00:00
jwang36 23bd66f425 Changed to pass the build with Visual Studio 2005
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4076 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 07:04:47 +00:00
AJFISH 6deef76382 Fixed NT32 Build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4064 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 19:38:25 +00:00
jwang36 0c6bbb63f9 Cleaned the code for passing Visual Studio 2005 build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4061 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 09:30:40 +00:00
qhuang8 1307dcd745 Add compiler hint of "GLOBAL_REMOVE_IF_UNREFERENCED" to prevent component name structures linked into final image if PcdComponentNameDisabled or PcdComponentName2Disabled is set to TRUE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4057 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 07:08:08 +00:00
qhuang8 733f03aa90 Update to support to produce Component Name and & Component Name 2 protocol based on Feature flag PcdComponentNameDisable & PcdComponentName2Disable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3997 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-30 02:32:16 +00:00
xli24 ff62de3730 PCI Bus Driver Enhancement
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3960 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 04:40:49 +00:00
mdkinney 2d9d2abf04 Build a valid device path to an EFI driver loaded from a PCI Option ROM
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3852 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-14 21:29:45 +00:00
vanjeff 7f0f1b8f45 Merge tracker. Add check whether CreateResourceNode successful or not.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3787 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-10 03:45:28 +00:00
qhuang8 b3af5df67b Update all INF, DEC and DSC file to confirm to newest INF spec 0.44, DEC spec 0.41, DSC spec 0.40.
Mainly PCD syntax update.
Check in new build.exe and GenFds.exe
Check in PcdSyntaxUpdate.exe tool. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3744 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 09:11:54 +00:00
mdkinney a1e3528b31 Replace EFI_MAX() with MAX()
Replace EFI_MIN() with MIN()


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3631 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-14 00:00:01 +00:00
klu2 a43264f451 Remove all *_PAYLOAD structures definition in IntelFrameworkPkg/Include/Framework/StatusCodeDataTypeId.h file, they are *not* in any specification and should be moved to user's header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3587 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-09 05:31:14 +00:00
klu2 3db510989e Correct all header files for doxygen format and correct the license issue for VgaClass driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3401 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-23 07:06:23 +00:00
vanjeff ed7748fe4a remove some comments introduced by tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3387 6f19259b-4bc3-4df7-8a09-765794883524
2007-07-20 06:10:09 +00:00