This adds CMake support for PROTECTED build mode on rv-virt target. Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
This revises PROTECTED build for qemu-rv mainly to avoid hard-coded addresses in linker scripts. It also added rv32 support, cleaned up config `pnsh64` and added config `pnsh`. Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
This adds BUILD_PROTECTED target for rv-virt (rv-virt:pnsh64).