change log for rtems (2010-07-27)

rtems-vc at rtems.org rtems-vc at rtems.org
Tue Jul 27 11:10:53 UTC 2010


 *sh*:
2010-07-27	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* umon/tfsDriver.c: Update for LibIO API changes.

M  1.176  c/src/lib/libbsp/shared/ChangeLog
M    1.9  c/src/lib/libbsp/shared/umon/tfsDriver.c

diff -u rtems/c/src/lib/libbsp/shared/ChangeLog:1.175 rtems/c/src/lib/libbsp/shared/ChangeLog:1.176
--- rtems/c/src/lib/libbsp/shared/ChangeLog:1.175	Wed Jun 30 09:32:36 2010
+++ rtems/c/src/lib/libbsp/shared/ChangeLog	Tue Jul 27 05:18:21 2010
@@ -1,3 +1,7 @@
+2010-07-27	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* umon/tfsDriver.c: Update for LibIO API changes.
+
 2010-06-30	Joel Sherrill <joel.sherrilL at OARcorp.com>
 
 	* umon/tfsDriver.c: Remove extra brace.

diff -u rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c:1.8 rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c:1.9
--- rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c:1.8	Wed Jun 30 09:32:36 2010
+++ rtems/c/src/lib/libbsp/shared/umon/tfsDriver.c	Tue Jul 27 05:18:22 2010
@@ -466,7 +466,7 @@
     tip->tfd = tfd;
     tip->buf = buf;
     strcpy(tip->name,pathcopy);
