-
Notifications
You must be signed in to change notification settings - Fork 2
/
Kconfig
124 lines (101 loc) · 2.08 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
source "app/Kconfig"
source "bsp/Kconfig"
source "drivers/Kconfig"
source "mm/Kconfig"
choice
prompt "Select A Running Target"
config SELECT_QEMU
tristate "Select QEMU"
config SELECT_FPGA
tristate "Select NanHu FPGA"
config SELECT_KMH_FPGA
tristate "Select KunMingHu FPGA"
config SELECT_MELLITE_FPGA
tristate "Select Mellite FPGA"
config SELECT_VCS
tristate "Select VCS"
endchoice
choice
prompt "Select irqchip"
config SELECT_AIA
tristate "Select AIA"
config SELECT_PLIC
tristate "Select PLIC"
endchoice
choice
prompt "Use 4K/2M/1G in direct mapping"
config SELECT_4K_DIRECT_MAPPING
tristate "Select 4k mapping"
config SELECT_2M_DIRECT_MAPPING
tristate "Select 2m mapping"
config SELECT_1G_DIRECT_MAPPING
tristate "Select 1g mapping"
endchoice
choice
prompt "Use 4K/2M/1G in code mapping"
config SELECT_4K_CODE_MAPPING
tristate "Select 4k mapping"
config SELECT_2M_CODE_MAPPING
tristate "Select 2m mapping"
config SELECT_1G_CODE_MAPPING
tristate "Select 1g mapping"
endchoice
config VIRT
bool "Virt"
depends on MYGUEST
default y
if VIRT
source "virt/Kconfig"
endif
config USER
bool "User"
depends on MYUSER
default y
config MYGUEST
bool "Guest OS bin"
default y
config MYUSER
bool "User process bin"
default y
config ENABLE_MMU
bool "Enable MMU"
default y
config ENABLE_SSTC
bool "Enable Sstc"
default n
config ENABLE_SVPBMT
bool "Enable Svpbmt"
default y
config ENABLE_VECTOR
bool "Enable V"
default y
config ENABLE_VS_SSTC
bool "Enable Sstc in vs mode"
default y
depends on ENABLE_SSTC
config SVNAPOT
bool "Enable svnapot"
depends on ENABLE_MMU
config ENABLE_ZICBOM
bool "Enable Zicbom"
default y
config USE_UART_POLL
bool "Use uart poll"
default n
config ENABLE_MULTI_TASK
bool "Enable Multi task"
default y
config TASK_SCHEDULER_PERIOD
int "Task scheduler period(ms)"
default "10"
depends on ENABLE_MULTI_TASK
config ENABLE_SHELL
bool "Enable Shell"
default y
config PRINT_LOGO
bool "Enable print logo"
default y
config MEM_START
hex "Config Mem start"
default 0x1000000000 if SELECT_MELLITE_FPGA
default 0x80000000