change log for rtems (2011-08-29)

rtems-vc at rtems.org rtems-vc at rtems.org
Mon Aug 29 22:12:11 UTC 2011


 *joel*:
2011-08-29	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* include/rtems/userenv.h, score/src/threadhandler.c: Formatting.
	* sapi/src/exshutdown.c: Add comments.

M 1.2909  cpukit/ChangeLog
M    1.8  cpukit/include/rtems/userenv.h
M    1.7  cpukit/sapi/src/exshutdown.c
M   1.36  cpukit/score/src/threadhandler.c

diff -u rtems/cpukit/ChangeLog:1.2908 rtems/cpukit/ChangeLog:1.2909
--- rtems/cpukit/ChangeLog:1.2908	Mon Aug 22 13:26:06 2011
+++ rtems/cpukit/ChangeLog	Mon Aug 29 16:30:29 2011
@@ -1,3 +1,8 @@
+2011-08-29	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* include/rtems/userenv.h, score/src/threadhandler.c: Formatting.
+	* sapi/src/exshutdown.c: Add comments.
+
 2011-08-22	Jennifer Averett <Jennifer.Averett at OARcorp.com>
 
 	PR 1876

diff -u rtems/cpukit/include/rtems/userenv.h:1.7 rtems/cpukit/include/rtems/userenv.h:1.8
--- rtems/cpukit/include/rtems/userenv.h:1.7	Fri Jun 24 12:52:55 2011
+++ rtems/cpukit/include/rtems/userenv.h	Mon Aug 29 16:30:32 2011
@@ -46,20 +46,19 @@
 #endif
 
 typedef struct {
- rtems_id                         task_id;
- rtems_filesystem_location_info_t current_directory;
- rtems_filesystem_location_info_t root_directory;
- /* Default mode for all files. */
- mode_t                           umask;
- nlink_t                          link_counts;
- /* _POSIX_types */
- uid_t                            uid;
- gid_t                            gid;
- uid_t                            euid;
- gid_t                            egid;
- char      login_buffer[LOGIN_NAME_MAX];
-
- pid_t                            pgrp; /* process group id */
+  rtems_id                         task_id;
+  rtems_filesystem_location_info_t current_directory;
+  rtems_filesystem_location_info_t root_directory;
+  /* Default mode for all files. */
+  mode_t                           umask;
+  nlink_t                          link_counts;
+  /* _POSIX_types */
+  uid_t                            uid;
+  gid_t                            gid;
+  uid_t                            euid;
+  gid_t                            egid;
+  char      login_buffer[LOGIN_NAME_MAX];
+  pid_t                            pgrp; /* process group id */
 } rtems_user_env_t;
 
 extern rtems_user_env_t * rtems_current_user_env;

diff -u rtems/cpukit/sapi/src/exshutdown.c:1.6 rtems/cpukit/sapi/src/exshutdown.c:1.7
--- rtems/cpukit/sapi/src/exshutdown.c:1.6	Wed Jul 13 13:34:22 2011
+++ rtems/cpukit/sapi/src/exshutdown.c	Mon Aug 29 16:30:32 2011
@@ -49,11 +49,19 @@
 
     _System_state_Set( SYSTEM_STATE_SHUTDOWN );
     _Thread_Stop_multitasking();
+
+    /*******************************************************************
+     *******************************************************************
+     *******************************************************************
+     ******     RETURN TO RTEMS_INITIALIZE_START_MULTITASKING()   ******
+     ******                 AND THEN TO BOOT_CARD()               ******
+     *******************************************************************
+     *******************************************************************
+     *******************************************************************/
   }
   _Internal_error_Occurred(
     INTERNAL_ERROR_CORE,
     true,
     INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP
   );
-
 }

diff -u rtems/cpukit/score/src/threadhandler.c:1.35 rtems/cpukit/score/src/threadhandler.c:1.36
--- rtems/cpukit/score/src/threadhandler.c:1.35	Mon Aug 15 03:23:49 2011
+++ rtems/cpukit/score/src/threadhandler.c	Mon Aug 29 16:30:32 2011
@@ -29,7 +29,15 @@
 #include <rtems/score/threadq.h>
 #include <rtems/score/userext.h>
 #include <rtems/score/wkspace.h>
