HelenOS sources

ISTATE_OFFSET_X18   54 kernel/arch/arm64/include/arch/istate_struct.h #define ISTATE_OFFSET_X18    0xb0
ISTATE_OFFSET_X18   50 kernel/arch/riscv64/include/arch/istate_struct.h #define ISTATE_OFFSET_X18   0x90
ISTATE_OFFSET_X18   54 uspace/lib/c/arch/arm64/include/libarch/istate_struct.h #define ISTATE_OFFSET_X18    0xb0
ISTATE_OFFSET_X18   50 uspace/lib/c/arch/riscv64/include/libarch/istate_struct.h #define ISTATE_OFFSET_X18   0x90
HelenOS homepage, sources at GitHub