change log for rtems (2011-08-10)

rtems-vc at rtems.org rtems-vc at rtems.org
Wed Aug 10 14:10:21 UTC 2011


 *sh*:
2011-08-10	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* rtems/score/cpu.h, cpu.c: Removed superfluous functions.

M   1.32  cpukit/score/cpu/nios2/ChangeLog
M   1.14  cpukit/score/cpu/nios2/cpu.c
M   1.19  cpukit/score/cpu/nios2/rtems/score/cpu.h

diff -u rtems/cpukit/score/cpu/nios2/ChangeLog:1.31 rtems/cpukit/score/cpu/nios2/ChangeLog:1.32
--- rtems/cpukit/score/cpu/nios2/ChangeLog:1.31	Tue Aug  9 06:11:30 2011
+++ rtems/cpukit/score/cpu/nios2/ChangeLog	Wed Aug 10 09:10:09 2011
@@ -1,3 +1,7 @@
+2011-08-10	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* rtems/score/cpu.h, cpu.c: Removed superfluous functions.
+
 2011-08-09	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
 	* nios2-iic-low-level.S: New file.

diff -u rtems/cpukit/score/cpu/nios2/cpu.c:1.13 rtems/cpukit/score/cpu/nios2/cpu.c:1.14
--- rtems/cpukit/score/cpu/nios2/cpu.c:1.13	Sun Jul 24 18:43:07 2011
+++ rtems/cpukit/score/cpu/nios2/cpu.c	Wed Aug 10 09:10:09 2011
@@ -121,55 +121,3 @@
 
     _ISR_Vector_table[ vector ] = new_handler;
 }
-
-/*
- *  _CPU_Install_interrupt_stack
- *
- *  NO_CPU Specific Information:
- *
- *  XXX document implementation including references if appropriate
- */
-
-void _CPU_Install_interrupt_stack( void )
-{
-}
-
-/*
- *  _CPU_Thread_Idle_body
- *
- *  NOTES:
- *
- *  1. This is the same as the regular CPU independent algorithm.
- *
- *  2. If you implement this using a "halt", "idle", or "shutdown"
- *     instruction, then don't forget to put it in an infinite loop.
- *
- *  3. Be warned. Some processors with onboard DMA have been known
- *     to stop the DMA if the CPU were put in IDLE mode.  This might
- *     also be a problem with other on-chip peripherals.  So use this
- *     hook with caution.
- *
- *  NO_CPU Specific Information:
- *
- *  XXX document implementation including references if appropriate
- */
-
-void *_CPU_Thread_Idle_body( uintptr_t ignored )
-{
-#if 1
-  for(;;);
-#else
-  for(;;)
-  {
-    uint32_t st = __builtin_rdctl(0); /* read status  register */
-
-    /* Differentiate between IRQ off and on (for debugging) */
-    if(st & 1)
-      for(;;);
-    else
-      for(;;);
-
-    /* insert your "halt" instruction here */ ;
-  }
-#endif
-}

diff -u rtems/cpukit/score/cpu/nios2/rtems/score/cpu.h:1.18 rtems/cpukit/score/cpu/nios2/rtems/score/cpu.h:1.19
--- rtems/cpukit/score/cpu/nios2/rtems/score/cpu.h:1.18	Tue Aug  9 05:28:09 2011
+++ rtems/cpukit/score/cpu/nios2/rtems/score/cpu.h	Wed Aug 10 09:10:10 2011
@@ -310,7 +310,7 @@
  *
  *  XXX document implementation including references if appropriate
  */
-#define CPU_PROVIDES_IDLE_THREAD_BODY    TRUE
+#define CPU_PROVIDES_IDLE_THREAD_BODY    FALSE
 
 /**
  *  Does the stack grow up (toward higher addresses) or down
@@ -1155,19 +1155,6 @@
 );
 
 /**
- *  @ingroup CPUInterrupt
- *  This routine installs the hardware interrupt stack pointer.
- *
- *  @note  It need only be provided if @ref CPU_HAS_HARDWARE_INTERRUPT_STACK
- *         is TRUE.
- *
- *  Port Specific Information:
- *
- *  XXX document implementation including references if appropriate
- */
-void _CPU_Install_interrupt_stack( void );
-
-/**
  *  This routine is the CPU dependent IDLE thread body.
  *
  *  @note  It need only be provided if @ref CPU_PROVIDES_IDLE_THREAD_BODY



--

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/20110810/20f2ff2a/attachment.html>


More information about the vc mailing list