Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This function will undo all operations on a TCB performed by task_init() and release the TCB by calling kmm_free(). This is intended primarily to support error recovery operations after a successful call to task_init() such was when a subsequent call to task_activate fails.

PR-1134 Add typedef for max_align_t

PR-1141 Handle custom stack allocations

sched_releasetcb() will normally free the stack allocated for a task. However, a task with a custom, user-managed stack may be created using nxtask_init() followed by nxtask_activate(). If such a custom stack is used then it must not be freed in this manner or a crash will most likely result.

This change adds a flag call TCB_FLAG_CUSTOM_STACK that may be passed in the the pre-allocated TCB to nxtask_init(). This flag is not used internally anywhere in the OS except that if set, it will prevent sched_releasetcb() from attempting to free that custom stack.



Bug Fixes

Many private architecture interfaces were using 'up_' instead of the arch name 'arm_'

...

PR-918 tmpfs: Calling statfs could cause files to be removed recursively

PR-1142 NFS: Use of uint64_t causes issues with gaps in data since it must be on a 8 byte boundary

PR-1143 Report correct stats for proxied block and MTD drivers

Significant Improvements

PR-793 Allow use of genromfs to geneate ROMFS

...

#include <nuttx/config.h>
#ifdef CONFIG_NSH_PROC_MOUNTPOINT
mount -t procfs CONFIG_NSH_PROC_MOUNTPOINT
#endif
#ifdef CONFIG_FS_TMPFS
mount -t tmpfs CONFIG_LIBC_TMPDIR
#endif
#ifndef CONFIG_NSH_DISABLE_UNAME
uname -a > /dev/syslog
#endif

PR-851 Upgrade littlefs to v2.2.1

PR-1154 FATFS: Do not rewrite the root directory if it has not been changed.

PR-1120 PR-1118 Fill  Fill in file size for mtd and block inode

Networking

PR-807 Netlink: Broadcast link status changes to userspace via RTNLGRP_LINK

...