mirror of
https://github.com/apache/nuttx.git
synced 2026-08-02 20:59:02 +00:00
Revert "toolchain/ghs: Fix CONFIG_SCHED_CRITMONITOR_MAXTIME_XXX "zero used for undefined preprocessing identifier" warnings"
move private define to public
This reverts commit 236678d730.
Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
parent
a5b85fcd96
commit
8288fe4e30
2 changed files with 14 additions and 24 deletions
|
|
@ -72,10 +72,16 @@
|
|||
# define CONFIG_SCHED_SPORADIC_MAXREPL 3
|
||||
#endif
|
||||
|
||||
/* Scheduling monitor */
|
||||
|
||||
#ifndef CONFIG_SCHED_CRITMONITOR_MAXTIME_THREAD
|
||||
# define CONFIG_SCHED_CRITMONITOR_MAXTIME_THREAD -1
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SCHED_CRITMONITOR_MAXTIME_WQUEUE
|
||||
# define CONFIG_SCHED_CRITMONITOR_MAXTIME_WQUEUE -1
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SCHED_CRITMONITOR_MAXTIME_PREEMPTION
|
||||
# define CONFIG_SCHED_CRITMONITOR_MAXTIME_PREEMPTION -1
|
||||
#endif
|
||||
|
|
@ -84,6 +90,14 @@
|
|||
# define CONFIG_SCHED_CRITMONITOR_MAXTIME_CSECTION -1
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SCHED_CRITMONITOR_MAXTIME_IRQ
|
||||
# define CONFIG_SCHED_CRITMONITOR_MAXTIME_IRQ -1
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SCHED_CRITMONITOR_MAXTIME_WDOG
|
||||
# define CONFIG_SCHED_CRITMONITOR_MAXTIME_WDOG -1
|
||||
#endif
|
||||
|
||||
/* Task Management Definitions **********************************************/
|
||||
|
||||
/* Special task IDS. Any negative PID is invalid. */
|
||||
|
|
|
|||
|
|
@ -107,30 +107,6 @@
|
|||
# define TLIST_BLOCKED(t) __TLIST_HEAD(t)
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SCHED_CRITMONITOR_MAXTIME_THREAD
|
||||
# define CONFIG_SCHED_CRITMONITOR_MAXTIME_THREAD -1
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SCHED_CRITMONITOR_MAXTIME_WQUEUE
|
||||
# define CONFIG_SCHED_CRITMONITOR_MAXTIME_WQUEUE -1
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SCHED_CRITMONITOR_MAXTIME_PREEMPTION
|
||||
# define CONFIG_SCHED_CRITMONITOR_MAXTIME_PREEMPTION -1
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SCHED_CRITMONITOR_MAXTIME_CSECTION
|
||||
# define CONFIG_SCHED_CRITMONITOR_MAXTIME_CSECTION -1
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SCHED_CRITMONITOR_MAXTIME_IRQ
|
||||
# define CONFIG_SCHED_CRITMONITOR_MAXTIME_IRQ -1
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SCHED_CRITMONITOR_MAXTIME_WDOG
|
||||
# define CONFIG_SCHED_CRITMONITOR_MAXTIME_WDOG -1
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SCHED_CRITMONITOR_MAXTIME_PANIC
|
||||
# define CRITMONITOR_PANIC(fmt, ...) \
|
||||
do \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue