/* * Shutdown sequence. Opposite to boot(). */ static void shutdown(void) { kprintf("Shutting down.\n"); vfs_clearbootfs(); vfs_clearcurdir(); vfs_unmountall(); #if OPT_A3 vmstats_print(); #endif splhigh(); #if OPT_A3 vm_shutdown(); shutdownSwapOps(); #endif scheduler_shutdown(); thread_shutdown(); }
/* * Shutdown sequence. Opposite to boot(). */ static void shutdown(void) { kprintf("Shutting down.\n"); vfs_clearbootfs(); vfs_clearcurdir(); vfs_unmountall(); thread_shutdown(); splhigh(); }
/* * Shutdown sequence. Opposite to boot(). */ static void shutdown(void) { #if OPT_A3 vmstats_print(); #endif kprintf("Shutting down.\n"); vfs_clearbootfs(); vfs_clearcurdir(); vfs_unmountall(); thread_shutdown(); splhigh(); }
/* * Shutdown sequence. Opposite to boot(). */ static void shutdown(void) { kprintf("Shutting down.\n"); vmstats_print(); process_shutdown(); swap_shutdown(); vfs_clearbootfs(); vfs_clearcurdir(); vfs_unmountall(); splhigh(); scheduler_shutdown(); thread_shutdown(); }