nuttx-mirror/drivers/timers
YAMAMOTO Takashi 761ee81956 move readv/writev to the kernel
currently, nuttx implements readv/writev on the top of read/write.
while it might work for the simplest cases, it's broken by design.
for example, it's impossible to make it work correctly for files
which need to preserve data boundaries without allocating a single
contiguous buffer. (udp socket, some character devices, etc)

this change is a start of the migration to a better design.
that is, implement read/write on the top of readv/writev.

to avoid a single huge change, following things will NOT be done in
this commit:

* fix actual bugs caused by the original readv-based-on-read design.
  (cf. https://github.com/apache/nuttx/pull/12674)

* adapt filesystems/drivers to actually benefit from the new interface.
  (except a few trivial examples)

* eventually retire the old interface.

* retire read/write syscalls. implement them in libc instead.

* pread/pwrite/preadv/pwritev (except the introduction of struct uio,
  which is a preparation to back these variations with the new
  interface.)
2024-10-30 17:07:54 +08:00
..
arch_alarm.c drivers/timers/arch_alarm.c: Remove ndelay_accurate 2024-10-23 14:28:18 +08:00
arch_rtc.c drivers/timers: Add weak_function for up_ function 2022-01-25 13:35:05 +01:00
arch_timer.c arch/perf: modify the return value of up_perf_gettime to clock_t 2024-10-10 23:17:14 +08:00
capture.c capture:add multiple register. 2024-09-28 13:11:52 +08:00
CMakeLists.txt drivers/timer: fix goldfish timer did not included in cmake 2024-10-12 09:31:15 +08:00
cs2100-cp.c drivers: Author Gregory Nutt: update licenses to Apache 2021-03-04 18:32:27 -08:00
ds3231.c drivers: nxstyle fixes 2021-03-04 18:32:27 -08:00
ds3231.h drivers: nxstyle fixes 2021-03-04 18:32:27 -08:00
goldfish_timer.c goldfish_timer: fix interrupt not cleared 2024-10-12 09:31:15 +08:00
Kconfig timers: add goldfish timer support 2024-10-08 15:27:33 +08:00
Make.defs timers: add goldfish timer support 2024-10-08 15:27:33 +08:00
mcp794xx.c timers/mcp794xx: add option to digital trimming 2024-05-28 16:34:41 -03:00
mcp794xx.h NuttX: Abdelatif Guettouche: update licenses to Apache 2021-04-01 12:13:12 -05:00
oneshot.c inode/i_private: remove all unnecessary cast for i_private 2023-08-29 08:58:07 +02:00
pcf85263.c drivers/timers/pcf85263.c: Fix compilation 2023-09-06 12:20:57 +08:00
pcf85263.h drivers: nxstyle fixes 2021-03-04 18:32:27 -08:00
pl031.c pl031:change mktime to timegm. 2024-08-27 00:15:29 +08:00
pwm.c pwm: fix incorrect documentation for PWMIOC_SETCHARACTERISTICS IOCTL 2023-08-24 01:37:40 +08:00
rpmsg_rtc.c nuttx/drivers: add ept_release_cb for destroy server resource 2024-10-10 08:44:29 +08:00
rtc.c move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
rx8010.c Add EPSON RX8010SJ I2C RTC timer support 2022-02-26 11:47:24 -03:00
rx8010.h Add EPSON RX8010SJ I2C RTC timer support 2022-02-26 11:47:24 -03:00
timer.c timer driver:support poll. 2024-08-28 13:46:47 +08:00
watchdog.c watchdog: fix idle callback maybe not upperhalf 2024-06-08 11:59:26 +08:00