From 1afacc4164f66853a8d9b1816f00be6c703b8d7c Mon Sep 17 00:00:00 2001 From: Harry Chen Date: Sat, 6 Apr 2019 00:37:10 +0800 Subject: [PATCH] Fix AT register in context.S Signed-off-by: Harry Chen --- kernel/src/arch/mipsel/boot/context.S | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/src/arch/mipsel/boot/context.S b/kernel/src/arch/mipsel/boot/context.S index de94380..6da03c6 100644 --- a/kernel/src/arch/mipsel/boot/context.S +++ b/kernel/src/arch/mipsel/boot/context.S @@ -26,13 +26,13 @@ switch_context: sw sp, 13*4(sp) la s0, root_page_table_ptr - lw at, 0(s0) - sw at, 4(sp) + lw AT, 0(s0) + sw AT, 4(sp) // restore to's registers lw sp, 0(a1) - lw at, 4(sp) - sw at, 0(s0) + lw AT, 4(sp) + sw AT, 0(s0) lw ra, 0(sp) lw s0, 2*4(sp)