walnux/drivers/video
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
..
mipidsi fix nxstyle 2024-05-09 23:44:40 +08:00
vnc driver/vnc:fix vnc kbd assert cause by wrong data conversion 2024-05-13 18:12:48 +08:00
CMakeLists.txt drivers/video: add goldfish gpu fb 2024-08-18 10:15:00 +08:00
fb.c circbuf: Move from mm/circbuf to libs/libc/misc 2024-10-09 08:41:49 +08:00
goldfish_camera.c Refactor nuttx v4l2 2024-03-13 09:51:08 +08:00
goldfish_fb.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
goldfish_gpu_fb.c driver: add GOLDFISH_GPU_FB_PRIORITY for goldfish_gpu_fb_vsync_thread 2024-10-08 23:23:08 +08:00
isx012.c drivers/video/isx012: Make the I2C access more efficient 2024-03-26 07:41:21 +01:00
isx012_range.h drivers/video: Support spot position setting 2023-04-27 17:05:32 +08:00
isx012_reg.h drivers/video: Support spot position setting 2023-04-27 17:05:32 +08:00
isx019.c drivers/video/isx019: Fix default_value of 3A status 2024-03-29 16:05:37 +08:00
isx019_range.h drivers/video/isx019: Fix maximum value of exposure time 2024-03-11 15:44:39 +01:00
isx019_reg.h drivers/video: Support spot position setting 2023-04-27 17:05:32 +08:00
Kconfig driver: add GOLDFISH_GPU_FB_PRIORITY for goldfish_gpu_fb_vsync_thread 2024-10-08 23:23:08 +08:00
Make.defs drivers/video: add goldfish gpu fb 2024-08-18 10:15:00 +08:00
max7456.c refine: move BIT Macro to nuttx/bits.h 2023-10-12 14:52:56 +08:00
ov2640.c
v4l2_cap.c move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
v4l2_core.c move readv/writev to the kernel 2024-10-30 17:07:54 +08:00
v4l2_m2m.c Add v4l2m2m & sim decoder 2024-05-15 22:03:18 +08:00
video_framebuff.c video_framebuff: Replace critical section with spinlock 2024-03-26 15:21:05 +08:00
video_framebuff.h video_framebuff: Replace critical section with spinlock 2024-03-26 15:21:05 +08:00