This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fix a couple of build problems


This sorts out some dodgy casting which current toolchains find
objectionable.

Bart

Index: picasso/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/xscale/picasso/current/ChangeLog,v
retrieving revision 1.3
diff -u -p -r1.3 ChangeLog
--- picasso/current/ChangeLog	21 Sep 2003 12:27:56 -0000	1.3
+++ picasso/current/ChangeLog	24 Jan 2009 10:52:03 -0000
@@ -1,3 +1,7 @@
+2009-01-24  Bart Veer  <bartv@ecoscentric.com>
+
+	* src/vga_support.c: fix build problem with latest toolchains.
+
 2003-09-21  Gary Thomas  <gary@mlbassoc.com>
 
 	* misc/redboot_RAM.ecm: 
Index: picasso/current/src/vga_support.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/xscale/picasso/current/src/vga_support.c,v
retrieving revision 1.1
diff -u -p -r1.1 vga_support.c
--- picasso/current/src/vga_support.c	22 Aug 2003 15:19:53 -0000	1.1
+++ picasso/current/src/vga_support.c	24 Jan 2009 10:52:19 -0000
@@ -147,7 +147,8 @@ vga_init(cyg_uint32 *addr)
 {
     volatile struct VGA_ctlr *ctlr;
 
-    vga.ctlr = (struct VGA_ctlr *)ctlr = (struct VGA_ctlr *)addr;
+    ctlr = (volatile struct VGA_ctlr *)addr;
+    vga.ctlr = (void*)ctlr;
     vga.fb = ctlr->fb;
     vga.bpp = VGA_DEPTH;
     vga.height = VGA_HEIGHT;
Index: uE250/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/xscale/uE250/current/ChangeLog,v
retrieving revision 1.12
diff -u -p -r1.12 ChangeLog
--- uE250/current/ChangeLog	21 Sep 2003 12:27:56 -0000	1.12
+++ uE250/current/ChangeLog	24 Jan 2009 10:52:35 -0000
@@ -1,3 +1,7 @@
+2009-01-24  Bart Veer  <bartv@ecoscentric.com>
+
+	* src/vga_support.c: fix build problem with latest toolchains.
+
 2003-09-21  Gary Thomas  <gary@mlbassoc.com>
 
 	* misc/redboot_RAM.ecm: 
Index: uE250/current/src/vga_support.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/xscale/uE250/current/src/vga_support.c,v
retrieving revision 1.2
diff -u -p -r1.2 vga_support.c
--- uE250/current/src/vga_support.c	26 Feb 2003 00:42:31 -0000	1.2
+++ uE250/current/src/vga_support.c	24 Jan 2009 10:52:49 -0000
@@ -147,7 +147,8 @@ vga_init(cyg_uint32 *addr)
 {
     volatile struct VGA_ctlr *ctlr;
 
-    vga.ctlr = (struct VGA_ctlr *)ctlr = (struct VGA_ctlr *)addr;
+    ctlr = (volatile struct VGA_ctlr *)addr;
+    vga.ctlr = (void*) ctlr;
     vga.fb = ctlr->fb;
     vga.bpp = VGA_DEPTH;
     vga.height = VGA_HEIGHT;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]