The TLB refill and XTLB refill exceptions use distinct exception vectors
authorvisa <visa@openbsd.org>
Tue, 23 Aug 2016 12:54:09 +0000 (12:54 +0000)
committervisa <visa@openbsd.org>
Tue, 23 Aug 2016 12:54:09 +0000 (12:54 +0000)
commitc5cb0eb4c053b4603d07b1b34882601ebfbb7ce0
treebc0a9abc4fe0074f32c1d24b3bde7799ce601285
parent3e289497410cfe309951b399d4ee8dcbcc810b93
The TLB refill and XTLB refill exceptions use distinct exception vectors
on Loongson 3A. Consequently, the kernel has to set up both vectors to
prevent panics with virtual address references.

On Loongson 2F, it is enough to set up the TLB refill vector because
the XTLB refill exception uses the same vector address.

ok miod@
sys/arch/loongson/loongson/machdep.c