diff options
Diffstat (limited to 'usr.sbin/bhyve/ps2mouse.h')
-rw-r--r-- | usr.sbin/bhyve/ps2mouse.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/bhyve/ps2mouse.h b/usr.sbin/bhyve/ps2mouse.h index 59430b01e2b1c..4ae755ef4411f 100644 --- a/usr.sbin/bhyve/ps2mouse.h +++ b/usr.sbin/bhyve/ps2mouse.h @@ -32,6 +32,7 @@ #define _PS2MOUSE_H_ struct atkbdc_softc; +struct vm_snapshot_meta; struct ps2mouse_softc *ps2mouse_init(struct atkbdc_softc *sc); @@ -40,4 +41,8 @@ void ps2mouse_write(struct ps2mouse_softc *sc, uint8_t val, int insert); void ps2mouse_toggle(struct ps2mouse_softc *sc, int enable); int ps2mouse_fifocnt(struct ps2mouse_softc *sc); +#ifdef BHYVE_SNAPSHOT +int ps2mouse_snapshot(struct ps2mouse_softc *sc, struct vm_snapshot_meta *meta); +#endif + #endif /* _PS2MOUSE_H_ */ |