Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bhyve/atkbdc.h
Show All 25 Lines | |||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _ATKBDC_H_ | #ifndef _ATKBDC_H_ | ||||
#define _ATKBDC_H_ | #define _ATKBDC_H_ | ||||
struct atkbdc_softc; | struct atkbdc_softc; | ||||
struct vm_snapshot_meta; | struct vm_snapshot_meta; | ||||
struct vm_snapshot_dev_info; | |||||
struct vmctx; | struct vmctx; | ||||
void atkbdc_init(struct vmctx *ctx); | void atkbdc_init(struct vmctx *ctx); | ||||
void atkbdc_event(struct atkbdc_softc *sc, int iskbd); | void atkbdc_event(struct atkbdc_softc *sc, int iskbd); | ||||
#ifdef BHYVE_SNAPSHOT | #ifdef BHYVE_SNAPSHOT | ||||
int atkbdc_snapshot(struct vm_snapshot_meta *meta); | int atkbdc_snapshot(struct vm_snapshot_meta *meta, struct vm_snapshot_dev_info *dev_info); | ||||
#endif | #endif | ||||
#endif /* _ATKBDC_H_ */ | #endif /* _ATKBDC_H_ */ |