+#if defined(RTEMS_SMP)
+  #include <rtems/score/smp.h>
+#endif
+
 
+/*
+ *  Conditional magic to determine what style of C++ constructor
+ *  initialization this target and compiler version uses.
+ */
 #if defined(__AVR__)
   #undef __USE_INIT_FINI__
 #endif
@@ -53,11 +61,6 @@
   #define EXECUTE_GLOBAL_CONSTRUCTORS
 #endif
 
-#if defined(RTEMS_SMP)
-  #include <rtems/score/smp.h>
-#endif
-
-
 /*
  *  _Thread_Handler
  *
@@ -81,7 +84,6 @@
  *
  *  Output parameters:  NONE
  */
-
 void _Thread_Handler( void )
 {
   ISR_Level  level;
@@ -104,7 +106,6 @@
    * have to put level into a register for those cpu's that use
    * inline asm here
    */
-
   level = executing->Start.isr_level;
   _ISR_Set_level(level);
 
@@ -150,7 +151,6 @@
           _SMP_Request_other_cores_to_perform_first_context_switch();
         _Thread_Enable_dispatch();
       #endif
-
     }
  #endif
 


 *joel*:
2011-08-29	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* rtems/include/rtems/rtems/tasks.h: Formatting.

M 1.2910  cpukit/ChangeLog
M   1.46  cpukit/rtems/include/rtems/rtems/tasks.h

diff -u rtems/cpukit/ChangeLog:1.2909 rtems/cpukit/ChangeLog:1.2910
--- rtems/cpukit/ChangeLog:1.2909	Mon Aug 29 16:30:29 2011
+++ rtems/cpukit/ChangeLog	Mon Aug 29 16:31:17 2011
@@ -1,5 +1,9 @@
 2011-08-29	Joel Sherrill <joel.sherrilL at OARcorp.com>
 
+	* rtems/include/rtems/rtems/tasks.h: Formatting.
+
+2011-08-29	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
 	* include/rtems/userenv.h, score/src/threadhandler.c: Formatting.
 	* sapi/src/exshutdown.c: Add comments.
 

diff -u rtems/cpukit/rtems/include/rtems/rtems/tasks.h:1.45 rtems/cpukit/rtems/include/rtems/rtems/tasks.h:1.46
--- rtems/cpukit/rtems/include/rtems/rtems/tasks.h:1.45	Fri Jun 17 10:54:59 2011
+++ rtems/cpukit/rtems/include/rtems/rtems/tasks.h	Mon Aug 29 16:31:18 2011
@@ -22,7 +22,8 @@
  *     - wake up when specified
  */
 
