Changeset 13201 in vbox
- Timestamp:
- Oct 13, 2008 9:35:40 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 37744
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPCI.cpp
r13192 r13201 523 523 uint8_t iBus, iDevice; 524 524 uint32_t config_addr; 525 uint32_t val ;525 uint32_t val = 0xffffffff; 526 526 527 527 if (!(pGlobals->uConfigReg & (1 << 31))) 528 goto fail;528 goto the_end; 529 529 if ((pGlobals->uConfigReg & 0x3) != 0) 530 goto fail;530 goto the_end; 531 531 iBus = (pGlobals->uConfigReg >> 16) & 0xff; 532 532 iDevice = (pGlobals->uConfigReg >> 8) & 0xff; … … 566 566 pci_dev = pGlobals->PciBus.devices[iDevice]; 567 567 if (!pci_dev) { 568 fail:569 switch(len) {570 case 1:571 val = 0xff;572 break;573 case 2:574 val = 0xffff;575 break;576 default:577 case 4:578 val = 0xffffffff;579 break;580 }581 568 goto the_end; 582 569 }
Note:
See TracChangeset
for help on using the changeset viewer.