arch: up_assert shouldn't call exit directly

since exit will be only callable from userspace and change
the 1st argument from "const uint8_t *" to "const char *"

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I86487d57210ab63109148232da71dbc4d60a563b
This commit is contained in:
Xiang Xiao
2020-06-07 14:51:54 +08:00
committed by Abdelatif Guettouche
parent 774ea6eae7
commit d6827cab60
29 changed files with 152 additions and 140 deletions
+1 -1
View File
@@ -178,7 +178,7 @@
"uname","sys/utsname.h","","int","FAR struct utsname *"
"unlink","unistd.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char *"
"unsetenv","stdlib.h","!defined(CONFIG_DISABLE_ENVIRON)","int","FAR const char *"
"up_assert","assert.h","","void","FAR const uint8_t *","int"
"up_assert","nuttx/arch.h","","void","FAR const char *","int"
"vfork","unistd.h","defined(CONFIG_SCHED_WAITPID) && defined(CONFIG_ARCH_HAVE_VFORK)","pid_t"
"wait","sys/wait.h","defined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)","pid_t","FAR int *"
"waitid","sys/wait.h","defined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)","int","idtype_t","id_t"," FAR siginfo_t *","int"
1 _exit unistd.h void int
178 uname sys/utsname.h int FAR struct utsname *
179 unlink unistd.h !defined(CONFIG_DISABLE_MOUNTPOINT) int FAR const char *
180 unsetenv stdlib.h !defined(CONFIG_DISABLE_ENVIRON) int FAR const char *
181 up_assert assert.h nuttx/arch.h void FAR const uint8_t * FAR const char *
182 vfork unistd.h defined(CONFIG_SCHED_WAITPID) && defined(CONFIG_ARCH_HAVE_VFORK) pid_t
183 wait sys/wait.h defined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT) pid_t FAR int *
184 waitid sys/wait.h defined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT) int idtype_t