-    iop->file_info = (void *)tfdidx;
+    iop->data0 = (void *)tfdidx;
     return(0);
   } else {
     printk("%s: %s\n",pathcopy,
@@ -537,7 +537,7 @@
 {
   int  ret, fd;
 
-  fd = (int) iop->file_info;
+  fd = (int) iop->data0;
 
   if (RTEMS_TFS_DEBUG)
     printk("_read_r(%d,%" PRId32 ")\n",fd,count);
@@ -563,7 +563,7 @@
   char *info;
   struct tfdinfo *tip;
 
-  fd = (int)iop->file_info;
+  fd = (int)iop->data0;
 
   if (RTEMS_TFS_DEBUG)
     printk("rtems_tfs_close(%d)\n",fd);
@@ -598,7 +598,7 @@
 {
   int  ret, fd;
 
-  fd = (int) iop->file_info;
+  fd = (int) iop->data0;
 
   if (RTEMS_TFS_DEBUG)
     printk("rtems_tfs_write(%d,%" PRId32" )\n",fd,count);
@@ -622,7 +622,7 @@
 {
   int ret, fd;
 
-  fd = (int) iop->file_info;
+  fd = (int) iop->data0;
 
   if (RTEMS_TFS_DEBUG)
     printk("rtems_tfs_lseek(%d,%ld,%d)\n",fd,(long)offset,whence);
@@ -656,7 +656,7 @@
 {
   int ret, fd;
 
-  fd = (int) iop->file_info;
+  fd = (int) iop->data0;
   ret = mon_tfstruncate(tfdtable[fd].tfd,count);
   if (ret != TFS_OKAY)
     return(-1);
@@ -672,7 +672,7 @@
 {
   int  fd, ret;
 
-  fd = (int) iop->file_info;
+  fd = (int) iop->data0;
   ret = mon_tfsctrl(cmd,(long)buf,0);
   return(-1);
 }


 *sh*:
2010-07-27	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* rtems/asm.h: Fixed header guard.
	* rtems/score/cpu.h: Assembler compatibility fixes.

M   1.50  cpukit/score/cpu/avr/ChangeLog
M    1.9  cpukit/score/cpu/avr/rtems/asm.h
M   1.28  cpukit/score/cpu/avr/rtems/score/cpu.h

diff -u rtems/cpukit/score/cpu/avr/ChangeLog:1.49 rtems/cpukit/score/cpu/avr/ChangeLog:1.50
--- rtems/cpukit/score/cpu/avr/ChangeLog:1.49	Fri Jul 16 03:36:36 2010
+++ rtems/cpukit/score/cpu/avr/ChangeLog	Tue Jul 27 05:51:12 2010
@@ -1,3 +1,8 @@
+2010-07-27	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* rtems/asm.h: Fixed header guard.
+	* rtems/score/cpu.h: Assembler compatibility fixes.
+
 2010-07-16	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
 	* rtems/score/cpu.h: Include <rtems/score/types.h> first.

diff -u rtems/cpukit/score/cpu/avr/rtems/asm.h:1.8 rtems/cpukit/score/cpu/avr/rtems/asm.h:1.9
--- rtems/cpukit/score/cpu/avr/rtems/asm.h:1.8	Mon May 10 11:31:24 2010
+++ rtems/cpukit/score/cpu/avr/rtems/asm.h	Tue Jul 27 05:51:12 2010
@@ -95,15 +95,6 @@
 #define PUBLIC(sym) .globl SYM (sym)
 #define EXTERN(sym) .globl SYM (sym)
 
-
-
-
-
-
-
-#endif
-
-
 /* Copyright (c) 2002, 2005, 2006, 2007 Marek Michalkiewicz
    Copyright (c) 2006 Dmitry Xmelkov
    All rights reserved.
@@ -469,4 +460,4 @@
 #endif
 	.endm
 
-
+#endif /* _RTEMS_ASM_H */

diff -u rtems/cpukit/score/cpu/avr/rtems/score/cpu.h:1.27 rtems/cpukit/score/cpu/avr/rtems/score/cpu.h:1.28
--- rtems/cpukit/score/cpu/avr/rtems/score/cpu.h:1.27	Fri Jul 16 03:36:36 2010
+++ rtems/cpukit/score/cpu/avr/rtems/score/cpu.h	Tue Jul 27 05:51:12 2010
@@ -382,6 +382,8 @@
 
 /* may need to put some structures here.  */
 
+#ifndef ASM
+
 /*
  * Contexts
  *
@@ -453,6 +455,8 @@
 
 SCORE_EXTERN Context_Control_fp  _CPU_Null_fp_context;
 
+#endif /* ASM */
+
 /*
  *  Nothing prevents the porter from declaring more CPU specific variables.
  *
@@ -678,6 +682,8 @@
   { \
   }
 
+#ifndef ASM
+
 uint32_t   _CPU_ISR_Get_level( void );
 
 /* end of ISR handler macros */
@@ -1147,6 +1153,8 @@
 #define CPU_swap_u16( value ) \
   (((value&0xff) << 8) | ((value >> 8)&0xff))
 
+#endif /* ASM */
+
 #ifdef __cplusplus
 }
 #endif


 *sh*:
2010-07-27	Sebastian Huber <sebastian.huber at embedded-brains.de>

	* rtems/score/cpu.h: Assembler compatibility fixes.

M   1.39  cpukit/score/cpu/bfin/ChangeLog
M   1.22  cpukit/score/cpu/bfin/rtems/score/cpu.h
M   1.97  cpukit/score/cpu/h8300/ChangeLog
M   1.42  cpukit/score/cpu/h8300/rtems/score/cpu.h

diff -u rtems/cpukit/score/cpu/bfin/ChangeLog:1.38 rtems/cpukit/score/cpu/bfin/ChangeLog:1.39
--- rtems/cpukit/score/cpu/bfin/ChangeLog:1.38	Fri Jul 16 03:37:09 2010
+++ rtems/cpukit/score/cpu/bfin/ChangeLog	Tue Jul 27 05:57:31 2010
@@ -1,3 +1,7 @@
+2010-07-27	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* rtems/score/cpu.h: Assembler compatibility fixes.
+
 2010-07-16	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
 	* rtems/score/cpu.h: Include <rtems/score/types.h> first.

diff -u rtems/cpukit/score/cpu/bfin/rtems/score/cpu.h:1.21 rtems/cpukit/score/cpu/bfin/rtems/score/cpu.h:1.22
--- rtems/cpukit/score/cpu/bfin/rtems/score/cpu.h:1.21	Fri Jul 16 03:37:10 2010
+++ rtems/cpukit/score/cpu/bfin/rtems/score/cpu.h	Tue Jul 27 05:57:31 2010
@@ -458,6 +458,8 @@
  *  XXX document implementation including references if appropriate
  */
 
+#ifndef ASM
+
 /**
  *  @ingroup CPUContext Management
  *  This defines the minimal set of integer and processor state registers
@@ -565,6 +567,8 @@
  */
 #define CPU_CONTEXT_FP_SIZE sizeof( Context_Control_fp )
 
+#endif /* ASM */
+
 /**
  *  Amount of extra stack (above minimum stack size) required by
  *  MPCI receive server thread.  Remember that in a multiprocessor
@@ -766,6 +770,7 @@
     __asm__ __volatile__ ( "sti %0; csync" : : "d"(_new_level ? 0 : 0xffff) ); \
   }
 
+#ifndef ASM
 
 /**
  *  @ingroup CPUInterrupt
@@ -1250,6 +1255,8 @@
 #define CPU_swap_u16( value ) \
   (((value&0xff) << 8) | ((value >> 8)&0xff))
 
+#endif /* ASM */
+
 #ifdef __cplusplus
 }
 #endif

diff -u rtems/cpukit/score/cpu/h8300/ChangeLog:1.96 rtems/cpukit/score/cpu/h8300/ChangeLog:1.97
--- rtems/cpukit/score/cpu/h8300/ChangeLog:1.96	Fri Jul 16 03:37:53 2010
+++ rtems/cpukit/score/cpu/h8300/ChangeLog	Tue Jul 27 06:03:38 2010
@@ -1,3 +1,7 @@
+2010-07-27	Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+	* rtems/score/cpu.h: Assembler compatibility fixes.
+
 2010-07-16	Sebastian Huber <sebastian.huber at embedded-brains.de>
 
 	* rtems/score/cpu.h: Include <rtems/score/types.h> first.

diff -u rtems/cpukit/score/cpu/h8300/rtems/score/cpu.h:1.41 rtems/cpukit/score/cpu/h8300/rtems/score/cpu.h:1.42
--- rtems/cpukit/score/cpu/h8300/rtems/score/cpu.h:1.41	Fri Jul 16 03:37:53 2010
+++ rtems/cpukit/score/cpu/h8300/rtems/score/cpu.h	Tue Jul 27 06:03:38 2010
@@ -25,8 +25,9 @@
 
 #include <rtems/score/types.h>
 #include <rtems/score/h8300.h>
-
-#include <rtems/bspIo.h>	/* printk */
+#ifndef ASM
+  #include <rtems/bspIo.h>
+#endif
 
 /* conditional compilation parameters */
 
@@ -388,7 +389,7 @@
  *  XXX
  */
 
-
+#ifndef ASM
 
 #define nogap __attribute__ ((packed))
 
@@ -452,6 +453,8 @@
 
 #define CPU_CONTEXT_FP_SIZE sizeof( Context_Control_fp )
 
+#endif /* ASM */
+
 /*
  *  Amount of extra stack (above minimum stack size) required by
  *  system initialization thread.  Remember that in a multiprocessor
@@ -701,6 +704,8 @@
     else              asm volatile ( "andc #0x7f,ccr\n" ); \
   }
 
+#ifndef ASM
+
 uint32_t   _CPU_ISR_Get_level( void );
 
 /* end of ISR handler macros */
@@ -1132,6 +1137,8 @@
   proc_ptr	new_handler,
   proc_ptr	*old_handler );
 
+#endif /* ASM */
+
 #ifdef __cplusplus
 }
 #endif



--

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/20100727/a630231a/attachment-0001.html>


More information about the vc mailing list