• Rich Felker's avatar
    sh: SMP support for SH2 entry.S · 4b6ef05b
    Rich Felker authored
    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>
    4b6ef05b
entry.S 6.77 KB