diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-08-11 16:27:43 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-08-11 16:29:45 +0200 |
commit | 9049b963b6023ef6d7bd3f8c81ef5ab1f3b43fd3 (patch) | |
tree | da5c163f6e6240d9400aa36fcdf38226e5e5e023 /libmachdev/machdev-device_emul.h | |
parent | c654480ef67c15b2cd9e774afa65f53b32693b40 (diff) | |
download | hurd-9049b963b6023ef6d7bd3f8c81ef5ab1f3b43fd3.tar.gz hurd-9049b963b6023ef6d7bd3f8c81ef5ab1f3b43fd3.tar.bz2 hurd-9049b963b6023ef6d7bd3f8c81ef5ab1f3b43fd3.zip |
libmachdev: Fix startup_dosync
We do not actually want to shut everything down. For instance, we still have
to be able to start the acpi translator to perform the actual shutdown.
What we however have to do is syncing the disks.
Diffstat (limited to 'libmachdev/machdev-device_emul.h')
-rw-r--r-- | libmachdev/machdev-device_emul.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmachdev/machdev-device_emul.h b/libmachdev/machdev-device_emul.h index 7748f37f..9f7b0b21 100644 --- a/libmachdev/machdev-device_emul.h +++ b/libmachdev/machdev-device_emul.h @@ -64,7 +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) (mach_port_t); + void (*sync) (void); }; #endif /* _MACHDEV_DEVICE_EMUL_H_ */ |