Skip to content
Commit f623571a authored by Keith Packard's avatar Keith Packard Committed by Stephanos Ioannidis
Browse files

riscv: Initialize TP register when starting threads



Set TP in exception context so that it gets loaded into the CPU when
first running the thread. Set TP for secondary cores to related idle TLS
area.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent 8b55af51
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment