nuttx-mirror/drivers/pci
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
..
CMakeLists.txt pci test drv is pci rc drv not pci ep drv 2024-10-09 13:52:01 +08:00
Kconfig pci test drv is pci rc drv not pci ep drv 2024-10-09 13:52:01 +08:00
Make.defs pci test drv is pci rc drv not pci ep drv 2024-10-09 13:52:01 +08:00
pci.c fix build error shift-count-overflow 2024-10-18 17:23:41 +08:00
pci_drivers.c pci_drivers: move qemu edu and test device header content to pci_drivers.h 2024-10-09 13:52:01 +08:00
pci_drivers.h pci_drivers: move qemu edu and test device header content to pci_drivers.h 2024-10-09 13:52:01 +08:00
pci_ecam.c Fix make warn as error in pci drivers 2024-10-21 15:35:39 +08:00
pci_ep_test.c pci: msi and msix irq need release irq 2024-10-08 18:04:13 +08:00
pci_epc.c msi_set:Message Control Register for MSI:bit3:bit1 used for 2024-09-27 10:37:31 +08:00
pci_epc_mem.c pci epc mem use virtual mem 2024-09-27 10:37:31 +08:00
pci_epf.c include/nuttx.h: add common align definitions for nuttx 2024-10-09 13:52:01 +08:00
pci_epf_test.c QemuEPC multi function verify for pci 2024-09-28 13:39:50 +08:00
pci_ivshmem.c pci_ivshmem.c: ivshmem_support_irq API support 2024-10-12 12:13:23 +08:00
pci_qemu_edu.c pci_drivers: move qemu edu and test device header content to pci_drivers.h 2024-10-09 13:52:01 +08:00
pci_qemu_epc.c qemu_epc_get_msi: flag should use msi enable flag 2024-10-09 15:07:37 +08:00
pci_qemu_test.c pci_drivers: move qemu edu and test device header content to pci_drivers.h 2024-10-09 13:52:01 +08:00
pci_uio_ivshmem.c move readv/writev to the kernel 2024-10-30 17:07:54 +08:00