walnux/drivers/virtio
chao an c6591c0f49 driver/serial: remove return value of up_putc()
modify the prototype of up_putc(): remove the return value

The architecture code does not care about the return value of up_putc(), so removing it saves two statements:

Before:                                                    After:
de4c: e52de004  push  {lr}    @ (str lr, [sp, #-4]!)    |  de4c: e52de004  push  {lr}    @ (str lr, [sp, #-4]!)
de50: e24dd014  sub sp, sp, #20                         |  de50: e24dd014  sub sp, sp, #20
de54: e58d0004  str r0, [sp, #4]                        |  de54: e58d0004  str r0, [sp, #4]
de58: e30030f8  movw  r3, #248  @ 0xf8                  |  de58: e30030f8  movw  r3, #248  @ 0xf8
de5c: e3423000  movt  r3, #8192 @ 0x2000                |  de5c: e3423000  movt  r3, #8192 @ 0x2000
de60: e58d300c  str r3, [sp, #12]                       |  de60: e58d300c  str r3, [sp, #12]
de64: e59d1004  ldr r1, [sp, #4]                        |  de64: e59d1004  ldr r1, [sp, #4]
de68: e59d000c  ldr r0, [sp, #12]                       |  de68: e59d000c  ldr r0, [sp, #12]
de6c: ebfffe66  bl  d80c <pl011_putc>                   |  de6c: ebfffe66  bl  d80c <pl011_putc>
de70: e59d3004  ldr r3, [sp, #4]                        |  de70: e28dd014  add sp, sp, #20
de74: e1a00003  mov r0, r3                              |  de74: e49df004  pop {pc}    @ (ldr pc, [sp], #4)
de78: e28dd014  add sp, sp, #20                         |
de7c: e49df004  pop {pc}    @ (ldr pc, [sp], #4)        |

Signed-off-by: chao an <anchao@lixiang.com>
2024-10-26 13:21:29 +08:00
..
CMakeLists.txt virtio-pci: extract common part of virtio pci modern and leagcy 2024-09-15 02:22:16 +08:00
Kconfig virtio-serial: support custom the virtio serial device name 2024-10-06 08:37:53 +08:00
Make.defs virtio-pci: extract common part of virtio pci modern and leagcy 2024-09-15 02:22:16 +08:00
virtio-blk.c virtio: adapt to the new OpenAMP 2024-10-09 23:32:58 +08:00
virtio-blk.h virtio: add virtio framework in NuttX 2023-08-10 03:39:39 +08:00
virtio-gpu.c virtio: adapt to the new OpenAMP 2024-10-09 23:32:58 +08:00
virtio-gpu.h virtio-gpu: convert virito-gpu fb_register to virtio_gpu_fb_register 2023-12-13 09:05:17 -08:00
virtio-input.c virtio: adapt to the new OpenAMP 2024-10-09 23:32:58 +08:00
virtio-input.h drivers/virtio: add virtio input driver 2023-08-13 11:47:39 -03:00
virtio-mmio.c virtio-mmio/pci: add alloc_buf/free_buf for mmio and pci transport layer 2024-10-09 23:32:58 +08:00
virtio-net.c virtio: adapt to the new OpenAMP 2024-10-09 23:32:58 +08:00
virtio-net.h virtio: add virtio framework in NuttX 2023-08-10 03:39:39 +08:00
virtio-pci-legacy.c virtio-pci/mmio: Features change to 64 bit in all virtio_dispatch and fix compile warning 2024-10-09 23:32:58 +08:00
virtio-pci-modern.c virtio-pci/mmio: Features change to 64 bit in all virtio_dispatch and fix compile warning 2024-10-09 23:32:58 +08:00
virtio-pci.c virtio-mmio/pci: add alloc_buf/free_buf for mmio and pci transport layer 2024-10-09 23:32:58 +08:00
virtio-pci.h virtio-pci/mmio: Features change to 64 bit in all virtio_dispatch and fix compile warning 2024-10-09 23:32:58 +08:00
virtio-rng.c virtio: adapt to the new OpenAMP 2024-10-09 23:32:58 +08:00
virtio-rng.h virtio: add virtio framework in NuttX 2023-08-10 03:39:39 +08:00
virtio-rpmb.c virtio: adapt to the new OpenAMP 2024-10-09 23:32:58 +08:00
virtio-rpmb.h rpmb: add virtio rpmb support 2023-09-09 00:13:25 +08:00
virtio-serial.c driver/serial: remove return value of up_putc() 2024-10-26 13:21:29 +08:00
virtio-serial.h virtio: add virtio framework in NuttX 2023-08-10 03:39:39 +08:00
virtio-snd.c virtio: adapt to the new OpenAMP 2024-10-09 23:32:58 +08:00
virtio-snd.h audio:add virtio snd driver 2023-08-11 20:40:40 +08:00
virtio.c virtio-mmio/pci: add alloc_buf/free_buf for mmio and pci transport layer 2024-10-09 23:32:58 +08:00