You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/02/02 02:33:08 UTC
[nuttx] branch master updated (5651940d02 -> 4c8d244fae)
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
from 5651940d02 tiva/serial: Allow changing CTS/RTS with termios
add c9981036a5 nuttx/mutex: move mutex implement to libc
add c24dc389e4 sched/task: add kernel interface nxsched_* gettid/getpid/getppid
add 4c8d244fae sched/getpid: replace syscall getpid/tid/ppid() to kernel version
No new revisions were added by this update.
Summary of changes:
arch/arm/src/cxd56xx/cxd56_farapi.c | 6 +-
arch/arm/src/cxd56xx/cxd56_gnss.c | 2 +-
arch/arm/src/cxd56xx/cxd56_icc.c | 2 +-
arch/arm/src/cxd56xx/cxd56_scu.c | 4 +-
arch/arm/src/cxd56xx/cxd56_usbdev.c | 2 +-
arch/arm/src/lc823450/lc823450_i2s.c | 6 +-
arch/risc-v/src/bl602/bl602_os_hal.c | 2 +-
arch/risc-v/src/esp32c3/esp32c3_libc_stubs.c | 2 +-
arch/risc-v/src/esp32c3/esp32c3_wifi_adapter.c | 4 +-
arch/sim/src/sim/sim_heap.c | 6 +-
arch/xtensa/src/esp32/esp32_wifi_adapter.c | 4 +-
drivers/input/ajoystick.c | 2 +-
drivers/input/button_upper.c | 2 +-
drivers/input/djoystick.c | 2 +-
drivers/ioexpander/gpio.c | 4 +-
drivers/net/phy_notify.c | 2 +-
drivers/rptun/rptun.c | 6 +-
drivers/sensors/zerocross.c | 2 +-
drivers/syslog/vsyslog.c | 4 +-
drivers/timers/oneshot.c | 2 +-
drivers/timers/rtc.c | 6 +-
drivers/wireless/ieee802154/xbee/xbee_netdev.c | 2 +-
fs/aio/aioc_contain.c | 2 +-
fs/mount/fs_automount.c | 2 +-
fs/procfs/fs_procfsproc.c | 6 +-
include/execinfo.h | 5 +-
include/nuttx/mutex.h | 327 ++-------------------
include/nuttx/sched.h | 71 +++++
include/threads.h | 2 +-
libs/libc/aio/lio_listio.c | 5 +-
libs/libc/misc/Make.defs | 2 +-
libs/libc/misc/lib_err.c | 11 +-
.../nuttx/mutex.h => libs/libc/misc/lib_mutex.c | 119 +++-----
libs/libc/sched/sched_backtrace.c | 4 +-
libs/libc/signal/sig_raise.c | 4 +-
libs/libc/unistd/lib_getpriority.c | 4 +-
libs/libc/unistd/lib_setpriority.c | 4 +-
mm/mempool/mempool.c | 2 +-
mm/mm_heap/mm.h | 4 +-
mm/mm_heap/mm_lock.c | 10 +-
mm/shm/shmctl.c | 3 +-
mm/shm/shmget.c | 3 +-
mm/tlsf/mm_tlsf.c | 12 +-
net/local/local_conn.c | 2 +-
net/netlink/netlink_sockif.c | 2 +-
net/tcp/tcp_sendfile.c | 3 +-
sched/mqueue/mq_timedreceive.c | 3 +-
sched/mqueue/mq_timedsend.c | 2 +-
sched/pthread/pthread_condclockwait.c | 2 +-
sched/pthread/pthread_condwait.c | 4 +-
sched/pthread/pthread_exit.c | 2 +-
sched/pthread/pthread_mutextimedlock.c | 2 +-
sched/pthread/pthread_mutextrylock.c | 2 +-
sched/pthread/pthread_mutexunlock.c | 7 +-
sched/sched/sched_setscheduler.c | 2 +-
sched/semaphore/sem_clockwait.c | 2 +-
sched/semaphore/sem_tickwait.c | 2 +-
sched/task/task_exithook.c | 4 +-
sched/task/task_getpid.c | 34 ++-
sched/task/task_getppid.c | 51 +++-
sched/task/task_gettid.c | 23 +-
sched/timer/timer_create.c | 2 +-
wireless/ieee802154/mac802154_device.c | 2 +-
wireless/ieee802154/mac802154_netdev.c | 2 +-
64 files changed, 333 insertions(+), 498 deletions(-)
copy include/nuttx/mutex.h => libs/libc/misc/lib_mutex.c (87%)