Kconfig 2.2 KB
Newer Older
W
wenjun 已提交
1 2 3 4 5 6 7 8
menu "Kernel"
config KERNEL_SMP
    bool "Enable Kernel SMP"
    default n
    help
      This option will enable smp support of LiteOS.

config KERNEL_SMP_CORE_NUM
9
    int "Multi-processing Core Numbers"
W
wenjun 已提交
10 11 12
    default 2
    depends on KERNEL_SMP
    help
13
      This represents the number of multi-processing cores.
W
wenjun 已提交
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28

config KERNEL_SMP_LOCKDEP
    bool "Enable Spinlock Lockdep Check"
    default n
    depends on KERNEL_SMP
    help
      This option will enable spinlock lockdep check.

config KERNEL_SMP_TASK_SYNC
    bool "Enable Synchronized Task Operations"
    default n
    depends on KERNEL_SMP
    help
      This option will enable task synchronized operate task across cores.

L
LiteOS2021 已提交
29 30 31 32 33 34 35
config KERNEL_SMP_CALL
    bool "Enable Function call cross Multi-core"
    default n
    depends on KERNEL_SMP
    help
      This option will enable function call on multi-core.

W
wenjun 已提交
36 37 38 39 40
config KERNEL_SCHED_STATISTICS
    bool "Enable Scheduler statistics"
    default n
    depends on KERNEL_SMP
    help
41
      This option will enable scheduler statistics.
W
wenjun 已提交
42

Y
YOUR_NAME 已提交
43 44 45 46 47 48 49 50 51 52 53 54 55
config KERNEL_MMU
    bool "Enable MMU"
    default y
    help
      This option will enable mmu.

config KERNEL_VM
    bool "Enable VM"
    default y
    depends on KERNEL_MMU
    help
      This option will enable vmm, pmm, page fault, etc.

Y
YOUR_NAME 已提交
56 57 58
config KERNEL_SYSCALL
    bool "Enable Syscall"
    default y
Y
YOUR_NAME 已提交
59
    depends on KERNEL_VM
Y
YOUR_NAME 已提交
60 61 62
    help
      This option will enable syscall.

H
Haryslee 已提交
63 64 65 66 67 68 69
config PAGE_TABLE_FINE_LOCK
    bool "Enable fine lock for page table"
    default n
    depends on KERNEL_VM
    help
      This option will enable fine lock for page table.

Z
zhushengle 已提交
70 71 72 73 74 75 76 77 78 79 80
######################### config options of container ####################
config KERNEL_CONTAINER
    bool "Enable container Feature"
    default n
    depends on KERNEL_VM

config PID_CONTAINER
    bool "Enable PID container Feature"
    default n
    depends on KERNEL_CONTAINER

Z
zhushengle 已提交
81 82 83 84 85
config UTS_CONTAINER
    bool "Enable uts container Feature"
    default n
    depends on KERNEL_CONTAINER

Z
zhushengle 已提交
86 87 88
######################### config options of extended #####################
source "kernel/extended/Kconfig"

89 90 91 92 93 94
config ENABLE_KERNEL_TEST
    bool "Enable kernel test"
    default n
    help
      This option will enable kernel test.

W
wenjun 已提交
95
endmenu