Remove a spurious break when setting up a 64-bit memory BAR.
This was causing 'enbit' to not be initialized in this case. CID: 1401924 Reported by: Coverity MFC after: 1 week
This commit is contained in:
parent
1524298754
commit
0026d8ccb7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348998
@ -634,7 +634,6 @@ pci_emul_alloc_pbar(struct pci_devinst *pdi, int idx, uint64_t hostbase,
|
|||||||
mask = PCIM_BAR_MEM_BASE;
|
mask = PCIM_BAR_MEM_BASE;
|
||||||
lobits = PCIM_BAR_MEM_SPACE | PCIM_BAR_MEM_64 |
|
lobits = PCIM_BAR_MEM_SPACE | PCIM_BAR_MEM_64 |
|
||||||
PCIM_BAR_MEM_PREFETCH;
|
PCIM_BAR_MEM_PREFETCH;
|
||||||
break;
|
|
||||||
} else {
|
} else {
|
||||||
baseptr = &pci_emul_membase32;
|
baseptr = &pci_emul_membase32;
|
||||||
limit = PCI_EMUL_MEMLIMIT32;
|
limit = PCI_EMUL_MEMLIMIT32;
|
||||||
|
Loading…
Reference in New Issue
Block a user