summaryrefslogtreecommitdiff
path: root/usr.sbin/bhyve/ps2kbd.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bhyve/ps2kbd.h')
-rw-r--r--usr.sbin/bhyve/ps2kbd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/bhyve/ps2kbd.h b/usr.sbin/bhyve/ps2kbd.h
index 17be6d0466735..3cf87be1b7f39 100644
--- a/usr.sbin/bhyve/ps2kbd.h
+++ b/usr.sbin/bhyve/ps2kbd.h
@@ -32,10 +32,15 @@
#define _PS2KBD_H_
struct atkbdc_softc;
+struct vm_snapshot_meta;
struct ps2kbd_softc *ps2kbd_init(struct atkbdc_softc *sc);
int ps2kbd_read(struct ps2kbd_softc *sc, uint8_t *val);
void ps2kbd_write(struct ps2kbd_softc *sc, uint8_t val);
+#ifdef BHYVE_SNAPSHOT
+int ps2kbd_snapshot(struct ps2kbd_softc *sc, struct vm_snapshot_meta *meta);
+#endif
+
#endif /* _PS2KBD_H_ */