Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102550732
D31819.id96891.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
406 B
Referenced Files
None
Subscribers
None
D31819.id96891.diff
View Options
diff --git a/usr.sbin/bhyve/pci_emul.c b/usr.sbin/bhyve/pci_emul.c
--- a/usr.sbin/bhyve/pci_emul.c
+++ b/usr.sbin/bhyve/pci_emul.c
@@ -2018,7 +2018,7 @@
} else {
x = *eax;
cfgenable = (x & CONF1_ENABLE) == CONF1_ENABLE;
- cfgoff = x & PCI_REGMAX;
+ cfgoff = (x & PCI_REGMAX) & ~0x03;
cfgfunc = (x >> 8) & PCI_FUNCMAX;
cfgslot = (x >> 11) & PCI_SLOTMAX;
cfgbus = (x >> 16) & PCI_BUSMAX;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 14, 10:48 PM (8 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14634748
Default Alt Text
D31819.id96891.diff (406 B)
Attached To
Mode
D31819: bhyve: ignore low bits of CFGADR
Attached
Detach File
Event Timeline
Log In to Comment