-/*  COPYRIGHT (c) 1989-2008.
+/*
+ *  COPYRIGHT (c) 1989-2011.
  *  On-Line Applications Research Corporation (OAR).
  *
  *  The license and distribution terms for this file may be
@@ -387,9 +388,9 @@
  *  set to entry_point with the initial argument.
  */
 rtems_status_code rtems_task_start(
-  rtems_id     id,
-  rtems_task_entry entry_point,
-  rtems_task_argument     argument
+  rtems_id             id,
+  rtems_task_entry     entry_point,
+  rtems_task_argument  argument
 );
 
 /**


 *joel*:
2011-08-29	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* Makefile.am, startup/bspstart.c: Formatting.

M   1.24  c/src/lib/libbsp/powerpc/beatnik/ChangeLog
M    1.7  c/src/lib/libbsp/powerpc/beatnik/Makefile.am
M    1.7  c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c

diff -u rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog:1.23 rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog:1.24
--- rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog:1.23	Wed Jul 13 13:35:19 2011
+++ rtems/c/src/lib/libbsp/powerpc/beatnik/ChangeLog	Mon Aug 29 16:32:56 2011
@@ -1,3 +1,7 @@
+2011-08-29	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* Makefile.am, startup/bspstart.c: Formatting.
+
 2011-07-13	Joel Sherrill <joel.sherrilL at OARcorp.com>
 
 	PR 1824/cpukit

diff -u rtems/c/src/lib/libbsp/powerpc/beatnik/Makefile.am:1.6 rtems/c/src/lib/libbsp/powerpc/beatnik/Makefile.am:1.7
--- rtems/c/src/lib/libbsp/powerpc/beatnik/Makefile.am:1.6	Fri Jun 17 00:30:41 2011
+++ rtems/c/src/lib/libbsp/powerpc/beatnik/Makefile.am	Mon Aug 29 16:32:56 2011
@@ -9,7 +9,6 @@
 noinst_PROGRAMS =
 EXTRA_DIST      = 
 
-
 include $(top_srcdir)/../../../../automake/compile.am
 include $(top_srcdir)/../../bsp.am
 
@@ -64,7 +63,7 @@
 libbsp_a_SOURCES += startup/bspstart.c \
     ../shared/motorola/vpd.c startup/reboot.c startup/i2c_init.c \
     ../../powerpc/shared/startup/panic.c \
-	../../powerpc/shared/startup/bspgetworkarea.c \
+    ../../powerpc/shared/startup/bspgetworkarea.c \
     ../../powerpc/shared/startup/probeMemEnd.c \
     ../../powerpc/shared/startup/pretaskinghook.c \
     ../../powerpc/shared/startup/zerobss.c \
@@ -72,7 +71,7 @@
     ../../powerpc/shared/startup/pgtbl_activate.c \
     ../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \
     startup/bspclean.c ../../shared/bsplibc.c ../../shared/bsppost.c \
-	../../shared/bsppredriverhook.c \
+    ../../shared/bsppredriverhook.c \
     ../../shared/gnatinstallhandler.c
 
 include_bsp_HEADERS += ../shared/motorola/vpd.h
@@ -87,8 +86,8 @@
 libbsp_a_SOURCES +=  \
     ../../powerpc/shared/console/uart.c \
     ../../powerpc/shared/console/console.c \
-	../../powerpc/shared/console/consoleIo.h \
-	../../powerpc/shared/console/uart.h
+    ../../powerpc/shared/console/consoleIo.h \
+    ../../powerpc/shared/console/uart.h
 
 #irq
 include_bsp_HEADERS += irq/irq.h
@@ -98,7 +97,7 @@
 #marvell
 include_bsp_HEADERS += marvell/gtreg.h marvell/gtintrreg.h \
     marvell/gti2creg.h marvell/gti2c_busdrv.h marvell/gt_timer.h \
-	marvell/gtpcireg.h
+    marvell/gtpcireg.h
 
 libbsp_a_SOURCES += marvell/discovery.c marvell/gti2c.c marvell/gt_timer.c
 
@@ -107,8 +106,8 @@
 include_bsp_HEADERS += ../shared/flash/flashPgmPvt.h
 
 libbsp_a_SOURCES += ../shared/flash/flash.c \
-	../shared/flash/intelFlash.c \
-	flash/flashcfg.c
+    ../shared/flash/intelFlash.c \
+    flash/flashcfg.c
 
 #pci
 include_bsp_HEADERS += ../../powerpc/shared/pci/pci.h
@@ -133,10 +132,10 @@
     ../../shared/vmeUniverse/VMEDMA.h
 
 libbsp_a_SOURCES += ../shared/vme/vmeconfig.c \
-	../shared/vme/vme_universe.c \
+    ../shared/vme/vme_universe.c \
     ../../shared/vmeUniverse/vmeUniverse.c \
     ../../shared/vmeUniverse/vmeTsi148.c \
-	../../shared/vmeUniverse/bspVmeDmaList.c
+    ../../shared/vmeUniverse/bspVmeDmaList.c
 
 #network
 if HAS_NETWORKING
@@ -161,22 +160,22 @@
 # with BSD stuff;
 network_if_mve.rel: network_if_mve_tmp.rel
 	$(OBJCOPY) -G rtems_mve_attach -G rtems_mve_early_link_check_ops \
-	           -G BSP_mve_ack_irqs -G BSP_mve_disable_irqs \
-	           -G BSP_mve_enable_irqs -G BSP_mve_init_hw \
-	           -G BSP_mve_ack_irq_mask -G BSP_mve_disable_irq_mask \
-	           -G BSP_mve_enable_irq_mask -G BSP_mve_setup_1 \
-	           -G BSP_mve_read_eaddr -G BSP_mve_send_buf \
-               -G BSP_mve_send_buf_raw \
-	           -G BSP_mve_setup -G BSP_mve_stop_hw \
-	           -G BSP_mve_swipe_rx -G BSP_mve_swipe_tx \
-	           -G BSP_mve_detach -G BSP_mve_media_ioctl \
-			   -G BSP_mve_get_tid \
-			   -G BSP_mve_dump_stats -G BSP_mve_ack_link_chg \
-			   -G BSP_mve_mcast_filter_clear \
-			   -G BSP_mve_mcast_filter_accept_all \
-			   -G BSP_mve_mcast_filter_accept_add \
-			   -G BSP_mve_mcast_filter_accept_del \
-			   -G mveth_serial_ctrl_config_val \
+                   -G BSP_mve_ack_irqs -G BSP_mve_disable_irqs \
+                   -G BSP_mve_enable_irqs -G BSP_mve_init_hw \
+                   -G BSP_mve_ack_irq_mask -G BSP_mve_disable_irq_mask \
+                   -G BSP_mve_enable_irq_mask -G BSP_mve_setup_1 \
+                   -G BSP_mve_read_eaddr -G BSP_mve_send_buf \
+                   -G BSP_mve_send_buf_raw \
+                   -G BSP_mve_setup -G BSP_mve_stop_hw \
+                   -G BSP_mve_swipe_rx -G BSP_mve_swipe_tx \
+                   -G BSP_mve_detach -G BSP_mve_media_ioctl \
+                   -G BSP_mve_get_tid \
+                   -G BSP_mve_dump_stats -G BSP_mve_ack_link_chg \
+                   -G BSP_mve_mcast_filter_clear \
+                   -G BSP_mve_mcast_filter_accept_all \
+                   -G BSP_mve_mcast_filter_accept_add \
+                   -G BSP_mve_mcast_filter_accept_del \
+                   -G mveth_serial_ctrl_config_val \
 	           $^ $@
 
 include_bsp_HEADERS += network/if_gfe/if_gfe_pub.h

diff -u rtems/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c:1.6 rtems/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c:1.7
--- rtems/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c:1.6	Wed Jul 13 13:35:19 2011
+++ rtems/c/src/lib/libbsp/powerpc/beatnik/startup/bspstart.c	Mon Aug 29 16:32:56 2011
@@ -249,7 +249,6 @@
   intrStackStart = (uint32_t)__rtems_end;
   intrStackSize  = rtems_configuration_get_interrupt_stack_size();
 
-
   /*
    * Initialize default raw exception handlers. See vectors/vectors_init.c
    */
