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:
Keith Packard <keithp@keithp.com>
Loading
Please sign in to comment