Rename TICKLESS_KERNEL -> SYS_CLOCK_EXISTS

Change-Id: I2101cbbbda08099483e4b7002b6072758149203c

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2015-05-15 07:43:52 -04:00
commit 97f2fe9c49
2 changed files with 6 additions and 6 deletions

View file

@ -27,11 +27,11 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
Frequency of the hardware timer used for the system clock Frequency of the hardware timer used for the system clock
(in Hz). (in Hz).
config TICKLESS_KERNEL config SYS_CLOCK_EXISTS
bool bool
# omit prompt to signify a "hidden" option # omit prompt to signify a "hidden" option
default y if (SYS_CLOCK_TICKS_PER_SEC = 0) default n if (SYS_CLOCK_TICKS_PER_SEC = 0)
default n default y
help help
This option specifies that the kernel lacks timer support. This option specifies that the kernel lacks timer support.

View file

@ -61,8 +61,8 @@ config NUM_COMMAND_PACKETS
config NUM_TIMER_PACKETS config NUM_TIMER_PACKETS
int int
prompt "Number of timer packets" if !TICKLESS_KERNEL prompt "Number of timer packets" if SYS_CLOCK_EXISTS
default 0 if TICKLESS_KERNEL default 0 if !SYS_CLOCK_EXISTS
default 10 default 10
depends on MICROKERNEL depends on MICROKERNEL
help help
@ -203,7 +203,7 @@ config TIMESLICING
bool bool
prompt "Task time slicing" prompt "Task time slicing"
default y default y
depends on MICROKERNEL && !TICKLESS_KERNEL depends on MICROKERNEL && SYS_CLOCK_EXISTS
help help
This option enables time slicing between tasks of equal priority. This option enables time slicing between tasks of equal priority.