diff options
author | pd <pd@openbsd.org> | 2017-09-17 23:07:56 +0000 |
---|---|---|
committer | pd <pd@openbsd.org> | 2017-09-17 23:07:56 +0000 |
commit | 813e3047e38227265d57e549079c170b2e2609d1 (patch) | |
tree | 0cd7c449a12b57d3697f024f5b64bb8965c3c4f4 /usr.sbin/vmd/pci.h | |
parent | vmd: re add rtc.per and rtc.sec evtimers on receive (diff) | |
download | wireguard-openbsd-813e3047e38227265d57e549079c170b2e2609d1.tar.xz wireguard-openbsd-813e3047e38227265d57e549079c170b2e2609d1.zip |
vmd: send/recv pci config space instead of recreating pci devices on receive
ok mlarkin@
Diffstat (limited to 'usr.sbin/vmd/pci.h')
-rw-r--r-- | usr.sbin/vmd/pci.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/vmd/pci.h b/usr.sbin/vmd/pci.h index 3c4afd46ec5..01902d77d8e 100644 --- a/usr.sbin/vmd/pci.h +++ b/usr.sbin/vmd/pci.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pci.h,v 1.6 2017/07/06 06:19:15 mlarkin Exp $ */ +/* $OpenBSD: pci.h,v 1.7 2017/09/17 23:07:56 pd Exp $ */ /* * Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org> @@ -89,4 +89,7 @@ void pci_init(void); int pci_add_device(uint8_t *, uint16_t, uint16_t, uint8_t, uint8_t, uint16_t, uint16_t, uint8_t, pci_cs_fn_t); int pci_add_bar(uint8_t, uint32_t, void *, void *); +int pci_set_bar_fn(uint8_t, uint8_t, void *, void *); uint8_t pci_get_dev_irq(uint8_t); +int pci_dump(int); +int pci_restore(int); |