Kconfig 2.8 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
######################### config options of container ####################
config KERNEL_CONTAINER
    bool "Enable container Feature"
    default n
    depends on KERNEL_VM

config PID_CONTAINER
Z
zhushengle 已提交
77
    bool "Enable pid container Feature"
Z
zhushengle 已提交
78 79 80
    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

86
config MNT_CONTAINER
Z
zhushengle 已提交
87
    bool "Enable mnt container Feature"
88 89 90 91 92 93 94 95
    default n
    depends on KERNEL_CONTAINER

config CHROOT
    bool "Enable chroot"
    default n
    depends on MNT_CONTAINER

Z
zhushengle 已提交
96 97 98 99 100
config IPC_CONTAINER
    bool "Enable ipc container Feature"
    default n
    depends on KERNEL_CONTAINER

Z
zhushengle 已提交
101 102 103 104 105
config TIME_CONTAINER
    bool "Enable time container"
    default n
    depends on KERNEL_CONTAINER

Z
zhushengle 已提交
106 107 108 109 110
config USER_CONTAINER
    bool "Enable user container"
    default n
    depends on KERNEL_CONTAINER

Z
zhushengle 已提交
111 112 113 114 115
config NET_CONTAINER
    bool "Enable net container"
    default n
    depends on KERNEL_CONTAINER

Z
zhushengle 已提交
116 117 118
######################### config options of extended #####################
source "kernel/extended/Kconfig"

119 120 121 122 123 124
config ENABLE_KERNEL_TEST
    bool "Enable kernel test"
    default n
    help
      This option will enable kernel test.

W
wenjun 已提交
125
endmenu