diff options
Diffstat (limited to 'libmachdev/ds_routines.c')
-rw-r--r-- | libmachdev/ds_routines.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libmachdev/ds_routines.c b/libmachdev/ds_routines.c index 53e0c080..64080176 100644 --- a/libmachdev/ds_routines.c +++ b/libmachdev/ds_routines.c @@ -317,6 +317,16 @@ void machdev_device_init() } } +void machdev_device_shutdown() +{ + int i; + for (i = 0; i < num_emul; i++) + { + if (emulation_list[i]->shutdown) + emulation_list[i]->shutdown(); + } +} + static int demuxer (mach_msg_header_t *inp, mach_msg_header_t *outp) { |