Skip to content
Commit 4b6ef05b authored by Rich Felker's avatar Rich Felker
Browse files

sh: SMP support for SH2 entry.S



The SH2 version of entry.S uses global variables, which need to be
cpu-local in order to work with SMP. For ease of access from asm,
simply use arrays indexed by cpu number, and require the availability
of an address (mmio register or properly setup per-cpu memory) from
which the current cpu's index can be read.

Signed-off-by: default avatarRich Felker <dalias@libc.org>
parent 00b73d8d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment