aboutsummaryrefslogtreecommitdiff
path: root/libmachdev/machdev-device_emul.h
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2020-08-01 15:05:38 +1000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-08-02 23:33:36 +0200
commit49eae3b568ca925e9f0f928f8fb6dd8457d7d0b0 (patch)
tree7d54b9ff7c9fafa3e70960d12f0a98c957a815dd /libmachdev/machdev-device_emul.h
parent304adff10d5bdeeb618a6633e3b80e51aa4585c6 (diff)
downloadhurd-49eae3b568ca925e9f0f928f8fb6dd8457d7d0b0.tar.gz
hurd-49eae3b568ca925e9f0f928f8fb6dd8457d7d0b0.tar.bz2
hurd-49eae3b568ca925e9f0f928f8fb6dd8457d7d0b0.zip
libmachdev: Introduce startup notification for clean rumpdisk shutdown
Message-Id: <20200801050538.273196-1-damien@zamaudio.com>
Diffstat (limited to 'libmachdev/machdev-device_emul.h')
-rw-r--r--libmachdev/machdev-device_emul.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmachdev/machdev-device_emul.h b/libmachdev/machdev-device_emul.h
index ab1bd92b..edf79b96 100644
--- a/libmachdev/machdev-device_emul.h
+++ b/libmachdev/machdev-device_emul.h
@@ -64,6 +64,7 @@ struct machdev_device_emulation_ops
recnum_t, vm_offset_t, vm_size_t);
io_return_t (*writev_trap) (void *, dev_mode_t,
recnum_t, io_buf_vec_t *, vm_size_t);
+ void (*shutdown) (void);
};
#endif /* _MACHDEV_DEVICE_EMUL_H_ */