change log for rtems (2010-07-23)

rtems-vc at rtems.org rtems-vc at rtems.org
Fri Jul 23 13:10:20 UTC 2010


 *joel*:
2010-07-23	Vinu Rajashekhar <vinutheraj at gmail.com>

	* start/start.S: Replace the call to _return_to_monitor by
	hlt instruction.
	* startup/ldsegs.S: Remove the _return_to_monitor function.

M  1.260  c/src/lib/libbsp/i386/pc386/ChangeLog
M   1.17  c/src/lib/libbsp/i386/pc386/start/start.S
M   1.19  c/src/lib/libbsp/i386/pc386/startup/ldsegs.S

diff -u rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.259 rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.260
--- rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.259	Wed Jul 21 07:33:58 2010
+++ rtems/c/src/lib/libbsp/i386/pc386/ChangeLog	Fri Jul 23 07:24:05 2010
@@ -1,3 +1,9 @@
+2010-07-23	Vinu Rajashekhar <vinutheraj at 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 at oarcorp.com>
 
 	* timer/timer.c: Do not do the indirect call if NULL.

diff -u rtems/c/src/lib/libbsp/i386/pc386/start/start.S:1.16 rtems/c/src/lib/libbsp/i386/pc386/start/start.S:1.17
--- rtems/c/src/lib/libbsp/i386/pc386/start/start.S:1.16	Sun Nov 29 22:52:28 2009
+++ rtems/c/src/lib/libbsp/i386/pc386/start/start.S	Fri Jul 23 07:24:05 2010
@@ -266,12 +266,8 @@
 	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):

diff -u rtems/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S:1.18 rtems/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S:1.19
--- rtems/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S:1.18	Sun Nov 29 22:52:28 2009
+++ rtems/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S	Fri Jul 23 07:24:06 2010
@@ -158,23 +158,6 @@
 	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
 | Global Variables: None.



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100723/4a7634e4/attachment.html>


More information about the vc mailing list