Browse Source

Loongson2k: fix tlbrefill exception install from TLB_MISS_VEC to XTLB_MISS_VEC.

Change-Id: I5a3a627961f801b19670edd4eb6685eb9782e2e9
Signed-off-by: QiaoChong <qiaochong@loongson.cn>
master
QiaoChong 6 years ago
parent
commit
76b9bcca2c
  1. 2
      Targets/LS2K/ls2k/tgt_machdep.c

2
Targets/LS2K/ls2k/tgt_machdep.c

@ -224,7 +224,7 @@ void initmips(unsigned long long raw_memsz)
cpuinfotab[0] = &DBGREG; cpuinfotab[0] = &DBGREG;
SBD_DISPLAY("BEV1", 0); SBD_DISPLAY("BEV1", 0);
bcopy(MipsException, (char *)TLB_MISS_EXC_VEC, bcopy(MipsException, (char *)XTLB_MISS_EXC_VEC,
MipsExceptionEnd - MipsException); MipsExceptionEnd - MipsException);
bcopy(MipsException, (char *)GEN_EXC_VEC, bcopy(MipsException, (char *)GEN_EXC_VEC,
MipsExceptionEnd - MipsException); MipsExceptionEnd - MipsException);

Loading…
Cancel
Save