HelenOS sources

ISTATE_OFFSET_X5   41 kernel/arch/arm64/include/arch/istate_struct.h #define ISTATE_OFFSET_X5     0x48
ISTATE_OFFSET_X5   37 kernel/arch/riscv64/include/arch/istate_struct.h #define ISTATE_OFFSET_X5    0x28
ISTATE_OFFSET_X5   41 uspace/lib/c/arch/arm64/include/libarch/istate_struct.h #define ISTATE_OFFSET_X5     0x48
ISTATE_OFFSET_X5   37 uspace/lib/c/arch/riscv64/include/libarch/istate_struct.h #define ISTATE_OFFSET_X5    0x28
HelenOS homepage, sources at GitHub