Changeset 58466 in vbox for trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BasePciCf8Lib
- Timestamp:
- Oct 29, 2015 4:30:44 AM (9 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/Firmware
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware
- Property svn:mergeinfo changed
/vendor/edk2/current merged: 103769-103776
- Property svn:mergeinfo changed
-
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
r58459 r58466 24 24 MODULE_TYPE = BASE 25 25 VERSION_STRING = 1.0 26 LIBRARY_CLASS = PciCf8Lib 26 LIBRARY_CLASS = PciCf8Lib 27 27 28 28 # -
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BasePciCf8Lib/PciCf8Lib.c
r58459 r58466 62 62 63 63 /** 64 Registers a PCI device so PCI configuration registers may be accessed after 64 Registers a PCI device so PCI configuration registers may be accessed after 65 65 SetVirtualAddressMap(). 66 67 Registers the PCI device specified by Address so all the PCI configuration registers 66 67 Registers the PCI device specified by Address so all the PCI configuration registers 68 68 associated with that PCI device may be accessed after SetVirtualAddressMap() is called. 69 69 70 70 If Address > 0x0FFFFFFF, then ASSERT(). 71 71 If the register specified by Address >= 0x100, then ASSERT(). … … 73 73 @param Address The address that encodes the PCI Bus, Device, Function and 74 74 Register. 75 75 76 76 @retval RETURN_SUCCESS The PCI device was registered for runtime access. 77 @retval RETURN_UNSUPPORTED An attempt was made to call this function 77 @retval RETURN_UNSUPPORTED An attempt was made to call this function 78 78 after ExitBootServices(). 79 79 @retval RETURN_UNSUPPORTED The resources required to access the PCI device … … 118 118 UINT32 AddressPort; 119 119 UINT8 Result; 120 120 121 121 ASSERT_INVALID_PCI_ADDRESS (Address, 0); 122 122 InterruptState = SaveAndDisableInterrupts (); … … 156 156 UINT32 AddressPort; 157 157 UINT8 Result; 158 158 159 159 ASSERT_INVALID_PCI_ADDRESS (Address, 0); 160 160 InterruptState = SaveAndDisableInterrupts (); … … 201 201 UINT32 AddressPort; 202 202 UINT8 Result; 203 203 204 204 ASSERT_INVALID_PCI_ADDRESS (Address, 0); 205 205 InterruptState = SaveAndDisableInterrupts (); … … 246 246 UINT32 AddressPort; 247 247 UINT8 Result; 248 248 249 249 ASSERT_INVALID_PCI_ADDRESS (Address, 0); 250 250 InterruptState = SaveAndDisableInterrupts (); … … 294 294 UINT32 AddressPort; 295 295 UINT8 Result; 296 296 297 297 ASSERT_INVALID_PCI_ADDRESS (Address, 0); 298 298 InterruptState = SaveAndDisableInterrupts (); … … 342 342 UINT32 AddressPort; 343 343 UINT8 Result; 344 344 345 345 ASSERT_INVALID_PCI_ADDRESS (Address, 0); 346 346 InterruptState = SaveAndDisableInterrupts (); … … 394 394 UINT32 AddressPort; 395 395 UINT8 Result; 396 396 397 397 ASSERT_INVALID_PCI_ADDRESS (Address, 0); 398 398 InterruptState = SaveAndDisableInterrupts (); … … 450 450 UINT32 AddressPort; 451 451 UINT8 Result; 452 452 453 453 ASSERT_INVALID_PCI_ADDRESS (Address, 0); 454 454 InterruptState = SaveAndDisableInterrupts (); … … 506 506 UINT32 AddressPort; 507 507 UINT8 Result; 508 508 509 509 ASSERT_INVALID_PCI_ADDRESS (Address, 0); 510 510 InterruptState = SaveAndDisableInterrupts (); … … 567 567 UINT32 AddressPort; 568 568 UINT8 Result; 569 569 570 570 ASSERT_INVALID_PCI_ADDRESS (Address, 0); 571 571 InterruptState = SaveAndDisableInterrupts (); … … 610 610 UINT32 AddressPort; 611 611 UINT16 Result; 612 612 613 613 ASSERT_INVALID_PCI_ADDRESS (Address, 1); 614 614 InterruptState = SaveAndDisableInterrupts (); … … 649 649 UINT32 AddressPort; 650 650 UINT16 Result; 651 651 652 652 ASSERT_INVALID_PCI_ADDRESS (Address, 1); 653 653 InterruptState = SaveAndDisableInterrupts (); … … 695 695 UINT32 AddressPort; 696 696 UINT16 Result; 697 697 698 698 ASSERT_INVALID_PCI_ADDRESS (Address, 1); 699 699 InterruptState = SaveAndDisableInterrupts (); … … 741 741 UINT32 AddressPort; 742 742 UINT16 Result; 743 743 744 744 ASSERT_INVALID_PCI_ADDRESS (Address, 1); 745 745 InterruptState = SaveAndDisableInterrupts (); … … 790 790 UINT32 AddressPort; 791 791 UINT16 Result; 792 792 793 793 ASSERT_INVALID_PCI_ADDRESS (Address, 1); 794 794 InterruptState = SaveAndDisableInterrupts (); … … 839 839 UINT32 AddressPort; 840 840 UINT16 Result; 841 841 842 842 ASSERT_INVALID_PCI_ADDRESS (Address, 1); 843 843 InterruptState = SaveAndDisableInterrupts (); … … 892 892 UINT32 AddressPort; 893 893 UINT16 Result; 894 894 895 895 ASSERT_INVALID_PCI_ADDRESS (Address, 1); 896 896 InterruptState = SaveAndDisableInterrupts (); … … 949 949 UINT32 AddressPort; 950 950 UINT16 Result; 951 951 952 952 ASSERT_INVALID_PCI_ADDRESS (Address, 1); 953 953 InterruptState = SaveAndDisableInterrupts (); … … 1006 1006 UINT32 AddressPort; 1007 1007 UINT16 Result; 1008 1008 1009 1009 ASSERT_INVALID_PCI_ADDRESS (Address, 1); 1010 1010 InterruptState = SaveAndDisableInterrupts (); … … 1068 1068 UINT32 AddressPort; 1069 1069 UINT16 Result; 1070 1070 1071 1071 ASSERT_INVALID_PCI_ADDRESS (Address, 1); 1072 1072 InterruptState = SaveAndDisableInterrupts (); … … 1111 1111 UINT32 AddressPort; 1112 1112 UINT32 Result; 1113 1113 1114 1114 ASSERT_INVALID_PCI_ADDRESS (Address, 3); 1115 1115 InterruptState = SaveAndDisableInterrupts (); … … 1150 1150 UINT32 AddressPort; 1151 1151 UINT32 Result; 1152 1152 1153 1153 ASSERT_INVALID_PCI_ADDRESS (Address, 3); 1154 1154 InterruptState = SaveAndDisableInterrupts (); … … 1196 1196 UINT32 AddressPort; 1197 1197 UINT32 Result; 1198 1198 1199 1199 ASSERT_INVALID_PCI_ADDRESS (Address, 3); 1200 1200 InterruptState = SaveAndDisableInterrupts (); … … 1242 1242 UINT32 AddressPort; 1243 1243 UINT32 Result; 1244 1244 1245 1245 ASSERT_INVALID_PCI_ADDRESS (Address, 3); 1246 1246 InterruptState = SaveAndDisableInterrupts (); … … 1291 1291 UINT32 AddressPort; 1292 1292 UINT32 Result; 1293 1293 1294 1294 ASSERT_INVALID_PCI_ADDRESS (Address, 3); 1295 1295 InterruptState = SaveAndDisableInterrupts (); … … 1340 1340 UINT32 AddressPort; 1341 1341 UINT32 Result; 1342 1342 1343 1343 ASSERT_INVALID_PCI_ADDRESS (Address, 3); 1344 1344 InterruptState = SaveAndDisableInterrupts (); … … 1393 1393 UINT32 AddressPort; 1394 1394 UINT32 Result; 1395 1395 1396 1396 ASSERT_INVALID_PCI_ADDRESS (Address, 3); 1397 1397 InterruptState = SaveAndDisableInterrupts (); … … 1450 1450 UINT32 AddressPort; 1451 1451 UINT32 Result; 1452 1452 1453 1453 ASSERT_INVALID_PCI_ADDRESS (Address, 3); 1454 1454 InterruptState = SaveAndDisableInterrupts (); … … 1507 1507 UINT32 AddressPort; 1508 1508 UINT32 Result; 1509 1509 1510 1510 ASSERT_INVALID_PCI_ADDRESS (Address, 3); 1511 1511 InterruptState = SaveAndDisableInterrupts (); … … 1569 1569 UINT32 AddressPort; 1570 1570 UINT32 Result; 1571 1571 1572 1572 ASSERT_INVALID_PCI_ADDRESS (Address, 3); 1573 1573 InterruptState = SaveAndDisableInterrupts ();
Note:
See TracChangeset
for help on using the changeset viewer.