@@ -348,7 +347,7 @@
    * they can use atexit()
    */
 
-  bsp_clicks_per_usec            = BSP_bus_frequency/(BSP_time_base_divisor * 1000);
+  bsp_clicks_per_usec = BSP_bus_frequency/(BSP_time_base_divisor * 1000);
 
 #ifdef SHOW_MORE_INIT_SETTINGS
   printk("Configuration.work_space_size = %x\n", Configuration.work_space_size); 


 *joel*:
2011-08-29	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* configure.ac: Formatting. Remove duplication BSP_HAS_SMP.

M  1.279  c/src/lib/libbsp/i386/pc386/ChangeLog
M   1.43  c/src/lib/libbsp/i386/pc386/configure.ac

diff -u rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.278 rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.279
--- rtems/c/src/lib/libbsp/i386/pc386/ChangeLog:1.278	Mon Aug  1 08:41:36 2011
+++ rtems/c/src/lib/libbsp/i386/pc386/ChangeLog	Mon Aug 29 16:36:02 2011
@@ -1,3 +1,7 @@
+2011-08-29	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* configure.ac: Formatting. Remove duplication BSP_HAS_SMP.
+
 2011-08-01	Jennifer Averett <Jennifer.Averett at OARcorp.com>
 
 	PR 1802

