20 #include "pedigree/kernel/utilities/List.h" 22 #include "modules/Module.h" 24 #ifndef STATIC_DRIVERS 28 typedef void (*__cxa_atexit_func_type)(
void *);
32 __cxa_atexit_func_type func;
40 void __cxa_atexit(
void (*f)(
void *),
void *arg,
void *dso_handle);
41 void __cxa_atexit(
void (*f)(
void *),
void *arg,
void *dso_handle)
57 void __perform_module_exit()
__attribute__((destructor(101)));
58 void __perform_module_exit()
63 for (
auto it = g_AtExitEntries->
begin(); it != g_AtExitEntries->
end(); ++it)
65 (*it).func((*it).arg);
68 delete g_AtExitEntries;
void pushBack(const T &value)