From e9c165034e7b3e69f61aea89a662e3e448e5c49f Mon Sep 17 00:00:00 2001 From: armink Date: Thu, 12 Jul 2018 18:37:51 +0800 Subject: [kernel][idle] Add idle hook list. --- src/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/Kconfig') diff --git a/src/Kconfig b/src/Kconfig index 89f709478b..dc27e162f0 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -75,6 +75,15 @@ config RT_USING_HOOK Enable the hook function when system running, such as idle thread hook, thread context switch etc. + if RT_USING_HOOK + config RT_IDEL_HOOK_LIST_SIZE + int "The max size of idel hook list" + default 4 + range 1 16 + help + The system has a hook list. This is the hook list size. + endif + config IDLE_THREAD_STACK_SIZE int "The stack size of idle thread" default 256 -- cgit v1.3.1