From 76b9bcca2c0dde187de58d2c69757bb1889ef37d Mon Sep 17 00:00:00 2001 From: QiaoChong Date: Fri, 21 Dec 2018 20:55:58 +0800 Subject: [PATCH] Loongson2k: fix tlbrefill exception install from TLB_MISS_VEC to XTLB_MISS_VEC. Change-Id: I5a3a627961f801b19670edd4eb6685eb9782e2e9 Signed-off-by: QiaoChong --- Targets/LS2K/ls2k/tgt_machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Targets/LS2K/ls2k/tgt_machdep.c b/Targets/LS2K/ls2k/tgt_machdep.c index abfb8712..03c25bde 100644 --- a/Targets/LS2K/ls2k/tgt_machdep.c +++ b/Targets/LS2K/ls2k/tgt_machdep.c @@ -224,7 +224,7 @@ void initmips(unsigned long long raw_memsz) cpuinfotab[0] = &DBGREG; SBD_DISPLAY("BEV1", 0); - bcopy(MipsException, (char *)TLB_MISS_EXC_VEC, + bcopy(MipsException, (char *)XTLB_MISS_EXC_VEC, MipsExceptionEnd - MipsException); bcopy(MipsException, (char *)GEN_EXC_VEC, MipsExceptionEnd - MipsException);