Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156499240
D40035.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
953 B
Referenced Files
None
Subscribers
None
D40035.diff
View Options
diff --git a/usr.sbin/bhyve/pci_passthru.h b/usr.sbin/bhyve/pci_passthru.h
--- a/usr.sbin/bhyve/pci_passthru.h
+++ b/usr.sbin/bhyve/pci_passthru.h
@@ -24,5 +24,6 @@
int coff, int bytes, uint32_t *rv);
int passthru_cfgwrite_emulate(struct passthru_softc *sc, struct pci_devinst *pi,
int coff, int bytes, uint32_t val);
+struct pcisel *passthru_get_sel(struct passthru_softc *sc);
int set_pcir_handler(struct passthru_softc *sc, int reg, int len,
cfgread_handler rhandler, cfgwrite_handler whandler);
diff --git a/usr.sbin/bhyve/pci_passthru.c b/usr.sbin/bhyve/pci_passthru.c
--- a/usr.sbin/bhyve/pci_passthru.c
+++ b/usr.sbin/bhyve/pci_passthru.c
@@ -660,6 +660,14 @@
return (error);
}
+struct pcisel *
+passthru_get_sel(struct passthru_softc *sc)
+{
+ assert(sc != NULL);
+
+ return (&sc->psc_sel);
+}
+
int
set_pcir_handler(struct passthru_softc *sc, int reg, int len,
cfgread_handler rhandler, cfgwrite_handler whandler)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 15, 3:56 AM (13 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33072424
Default Alt Text
D40035.diff (953 B)
Attached To
Mode
D40035: bhyve: make passthru sel public available
Attached
Detach File
Event Timeline
Log In to Comment