incubator-nuttx/drivers/syslog
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 syslog: fix ramlog not work issue with cmake 2024-10-19 12:37:07 +02:00
Kconfig syslog: enable LF to CRLF config as default 2024-10-21 10:50:36 +02:00
Make.defs syslog: support syslog redirection to sched_note 2024-10-11 01:30:11 +08:00
ramlog.c ramlog: Remove RAMLOG_CRLF config and related code 2024-10-21 16:27:35 +08:00
syslog.h syslog: support syslog redirection to sched_note 2024-10-11 01:30:11 +08:00
syslog_channel.c driver/serial: remove return value of up_putc() 2024-10-26 13:21:29 +08:00
syslog_chardev.c syslog: convert \n to \r\n in syslog framework layer 2024-10-17 02:29:51 +08:00
syslog_console.c
syslog_consolechannel.c syslog/channel: add constant attribute if SYSLOG_IOCTL is not enabled 2024-09-26 16:10:29 +08:00
syslog_devchannel.c syslog/channel: add constant attribute if SYSLOG_IOCTL is not enabled 2024-09-26 16:10:29 +08:00
syslog_device.c syslog/channel: add constant attribute if SYSLOG_IOCTL is not enabled 2024-09-26 16:10:29 +08:00
syslog_filechannel.c syslog/channel: add constant attribute if SYSLOG_IOCTL is not enabled 2024-09-26 16:10:29 +08:00
syslog_flush.c syslog/channel: add constant attribute if SYSLOG_IOCTL is not enabled 2024-09-26 16:10:29 +08:00
syslog_initialize.c syslog/channel: rename syslog_channel() to syslog_channel_register() 2024-09-24 19:28:49 +08:00
syslog_intbuffer.c syslog: convert \n to \r\n in syslog framework layer 2024-10-17 02:29:51 +08:00
syslog_putc.c syslog: convert \n to \r\n in syslog framework layer 2024-10-17 02:29:51 +08:00
syslog_rpmsg.c rpmsg services: should release the tx buffer when rpmsg_send_nocopy failed 2024-10-08 18:26:39 +08:00
syslog_rpmsg.h
syslog_rpmsg_server.c nuttx/drivers: add ept_release_cb for destroy server resource 2024-10-10 08:44:29 +08:00
syslog_stream.c syslog/channel: add constant attribute if SYSLOG_IOCTL is not enabled 2024-09-26 16:10:29 +08:00
syslog_write.c syslog: Don't allow blocking when in signal handler 2024-10-23 21:14:44 +08:00
vsyslog.c MacOs: fix the sim compile warning in MacOS 2024-10-22 08:55:57 +08:00