zephyr/modules
Chris Friedt bc4374b5fe posix: deprecate POSIX_MAX_FDS and add POSIX_DEVICE_IO
The POSIX_MAX_FDS option does not correspond to any standard
POSIX option. It was used to define the size of the file
descriptor table, which is by no means exclusively used by
POSIX (also net, fs, ...).

POSIX_MAX_FDS is being deprecated in order to ensure that
Zephyr's POSIX Kconfig variables correspond to those defined in
the specification, as of IEEE 1003.1-2017. Namely,
POSIX_OPEN_MAX. CONFIG_POSIX_MAX_OPEN_FILES is being deprecated
for the same reason.

To mitigate any possible layering violations, that option is
not user selectable. It tracks the newly added
CONFIG_ZVFS_OPEN_MAX option, which is native to Zephyr.

With this deprecation, we introduce the following Kconfig
options that map directly to standard POSIX Option Groups by
simply removing "CONFIG_":

* CONFIG_POSIX_DEVICE_IO

Similarly, with this deprecation, we introduce the following
Kconfig options that map directly to standard POSIX Options by
simply removing "CONFIG":

* CONFIG_POSIX_OPEN_MAX

In order to maintain parity with the current feature set, we
introduce the following Kconfig options.

* CONFIG_POSIX_DEVICE_IO_ALIAS_CLOSE
* CONFIG_POSIX_DEVICE_IO_ALIAS_OPEN
* CONFIG_POSIX_DEVICE_IO_ALIAS_READ
* CONFIG_POSIX_DEVICE_IO_ALIAS_WRITE

Gate open(), close(), read(), and write() via the
CONFIG_POSIX_DEVICE_IO Kconfig option and move
implementations into device_io.c, to be conformant with the
spec.

Lastly, stage function names for upcoming ZVFS work, to be
completed as part of the LTSv3 Roadmap (e.g. zvfs_open(), ..).

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-06-04 16:27:12 -05:00
..
acpica
canopennode
cmsis
cmsis-dsp
cmsis-nn
fatfs
hal_ambiq drivers: spi: create Ambiq SPI BLEIF driver 2024-05-27 03:27:43 -07:00
hal_ethos_u
hal_gigadevice
hal_infineon boards: arm: Introduce Infineon CYW920829M2EVK-02 board 2024-05-24 18:05:11 -04:00
hal_nordic modules: hal_nordic: require nrf-regtool 5.3.0 2024-05-30 05:20:50 -07:00
hal_nxp
hal_rpi_pico
hal_st drivers: sensor: lis2dux12: Add lis2dux12 driver 2024-04-04 09:45:49 +01:00
hostap posix: deprecate POSIX_MAX_FDS and add POSIX_DEVICE_IO 2024-06-04 16:27:12 -05:00
liblc3
littlefs
loramac-node lorawan: services: add Fragmented Data Block Transport 2024-05-02 16:54:43 +02:00
lvgl modules: lvgl: lvgl_fs: Free file on close 2024-06-04 14:07:16 -05:00
lz4
mbedtls modules: mbedtls: remove the default enabling of features 2024-05-31 16:33:06 -05:00
nanopb modules: nanopb: Pull upstream fixes 2024-05-07 21:22:43 -04:00
openthread drivers: ieee802154: fix configuring CSL IE in ACK 2024-04-03 13:57:50 +03:00
percepio
segger modules: segger: Add Kconfig option to use CCM for data 2024-04-17 14:38:54 +02:00
tflite-micro
thrift
trusted-firmware-a
trusted-firmware-m modules: tf-m: support MCUboot signature types other than RSA-3072 2024-05-29 04:56:40 -07:00
uoscore-uedhoc
zcbor
Kconfig
Kconfig.altera
Kconfig.atmel
Kconfig.chre
Kconfig.cypress
Kconfig.eos_s3
Kconfig.esp32
Kconfig.imx
Kconfig.infineon
Kconfig.intel
Kconfig.libmetal
Kconfig.mcuboot mcuboot: Remove OVERWRITE_ONLY from DIRECT_XIP modes. 2024-05-08 12:04:45 +02:00
Kconfig.mcux modules: Add Kconfig to Kconfig.mcux for BLE support 2024-05-25 11:23:04 +03:00
Kconfig.microchip soc: microchip: mec: Add new HAL based MEC5 family chips 2024-05-21 16:45:30 -04:00
Kconfig.nuvoton drivers: rtc: support for Nuvoton numaker m46x 2024-04-30 14:31:29 -04:00
Kconfig.nxp_s32
Kconfig.open-amp
Kconfig.picolibc
Kconfig.silabs
Kconfig.simplelink posix: timers: deprecate CONFIG_POSIX_CLOCK and TIMER 2024-06-04 16:27:12 -05:00
Kconfig.sof
Kconfig.stm32
Kconfig.sysbuild
Kconfig.syst
Kconfig.telink
Kconfig.tinycrypt
Kconfig.vega
Kconfig.wurthelektronik
Kconfig.xtensa
modules.cmake