zephyr/include/zephyr
Bjarki Arge Andreasen a39285b720 shell: exchange k_poll for k_event
The shell subsystem currently uses k_poll for signalling. However,
k_poll is only used for simple event signals, results are not used.

Replacing the k_poll with k_event greatly simplifies the code, and
saves 4 struct k_poll_signal and 4 struct k_poll_event (one of which
was entirely unused) while costing a single struct k_event, for
every shell instance. It also allows us to not select POLL,
as we are using the simpler EVENTS instead.

A quick test build of the shell test suite on an nrf54l15 produces
the following build info:

using EVENTS:

           FLASH:       71592 B      1428 KB      4.90%
             RAM:        9872 B       188 KB      5.13%
        IDT_LIST:          0 GB        32 KB      0.00%

using POLL

           FLASH:       75524 B      1428 KB      5.16%
             RAM:       11224 B       188 KB      5.83%
        IDT_LIST:          0 GB        32 KB      0.00%

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-07-22 19:34:02 -04:00
..
acpi
app_memory
arch arch: xtensa: Add hifi_owner for lazy switching 2025-07-20 12:25:17 -04:00
audio
bluetooth bluetooth: classic: add role switch API 2025-07-19 09:59:16 +02:00
canbus
console
crypto
data include: zephyr: data: add mixed array type support for json 2025-07-21 21:31:21 -04:00
debug debug: Added CPU usage callback 2025-06-25 15:29:06 -10:00
devicetree devicetree: fixed-partition: Add sub-partition macros 2025-06-11 10:13:56 -07:00
dfu
display cfb: added API for drawing a circle 2025-06-26 22:09:48 -05:00
drivers gnss: u-blox f9p: Add RTK integration to driver 2025-07-21 09:19:14 -04:00
dsp include: dsp: doc: cleanup Doxygen for DSP headers 2025-07-08 13:39:35 -05:00
dt-bindings drivers: pinctrl: add pin function for 11/0xB 2025-07-21 07:25:50 -04:00
fs
gnss/rtk gnss: rtk: Add basic integration 2025-07-21 09:19:14 -04:00
input
internal
ipc
kernel sca: Fix undefined behavior during preprocessing 2025-06-27 14:14:35 +02:00
linker gnss: rtk: Add basic integration 2025-07-21 09:19:14 -04:00
llext llext: Drop unused memory domain member 2025-07-19 13:40:42 -04:00
logging logging: backend: mqtt 2025-06-11 16:18:51 -07:00
lorawan
math include: math: doc: add doxygen groups 2025-07-08 13:39:35 -05:00
mem_mgmt memmgmt: doc: replace Memory-Attr with Memory Attributes 2025-07-16 16:39:59 -05:00
mgmt updatehub: report error before rollback on unconfirmed image 2025-06-26 22:07:51 -05:00
misc
modbus modbus: serial: Add non-compliant mode with custom stop-bit settings 2025-06-10 12:53:23 -04:00
modem gnss: u-blox f9p: Add RTK integration to driver 2025-07-21 09:19:14 -04:00
multi_heap
net net: latmon: Add latency monitor service 2025-07-20 12:27:30 -04:00
platform
pm
pmci/mctp pmci: mctp: I2C+GPIO Target binding 2025-07-19 09:53:21 +02:00
portability
posix poxi: aio: include zephyr/toolchain.h for ZRESTRICT 2025-07-04 16:44:02 -10:00
psa secure_storage: Add global registry for PSA ITS UIDs 2025-07-19 09:45:56 +02:00
random
retention
rtio
sd
sensing
settings
shell shell: exchange k_poll for k_event 2025-07-22 19:34:02 -04:00
sip_svc
stats
storage
sys crc: Add CRC24Q for RTCM3 checksum calculations 2025-07-21 09:19:14 -04:00
task_wdt
timing
toolchain include toolchain mwdt.h: Fix old comment 2025-07-19 09:38:15 +02:00
tracing
usb include: usb_ch9: fix USB_FS_ISO_EP_INTERVAL calculation 2025-06-27 09:02:29 -10:00
usb_c
xen include: zephyr: xen: fix missing header declarations 2025-06-18 17:47:43 -04:00
zbus
zvfs
bindesc.h
cache.h
device.h Revert "init: Make entry init-function less and introduce service objects" 2025-07-16 16:39:36 -05:00
devicetree.h devicetree: Enhance DT_ENUM_HAS_VALUE macro for arrays 2025-06-12 11:44:46 +02:00
fatal_types.h
fatal.h
init.h Revert "init: Make entry init-function less and introduce service objects" 2025-07-16 16:39:36 -05:00
irq_multilevel.h
irq_nextlevel.h
irq_offload.h
irq.h doc: kernel: Clarify relationship between direct and ZLI interrupts 2025-06-06 14:49:16 +01:00
kernel_includes.h
kernel_structs.h
kernel_version.h
kernel.h include: kernel: add macros to enable allocation from specific sections 2025-06-27 10:00:14 -05:00
net_buf.h lib: net_buf: Add a way to create pool with aligned data 2025-07-19 15:37:01 -04:00
shared_irq.h
smf.h lib: smf: mark as unstable 2025-06-30 15:24:37 -05:00
spinlock.h
sw_isr_table.h zephyr: sw_isr_table: Fix compilation error 2025-07-14 07:09:03 -10:00
sys_clock.h sys: clock: merge sys_clock.h into sys/clock.h 2025-06-24 14:18:52 +02:00
syscall.h
toolchain.h
types.h