mpfs/knsh: Enable SHM for MPFS kernel mode build
@@ -27,6 +27,8 @@ CONFIG_ARCH_PGPOOL_PBASE=0x80400000
CONFIG_ARCH_PGPOOL_SIZE=4194304
CONFIG_ARCH_PGPOOL_VBASE=0x80400000
CONFIG_ARCH_RISCV=y
+CONFIG_ARCH_SHM_NPAGES=4096
+CONFIG_ARCH_SHM_VBASE=0xFF000000
CONFIG_ARCH_STACKDUMP=y
CONFIG_ARCH_TEXT_NPAGES=0
CONFIG_ARCH_TEXT_VBASE=0x00000000
@@ -49,6 +51,7 @@ CONFIG_ELF_STACKSIZE=4096
CONFIG_EXAMPLES_HELLO=y
CONFIG_EXPERIMENTAL=y
CONFIG_FS_PROCFS=y
+CONFIG_FS_PROCFS_EXCLUDE_ENVIRON=y
CONFIG_FS_ROMFS=y
CONFIG_HAVE_CXX=y
CONFIG_IDLETHREAD_STACKSIZE=2048
@@ -65,6 +68,7 @@ CONFIG_LIBM=y
CONFIG_MEMSET_64BIT=y
CONFIG_MEMSET_OPTSPEED=y
CONFIG_MM_PGALLOC=y
+CONFIG_MM_SHM=y
CONFIG_MPFS_ENABLE_DPFPU=y
CONFIG_MPFS_ROMFS_MOUNT=y
CONFIG_MPFS_UART1=y
