From: <ped...@us...> - 2006-08-23 14:48:27
|
Revision: 330 Author: pedroalves Date: 2006-08-23 07:48:13 -0700 (Wed, 23 Aug 2006) ViewCVS: http://svn.sourceforge.net/cegcc/?rev=330&view=rev Log Message: ----------- Fix types mismatch warnings. Modified Paths: -------------- trunk/cegcc/src/newlib/newlib/libc/sys/wince/fifo.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/sys/fifo.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-08-24 09:28:11
|
Revision: 350 Author: pedroalves Date: 2006-08-24 02:27:51 -0700 (Thu, 24 Aug 2006) ViewCVS: http://svn.sourceforge.net/cegcc/?rev=350&view=rev Log Message: ----------- Match some of the constants that define stuff not present on CE with the desktop versions. Modified Paths: -------------- trunk/cegcc/src/newlib/newlib/libc/sys/wince/ceprocess.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/ceshared2.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/cethread.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/msnet.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/shared.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/sys/wcefile.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-08-25 18:59:33
|
Revision: 383 Author: dannybackx Date: 2006-08-25 11:59:20 -0700 (Fri, 25 Aug 2006) ViewCVS: http://svn.sourceforge.net/cegcc/?rev=383&view=rev Log Message: ----------- This merges from branches/linux-build some macro definitions that are required to get newlib to compile. Modified Paths: -------------- trunk/cegcc/src/newlib/newlib/libc/sys/wince/ceshared2.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/getreent.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/io.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/mqueue.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/startup.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/trace.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-08-26 05:12:36
|
Revision: 403 Author: dannybackx Date: 2006-08-25 22:12:27 -0700 (Fri, 25 Aug 2006) ViewCVS: http://svn.sourceforge.net/cegcc/?rev=403&view=rev Log Message: ----------- Rolling back yesterday's change to these, Pedro's changes should cover this. Modified Paths: -------------- trunk/cegcc/src/newlib/newlib/libc/sys/wince/ceshared2.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/getreent.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/io.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/mqueue.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/startup.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/trace.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-08-30 10:45:45
|
Revision: 491 Author: pedroalves Date: 2006-08-30 03:45:33 -0700 (Wed, 30 Aug 2006) ViewCVS: http://svn.sourceforge.net/cegcc/?rev=491&view=rev Log Message: ----------- __EH_FRAME_BEGIN__ no longer needed. Remove. Modified Paths: -------------- trunk/cegcc/src/newlib/newlib/libc/sys/wince/crt0.S trunk/cegcc/src/newlib/newlib/libc/sys/wince/dllcrt1.S This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-09-06 21:40:02
|
Revision: 571 http://svn.sourceforge.net/cegcc/?rev=571&view=rev Author: pedroalves Date: 2006-09-06 14:39:34 -0700 (Wed, 06 Sep 2006) Log Message: ----------- Enable cegcc.dll to be used from non cegcc apps. Modified Paths: -------------- trunk/cegcc/src/newlib/newlib/libc/sys/wince/dllmaincrtstartup.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/env.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/startup.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2007-01-13 17:03:39
|
Revision: 866 http://svn.sourceforge.net/cegcc/?rev=866&view=rev Author: dannybackx Date: 2007-01-13 09:03:35 -0800 (Sat, 13 Jan 2007) Log Message: ----------- Replace printf calls by the tracing macros. Makes the code more uniform and tunable by setting a single variable. Modified Paths: -------------- trunk/cegcc/src/newlib/newlib/libc/sys/wince/glob.c trunk/cegcc/src/newlib/newlib/libc/sys/wince/malloc.c Modified: trunk/cegcc/src/newlib/newlib/libc/sys/wince/glob.c =================================================================== --- trunk/cegcc/src/newlib/newlib/libc/sys/wince/glob.c 2007-01-13 17:02:09 UTC (rev 865) +++ trunk/cegcc/src/newlib/newlib/libc/sys/wince/glob.c 2007-01-13 17:03:35 UTC (rev 866) @@ -904,15 +904,15 @@ { Char *p; - (void)printf("%s:\n", str); + WCETRACE(WCE_IO, "%s:\n", str); for (p = s; *p; p++) - (void)printf("%c", CHAR(*p)); - (void)printf("\n"); + WCETRACE(WCE_IO, "%c", CHAR(*p)); + WCETRACE(WCE_IO, "\n"); for (p = s; *p; p++) - (void)printf("%c", *p & M_PROTECT ? '"' : ' '); - (void)printf("\n"); + WCETRACE(WCE_IO, "%c", *p & M_PROTECT ? '"' : ' '); + WCETRACE(WCE_IO, "\n"); for (p = s; *p; p++) - (void)printf("%c", ismeta(*p) ? '_' : ' '); - (void)printf("\n"); + WCETRACE(WCE_IO, "%c", ismeta(*p) ? '_' : ' '); + WCETRACE(WCE_IO, "\n"); } #endif Modified: trunk/cegcc/src/newlib/newlib/libc/sys/wince/malloc.c =================================================================== --- trunk/cegcc/src/newlib/newlib/libc/sys/wince/malloc.c 2007-01-13 17:02:09 UTC (rev 865) +++ trunk/cegcc/src/newlib/newlib/libc/sys/wince/malloc.c 2007-01-13 17:03:35 UTC (rev 866) @@ -5046,7 +5046,7 @@ static region_list_entry *g_last; void *result = (void *) MORECORE_FAILURE; #ifdef TRACE - printf ("sbrk %d\n", size); + WCETRACE(WCE_MEM, "sbrk %d\n", size); #endif #if defined (USE_MALLOC_LOCK) && defined (NEEDED) /* Wait for spin lock */ @@ -5103,7 +5103,7 @@ /* Assert postconditions */ assert ((unsigned) base_committed % g_pagesize == 0); #ifdef TRACE - printf ("Commit %p %d\n", base_committed, remaining_commit_size); + WCETRACE(WCE_MEM, "Commit %p %d\n", base_committed, remaining_commit_size); #endif /* Adjust the regions commit top */ g_last->top_committed = (char *) base_committed + remaining_commit_size; @@ -5129,7 +5129,7 @@ /* Assert postconditions */ assert ((unsigned) memory_info.BaseAddress % g_pagesize == 0); #ifdef TRACE - printf ("Query %p %d %s\n", memory_info.BaseAddress, memory_info.RegionSize, + WCETRACE(WCE_MEM, "Query %p %d %s\n", memory_info.BaseAddress, memory_info.RegionSize, memory_info.State == MEM_FREE ? "FREE": (memory_info.State == MEM_RESERVE ? "RESERVED": (memory_info.State == MEM_COMMIT ? "COMMITTED": "?"))); @@ -5173,7 +5173,7 @@ /* Assert postconditions */ assert ((unsigned) base_reserved % g_regionsize == 0); #ifdef TRACE - printf ("Reserve %p %d\n", base_reserved, reserve_size); + WCETRACE(WCE_MEM, "Reserve %p %d\n", base_reserved, reserve_size); #endif /* Did we get contiguous memory? */ if (contiguous) { @@ -5211,7 +5211,7 @@ /* Assert postconditions */ assert ((unsigned) base_committed % g_pagesize == 0); #ifdef TRACE - printf ("Commit %p %d\n", base_committed, commit_size); + WCETRACE(WCE_MEM, "Commit %p %d\n", base_committed, commit_size); #endif /* Adjust the regions commit top */ g_last->top_committed = (char *) base_committed + commit_size; @@ -5239,7 +5239,7 @@ if (! rc) goto sbrk_exit; #ifdef TRACE - printf ("Release %p %d\n", base_reserved, release_size); + WCETRACE(WCE_MEM, "Release %p %d\n", base_reserved, release_size); #endif } /* Adjust deallocation size */ @@ -5265,7 +5265,7 @@ if (! rc) goto sbrk_exit; #ifdef TRACE - printf ("Decommit %p %d\n", base_committed, decommit_size); + WCETRACE(WCE_MEM, "Decommit %p %d\n", base_committed, decommit_size); #endif } /* Adjust deallocation size and regions commit and allocate top */ @@ -5308,7 +5308,7 @@ static long g_pagesize; static long g_regionsize; #ifdef TRACE - printf ("mmap %d\n", size); + WCETRACE(WCE_MEM, "mmap %d\n", size); #endif #if defined (USE_MALLOC_LOCK) && defined (NEEDED) /* Wait for spin lock */ @@ -5340,7 +5340,7 @@ /* Assert postconditions */ assert ((unsigned) ptr % g_regionsize == 0); #ifdef TRACE - printf ("Commit %p %d\n", ptr, size); + WCETRACE(WCE_MEM, "Commit %p %d\n", ptr, size); #endif mmap_exit: #if defined (USE_MALLOC_LOCK) && defined (NEEDED) @@ -5356,7 +5356,7 @@ static long g_regionsize; int rc = MUNMAP_FAILURE; #ifdef TRACE - printf ("munmap %p %d\n", ptr, size); + WCETRACE(WCE_MEM, "munmap %p %d\n", ptr, size); #endif #if defined (USE_MALLOC_LOCK) && defined (NEEDED) /* Wait for spin lock */ @@ -5376,7 +5376,7 @@ goto munmap_exit; rc = 0; #ifdef TRACE - printf ("Release %p %d\n", ptr, size); + WCETRACE(WCE_MEM, "Release %p %d\n", ptr, size); #endif munmap_exit: #if defined (USE_MALLOC_LOCK) && defined (NEEDED) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |