// 10000298: Register word32 _init(Register (ptr32 Eq_3) lr, Stack word32 dwArg04) word32 _init(Eq_3 * lr, word32 dwArg04) { word32 r30_8 = call_gmon_start(lr, dwLoc1C); frame_dummy(lr); __do_global_ctors_aux(lr); return r30_8; }
_init() { return(__do_global_ctors_aux()); }
/** * * @brief Mainline for kernel's background task * * This routine completes kernel initialization by invoking the remaining * init functions, then invokes application's main() routine. * * @return N/A */ static void _main(void *unused1, void *unused2, void *unused3) { ARG_UNUSED(unused1); ARG_UNUSED(unused2); ARG_UNUSED(unused3); _sys_device_do_config_level(_SYS_INIT_LEVEL_POST_KERNEL); /* Final init level before app starts */ _sys_device_do_config_level(_SYS_INIT_LEVEL_APPLICATION); #ifdef CONFIG_CPLUSPLUS /* Process the .ctors and .init_array sections */ extern void __do_global_ctors_aux(void); extern void __do_init_array_aux(void); __do_global_ctors_aux(); __do_init_array_aux(); #endif _init_static_threads(); #ifdef CONFIG_BOOT_TIME_MEASUREMENT /* record timestamp for kernel's _main() function */ extern u64_t __main_tsc; __main_tsc = _tsc_read(); #endif extern void main(void); main(); /* Terminate thread normally since it has no more work to do */ _main_thread->base.user_options &= ~K_ESSENTIAL; }
int32_t _init() { int32_t eax1; call_gmon_start(); frame_dummy(); eax1 = __do_global_ctors_aux(); return eax1; }
/* * Module initialization */ int init_module(void) { __do_global_ctors_aux(); rtl_printf("PLC Device manager initialized\n"); return 0; }
_init() { call_gmon_start(); frame_dummy(); return(__do_global_ctors_aux()); }
_init() {// addr = 0x08048230 _unknown_ __ebp; // r6 call_gmon_start(__eax, __ebx); frame_dummy(); __do_global_ctors_aux(__edx); return; }
void __do_global_ctors (void) { #ifdef INVOKE__main /* If __main won't actually call __do_global_ctors then it doesn't matter what's inside the function. The inside of __do_global_ctors_aux is called automatically in that case. And the Alliant fx2800 linker crashes on this reference. So prevent the crash. */ __do_global_ctors_aux (); #endif }
int __libc_start_main() { char *args[1]; args[0] = ""; __do_global_ctors_aux(); malloc_init(256 * 1024); // Alloc 256k for now. int result = main(1, args); __do_global_dtors_aux(); //Cnecin(); return result; }
int main ( IN int Argc, IN char **Argv ) { __do_global_ctors_aux(); cppMain(Argc, Argv); __do_global_dtors_aux(); return 0; }
/** * * @brief Mainline for nanokernel's background task * * This routine completes kernel initialization by invoking the remaining * init functions, then invokes application's main() routine. * * @return N/A */ static void _main(void) { _sys_device_do_config_level(_SYS_INIT_LEVEL_SECONDARY); _sys_device_do_config_level(_SYS_INIT_LEVEL_NANOKERNEL); _sys_device_do_config_level(_SYS_INIT_LEVEL_APPLICATION); #ifdef CONFIG_CPLUSPLUS /* Process the .ctors and .init_array sections */ extern void __do_global_ctors_aux(void); extern void __do_init_array_aux(void); __do_global_ctors_aux(); __do_init_array_aux(); #endif extern void main(void); main(); }
// 08048230: void _init() void _init() { call_gmon_start(); frame_dummy(); __do_global_ctors_aux(); }
__attribute__((section(".init"))) void _init(void) { __do_global_ctors_aux(); }
// 08048278: void _init(Register word32 esi) void _init(word32 esi) { call_gmon_start(); frame_dummy(esi); __do_global_ctors_aux(); }
void _init() { __do_global_ctors_aux(); }