diff options
| author | Paul Saab <ps@FreeBSD.org> | 2000-06-14 10:34:29 +0000 |
|---|---|---|
| committer | Paul Saab <ps@FreeBSD.org> | 2000-06-14 10:34:29 +0000 |
| commit | cc3d937224fbe6b30a3909c0cc6a890eea686e9f (patch) | |
| tree | 0a7b83f74c2eb6b28643c20e914df2f9c0edb2f1 /sys/boot/common/misc.c | |
| parent | 8a0b95d6107abe286c17cb885d8c2ab886e7c449 (diff) | |
Notes
Diffstat (limited to 'sys/boot/common/misc.c')
| -rw-r--r-- | sys/boot/common/misc.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/boot/common/misc.c b/sys/boot/common/misc.c index 819d4a46594c..bc33c5362f63 100644 --- a/sys/boot/common/misc.c +++ b/sys/boot/common/misc.c @@ -131,3 +131,14 @@ hexdump(caddr_t region, size_t len) } pager_close(); } + +void +dev_cleanup(void) +{ + int i; + + /* Call cleanup routines */ + for (i = 0; devsw[i] != NULL; ++i) + if (devsw[i]->dv_cleanup != NULL) + (devsw[i]->dv_cleanup)(); +} |
