Browse Source
Export some symbols for loadable modules. Also add an EXPORT_SYSCALL() helper macro for exporting system calls by their official names. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>pull/65478/head
7 changed files with 38 additions and 3 deletions
@ -1,6 +1,5 @@
@@ -1,6 +1,5 @@
|
||||
if(CONFIG_LLEXT) |
||||
zephyr_library() |
||||
zephyr_library_sources(llext.c) |
||||
zephyr_library_sources(buf_loader.c) |
||||
zephyr_library_sources(llext.c llext_export.c buf_loader.c) |
||||
zephyr_library_sources_ifdef(CONFIG_LLEXT_SHELL shell.c) |
||||
endif() |
||||
|
@ -0,0 +1,17 @@
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Copyright (c) 2023 Intel Corporation |
||||
* |
||||
* SPDX-License-Identifier: Apache-2.0 |
||||
*/ |
||||
|
||||
#include <string.h> |
||||
#include <zephyr/llext/symbol.h> |
||||
|
||||
EXPORT_SYMBOL(strcpy); |
||||
EXPORT_SYMBOL(strncpy); |
||||
EXPORT_SYMBOL(strlen); |
||||
EXPORT_SYMBOL(strcmp); |
||||
EXPORT_SYMBOL(strncmp); |
||||
EXPORT_SYMBOL(memcmp); |
||||
EXPORT_SYMBOL(memcpy); |
||||
EXPORT_SYMBOL(memset); |
Loading…
Reference in new issue