2010-07-23 Vinu Rajashekhar <vinutheraj@gmail.com>

* start/start.S: Replace the call to _return_to_monitor by
	hlt instruction.
	* startup/ldsegs.S: Remove the _return_to_monitor function.
This commit is contained in:
Joel Sherrill
2010-07-23 12:24:06 +00:00
parent 3364576344
commit bdf879323e
3 changed files with 8 additions and 23 deletions

View File

@@ -1,3 +1,9 @@
2010-07-23 Vinu Rajashekhar <vinutheraj@gmail.com>
* start/start.S: Replace the call to _return_to_monitor by
hlt instruction.
* startup/ldsegs.S: Remove the _return_to_monitor function.
2010-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c: Do not do the indirect call if NULL.

View File

@@ -266,12 +266,8 @@ SYM (zero_bss):
movl $SYM(_boot_multiboot_cmdline), (esp)
call SYM (boot_card)
/*---------------------------------------------------------------------+
| Clean up - we do not know anything about it, so we will
| jump to BSP specific code to do cleanup
+---------------------------------------------------------------------*/
jmp SYM (_return_to_monitor)
cli # stops interrupts from being processed after hlt!
hlt # shutdown
#ifdef __SSE__
SYM(_sse_panic):

View File

@@ -157,23 +157,6 @@ next_step:
jmp SYM (_establish_stack) # return to the bsp entry code
/*-------------------------------------------------------------------------+
| Function: _return_to_monitor
| Description: Return to board's monitor (we have none so simply restart).
| Global Variables: None.
| Arguments: None.
| Returns: Nothing.
+--------------------------------------------------------------------------*/
.p2align 4
PUBLIC (_return_to_monitor)
SYM (_return_to_monitor):
call SYM (Timer_exit)
call SYM (Clock_exit)
jmp SYM (start)
/*-------------------------------------------------------------------------+
| Function: _default_int_handler
| Description: default interrupt handler