diff -u rtems/c/src/lib/libbsp/i386/pc386/configure.ac:1.42 rtems/c/src/lib/libbsp/i386/pc386/configure.ac:1.43
--- rtems/c/src/lib/libbsp/i386/pc386/configure.ac:1.42	Mon Aug  1 08:41:37 2011
+++ rtems/c/src/lib/libbsp/i386/pc386/configure.ac	Mon Aug 29 16:36:02 2011
@@ -80,11 +80,6 @@
   AC_MSG_ERROR([pc386 both TSC and 8254 specified for clock driver])
 fi
 
-RTEMS_BSPOPTS_SET([BSP_HAS_SMP],[*],[1])
-RTEMS_BSPOPTS_HELP([BSP_HAS_SMP],
-[Always defined when on a pc386 to enable the pc386 support for
- determining the CPU core number in an SMP configuration.])
-
 ## The PC386 BSP supports SMP configurations if this is enabled.
 RTEMS_BSPOPTS_SET([BSP_HAS_SMP],[*],[1])
 RTEMS_BSPOPTS_HELP([BSP_HAS_SMP],
@@ -95,11 +90,9 @@
 RTEMS_I386_GAS_CODE16
 AM_CONDITIONAL(RTEMS_GAS_CODE16,[test "$RTEMS_GAS_CODE16" = "yes"])
 
-
 AM_CONDITIONAL(HAS_NETWORKING,[test "$HAS_NETWORKING" = "yes"])
 AM_CONDITIONAL(HAS_SMP,[test "$rtems_cv_HAS_SMP" = "yes"])
 
-
 AC_SUBST([RTEMS_ROOT],[${rtems_updir}'$(top_builddir)'])
 
 RTEMS_CONFIG_BUILD_SUBDIRS(tools)


 *joel*:
2011-08-29	Joel Sherrill <joel.sherrilL at OARcorp.com>

	* bootcard.c: Correct printk() format.

M  1.189  c/src/lib/libbsp/shared/ChangeLog
M   1.51  c/src/lib/libbsp/shared/bootcard.c

diff -u rtems/c/src/lib/libbsp/shared/ChangeLog:1.188 rtems/c/src/lib/libbsp/shared/ChangeLog:1.189
--- rtems/c/src/lib/libbsp/shared/ChangeLog:1.188	Thu Jul 21 10:28:32 2011
+++ rtems/c/src/lib/libbsp/shared/ChangeLog	Mon Aug 29 16:38:08 2011
@@ -1,3 +1,7 @@
+2011-08-29	Joel Sherrill <joel.sherrilL at OARcorp.com>
+
+	* bootcard.c: Correct printk() format.
+
 2011-07-21	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
 	* include/uart-output-char.h, src/uart-output-char.c: Support for

diff -u rtems/c/src/lib/libbsp/shared/bootcard.c:1.50 rtems/c/src/lib/libbsp/shared/bootcard.c:1.51
--- rtems/c/src/lib/libbsp/shared/bootcard.c:1.50	Wed Jul 13 13:35:04 2011
+++ rtems/c/src/lib/libbsp/shared/bootcard.c	Mon Aug 29 16:38:09 2011
@@ -178,9 +178,9 @@
 
   if ( work_area_size <= Configuration.work_space_size ) {
     printk(
-      "bootcard: work space too big for work area: %p > %p\n",
-      (void *) Configuration.work_space_size,
-      (void *) work_area_size
+      "bootcard: work space too big for work area: 0x%08x > 0x%08x\n",
+      Configuration.work_space_size,
+      work_area_size
     );
     bsp_cleanup(1);
     return 1;



--

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/20110829/fe243c2d/attachment.html>


More information about the vc mailing list