zephyr/include
Marcin Niestroj f74feca027 mgmt: smp: shell: initialize SMP before feeding with received bytes
So far SMP shell transport was initialized in APPLICATION run level, but
shell over UART was initialized in POST_KERNEL. This could end up in
situation when received frames were scheduled for further processing in
SMP layer, when it was not initialized yet.

Export smp_shell_init() function declaration and call it before shell is
initialized with all its receive data handlers. This prevents situation
when data is scheduled for processing in SMP layer, when that one is not
ready yet.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
2020-08-19 09:51:45 -04:00
..
app_memory userspace: mark z_app_regions as const 2020-07-20 13:47:10 +02:00
arch arch: arm: aarch32: add support for Cortex-M1 2020-08-14 13:35:39 -05:00
audio device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
bluetooth Bluetooth: Att: Added define for max attribute length 2020-08-18 15:55:14 -04:00
canbus zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
cmsis_rtos_v1 all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
cmsis_rtos_v2 global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
console zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
crypto device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
data json: Add top-level array encoding support 2020-06-19 18:21:27 +02:00
debug debug: thread_analyzer: Implement thread analyzer 2020-04-28 09:11:13 -04:00
devicetree devicetree: pwms: make flags default to 0 2020-08-04 07:35:26 -05:00
dfu dfu: flash_img: Constify flash_img_buffered_write() data parameter 2020-06-10 09:30:08 +02:00
disk zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
display device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
drivers cdc_acm: fix C++ issues with header and document dependency 2020-08-17 13:42:02 -04:00
dt-bindings drivers: clock_control: Add support for MCUX CCM IUART clock 2020-08-14 14:51:50 -05:00
fs subsys/fs: Add open flags parameter to fs_open 2020-07-30 16:33:18 +02:00
linker kernel: introduce supervisor-only stacks 2020-07-30 21:11:14 -04:00
logging logging: move _is_user_context() check down one level 2020-08-06 08:59:33 -04:00
mgmt mgmt: smp: shell: initialize SMP before feeding with received bytes 2020-08-19 09:51:45 -04:00
net net: route: multicast routing feature 2020-08-19 09:46:25 -04:00
posix posix: expose getsockname() and sendmsg() 2020-08-06 11:53:37 +02:00
power zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
random random: Add syscalls for random subsystem 2020-07-08 21:05:36 -04:00
settings settings: disallow modifying the content of a static subtree name 2020-07-27 19:03:44 +02:00
shell mgmt: smp: shell: initialize SMP before feeding with received bytes 2020-08-19 09:51:45 -04:00
stats zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
storage includes/storage/stream_flash: clarification on API usage 2020-06-13 11:57:35 +02:00
sys net: getsockname: Call via vtable instead of ioctl 2020-08-14 09:47:51 -07:00
toolchain toolchain: add Z_POW2_CEIL() 2020-07-30 21:11:14 -04:00
tracing zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
usb zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
zephyr zephyr: Use deprecated instead of legacy for Kconfig int types 2020-06-09 06:49:56 -05:00
cache.h syscalls: Add system call for cache flush & invalidate 2020-08-04 17:26:45 -04:00
device.h device: Rename driver_api/data attributes to api/data 2020-08-11 19:30:53 +02:00
devicetree.h devicetree: add accessors with default values 2020-08-04 07:35:26 -05:00
exc_handle.h kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
fatal.h doc: fix misspelling in API doxygen comments 2019-10-29 06:00:14 +01:00
generated_dts_board.h dts: Add include/generated_dts_board.h for backwards compatibility 2020-01-17 17:57:59 +01:00
init.h device: Fix structure documentation 2020-06-23 18:57:23 -04:00
irq.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
irq_nextlevel.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
irq_offload.h kernel: sychronize irq_offload() access 2019-11-08 15:16:43 -08:00
kernel.h kernel: Add note regarding safe use of the k_work_pending return value 2020-08-04 17:32:56 +02:00
kernel_includes.h random: Include header where it is used 2020-07-08 21:05:36 -04:00
kernel_structs.h kernel/timeout: Fix 32 bit rollover conditions 2020-06-18 13:21:06 +02:00
kernel_version.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mempool_heap.h sys_heap: reduce the size of struct z_heap_bucket by half 2020-06-21 19:25:35 +02:00
mempool_sys.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ptp_clock.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
sched_priq.h cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
shared_irq.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spinlock.h include: Add documentation for spinlocks 2020-05-08 10:46:44 +02:00
sw_isr_table.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sys_clock.h api: Fix narrowing conversion C++ compilation warning in Z_TIMEOUT_TICKS 2020-06-30 12:21:41 -05:00
syscall.h global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
syscall_handler.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
timeout_q.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
toolchain.h toolchain: Fix for off-tree toolchains 2019-10-08 17:09:23 -04:00
wait_q.h headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
zephyr.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00