incubator-nuttx/sched/module
anjiahao a9cb28cd23 modlib:Standardized module loading method
1. use '__attribute__((constructor))' mark initialize function
2. use '__attribute__((destructor))' mark uninitialize function
3. compile module with -fvisibility=hidden. use `__attribute__((visibility("default")))`
mark is need export symbol.so not need module_initialize to initialize export symbol.

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2024-10-05 15:22:02 +08:00
..
CMakeLists.txt sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Make.defs sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
mod_insmod.c modlib/dlfcn:unify same code 2024-09-29 15:06:54 +08:00
mod_modhandle.c modlib/dlfcn:unify same code 2024-09-29 15:06:54 +08:00
mod_modsym.c modlib/dlfcn:unify same code 2024-09-29 15:06:54 +08:00
mod_procfs.c modlib:Standardized module loading method 2024-10-05 15:22:02 +08:00
mod_rmmod.c modlib/dlfcn:unify same code 2024-09-29 15:06:54 +08:00