Explorar o código

ARCv2: make unimplemented vectors as no-ops rather than halt core

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Vineet Gupta %!s(int64=8) %!d(string=hai) anos
pai
achega
814a585038
Modificáronse 1 ficheiros con 9 adicións e 3 borrados
  1. 9 3
      arch/arc/kernel/entry-arcv2.S

+ 9 - 3
arch/arc/kernel/entry-arcv2.S

@@ -100,15 +100,21 @@ END(handle_interrupt)
 ;################### Non TLB Exception Handling #############################
 
 ENTRY(EV_SWI)
-	flag 1
+	; TODO: implement this
+	EXCEPTION_PROLOGUE
+	b   ret_from_exception
 END(EV_SWI)
 
 ENTRY(EV_DivZero)
-	flag 1
+	; TODO: implement this
+	EXCEPTION_PROLOGUE
+	b   ret_from_exception
 END(EV_DivZero)
 
 ENTRY(EV_DCError)
-	flag 1
+	; TODO: implement this
+	EXCEPTION_PROLOGUE
+	b   ret_from_exception
 END(EV_DCError)
 
 ; ---------------------------------------------