系统支持newlib,并且可以与musl-C自由切换 1. 新增newlib支持,适配newlib的预留钩子,针对系统能力适配newlib头文件(补充宏定义,结构体定义,posix能力开关), 采用标准C与自研posix接口声明与结构体定义混合作为C库 2. 梳理kal的依赖关系,kal作为内核对外提供的标准接口,下属包含cmsis、libc、posix。 cmsis为内核对cmsis接口的支持,libc为内核对三方C库的适配及使用,posix为内核自研提供的posix标准接口。 若采用musl-C,则kal中选取libc/musl,posix共同作为C库对外支持; 若采用newlib-C,则kal中选取libc/newlib,部分posix共同作为C库对外支持。 3. fs整理,components/fs下提供基于posix标准的接口改为内部对外接口,供musl以及newlib切换 适配使用 close: #I4ENQ1 Signed-off-by: arvinzzz <zhaotianyu9@huawei.com> Change-Id: I72eda5ac5499f72c67e800e22b0f39eb288f2b94
54 lines
1.1 KiB
Plaintext
54 lines
1.1 KiB
Plaintext
config ARCH_ARM
|
|
bool
|
|
|
|
rsource "arm/Kconfig"
|
|
|
|
config ARCH_CSKY
|
|
bool
|
|
|
|
config ARCH_RISCV
|
|
bool
|
|
|
|
config ARCH_RISCV32
|
|
bool
|
|
select ARCH_RISCV
|
|
|
|
config ARCH_XTENSA
|
|
bool
|
|
|
|
comment "Extra Configurations"
|
|
|
|
config ARCH_FPU_DISABLE
|
|
bool "Disable Floating Pointer Unit"
|
|
default n
|
|
help
|
|
This option will bypass floating procedure in system.
|
|
|
|
config ARCH_SECURE_MONITOR_MODE
|
|
bool "Run On Secure Monitor Mode"
|
|
default n
|
|
depends on ARCH_ARM_AARCH64
|
|
help
|
|
This option will make the system run on EL3.
|
|
|
|
config ARCH_INTERRUPT_PREEMPTION
|
|
bool "Enable Interrupt Preemption"
|
|
default n
|
|
depends on ARCH_ARM_AARCH64
|
|
help
|
|
This option will support high priority interrupt preemption.
|
|
|
|
config IRQ_USE_STANDALONE_STACK
|
|
bool "Use Interrupt Stack"
|
|
default y
|
|
depends on ARCH_ARM_AARCH64 || ARCH_ARM_AARCH32
|
|
help
|
|
This option will support using standalone interrupt stack.
|
|
|
|
config ARCH_UNALIGNED_EXC
|
|
bool "Enable Unaligned Exception"
|
|
default y
|
|
depends on ARCH_ARM
|
|
help
|
|
This option will enable unaligned exception.
|