diff packages/hal/mips/arch/current/src/vectors.S @ 92:08ffab08d2ee ecos-sw-2000-05-26

Merge from eCos master repository on 2000-05-26-07:47:03-BST
author jlarmour
date Fri, 26 May 2000 13:46:34 +0000
parents 70190fa0fe10
children 02ea4320376c
line wrap: on
line diff
--- a/packages/hal/mips/arch/current/src/vectors.S
+++ b/packages/hal/mips/arch/current/src/vectors.S
@@ -59,7 +59,7 @@
 ## Hardware supplied vectors
 	
 	.set	noreorder
- 
+
 	.section ".reset_vector","ax"
 
 	# Reset vector at 0xBFC00000
@@ -197,6 +197,11 @@ FUNC_START(_start)
         jal     initialize_stub
         nop
 #endif
+#if defined(CYGDBG_HAL_MIPS_DEBUG_GDB_CTRLC_SUPPORT)
+        .extern hal_ctrlc_isr_init
+        jal     hal_ctrlc_isr_init
+        nop
+#endif
 
 	# Call cyg_start	
 	
@@ -604,13 +609,16 @@ 8:
 #endif
 				
 restore_state:
+#if defined(CYGSEM_HAL_USE_ROM_MONITOR_CygMon)
 	move	k0,v0
+#endif
 
 	# All done, restore CPU state and continue
 
 	addi	sp,sp,mips_stack_frame_size	# retrieve CPU state ptr
 
 	# Disable interrupts again while we restore state. 
+	hal_cpu_int_disable
 
 	hal_diag_restore