So in risc-v, for a virtual memory system, I imagine it's up to the kernel to decide if 0 is a valid memory address or not? But for machine mode, or supervisor mode, is memory address 0 valid to access?
By extent, should I check if the pointer to the device tree provided to the kernel is NULL?