void acpi_ut_subsystem_shutdown(void) { ACPI_FUNCTION_TRACE(ut_subsystem_shutdown); #ifndef ACPI_ASL_COMPILER /* Close the acpi_event Handling */ acpi_ev_terminate(); /* Delete any dynamic _OSI interfaces */ acpi_ut_interface_terminate(); #endif /* Close the Namespace */ acpi_ns_terminate(); /* Delete the ACPI tables */ acpi_tb_terminate(); /* Close the globals */ acpi_ut_terminate(); /* Purge the local caches */ (void)acpi_ut_delete_caches(); return_VOID; }
void acpi_ut_subsystem_shutdown(void) { ACPI_FUNCTION_TRACE(ut_subsystem_shutdown); #ifndef ACPI_ASL_COMPILER acpi_ev_terminate(); #endif acpi_ns_terminate(); acpi_tb_terminate(); acpi_ut_terminate(); (void)acpi_ut_delete_caches(); return_VOID; }
void acpi_ut_subsystem_shutdown(void) { ACPI_FUNCTION_TRACE(ut_subsystem_shutdown); /* Just exit if subsystem is already shutdown */ if (acpi_gbl_shutdown) { ACPI_ERROR((AE_INFO, "ACPI Subsystem is already terminated")); return_VOID; } /* Subsystem appears active, go ahead and shut it down */ acpi_gbl_shutdown = TRUE; acpi_gbl_startup_flags = 0; ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Shutting down ACPI Subsystem\n")); #ifndef ACPI_ASL_COMPILER /* Close the acpi_event Handling */ acpi_ev_terminate(); /* Delete any dynamic _OSI interfaces */ acpi_ut_interface_terminate(); #endif /* Close the Namespace */ acpi_ns_terminate(); /* Delete the ACPI tables */ acpi_tb_terminate(); /* Close the globals */ acpi_ut_terminate(); /* Purge the local caches */ (void)acpi_ut_delete_caches(); return_VOID; }
void acpi_ut_subsystem_shutdown ( void) { ACPI_FUNCTION_TRACE ("ut_subsystem_shutdown"); /* Just exit if subsystem is already shutdown */ if (acpi_gbl_shutdown) { ACPI_DEBUG_PRINT ((ACPI_DB_ERROR, "ACPI Subsystem is already terminated\n")); return_VOID; } /* Subsystem appears active, go ahead and shut it down */ acpi_gbl_shutdown = TRUE; ACPI_DEBUG_PRINT ((ACPI_DB_INFO, "Shutting down ACPI Subsystem...\n")); /* Close the acpi_event Handling */ acpi_ev_terminate (); /* Close the Namespace */ acpi_ns_terminate (); /* Close the globals */ acpi_ut_terminate (); /* Purge the local caches */ (void) acpi_purge_cached_objects (); /* Debug only - display leftover memory allocation, if any */ #ifdef ACPI_DBG_TRACK_ALLOCATIONS acpi_ut_dump_allocations (ACPI_UINT32_MAX, NULL); #endif return_VOID; }