diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 939ea7f6a228..846c0c4ac4dd 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -319,6 +319,11 @@ config GENERIC_HWEIGHT config FIX_EARLYCON_MEM def_bool MMU +config ILLEGAL_POINTER_VALUE + hex + default 0 if 32BIT + default 0xdead000000000000 if 64BIT + config PGTABLE_LEVELS int default 5 if 64BIT