Skip to content
Commit 408c1512 authored by Yong Cong Sin's avatar Yong Cong Sin Committed by Dan Kalowsky
Browse files

tests: arch: riscv: make sure that `gp` reg can't be corrupted



Add a test to make sure that the `gp` global pointer register used for
relative addressing when `CONFIG_RISCV_GP` is enabled can't be
corrupted by a rogue user thread.

Signed-off-by: default avatarYong Cong Sin <ycsin@meta.com>
Signed-off-by: default avatarYong Cong Sin <yongcong.sin@gmail.com>
parent e30db2d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment