diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index fe30b24d52e1..e6d09c99b470 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -259,6 +259,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