Linkable loadable extensions can only use syscalls if they are exported via EXPORT_SYSCALL (or EXPORT_SYMBOL). Instead of enabling used syscalls one by one, this patch exports all of them automatically via `gen_syscalls.py`. If CONFIG_LLEXT=n, the section where the exported symbols live is discarded, so it should be a non-op when llext is not enabled. This patch also removes the now redundant EXPORT_SYSCALL macro. Note that EXPORT_SYMBOL is still useful on different situations (and is indeed used by the code generated by `gen_syscalls.py`). Signed-off-by: Ederson de Souza <ederson.desouza@intel.com> |
||
|---|---|---|
| .. | ||
| check_init_priorities_test.py | ||
| check_init_priorities.py | ||
| dir_is_writeable.py | ||
| elf_parser.py | ||
| file2hex.py | ||
| gen_app_partitions.py | ||
| gen_cfb_font_header.py | ||
| gen_device_deps.py | ||
| gen_image_info.py | ||
| gen_isr_tables_parser_carrays.py | ||
| gen_isr_tables_parser_local.py | ||
| gen_isr_tables.py | ||
| gen_kobject_list.py | ||
| gen_kobject_placeholders.py | ||
| gen_offset_header.py | ||
| gen_relocate_app.py | ||
| gen_strerror_table.py | ||
| gen_strsignal_table.py | ||
| gen_syscalls.py | ||
| mergehex.py | ||
| parse_syscalls.py | ||
| process_gperf.py | ||
| subfolder_list.py | ||
| uf2conv.py | ||
| user_wordsize.py | ||