You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(35) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(37) |
Feb
(10) |
Mar
|
Apr
(2) |
May
(17) |
Jun
(1) |
Jul
(14) |
Aug
(14) |
Sep
(4) |
Oct
|
Nov
(14) |
Dec
(4) |
2005 |
Jan
(6) |
Feb
|
Mar
|
Apr
(6) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
(92) |
Dec
(12) |
2006 |
Jan
(3) |
Feb
(4) |
Mar
|
Apr
(5) |
May
(3) |
Jun
(15) |
Jul
(3) |
Aug
(1) |
Sep
(29) |
Oct
(1) |
Nov
(6) |
Dec
(5) |
2007 |
Jan
(2) |
Feb
(2) |
Mar
|
Apr
(3) |
May
(14) |
Jun
(2) |
Jul
(16) |
Aug
(73) |
Sep
(12) |
Oct
(9) |
Nov
(27) |
Dec
(3) |
2008 |
Jan
(4) |
Feb
(4) |
Mar
(3) |
Apr
(8) |
May
(23) |
Jun
(4) |
Jul
(1) |
Aug
(3) |
Sep
(7) |
Oct
(5) |
Nov
(1) |
Dec
(1) |
2009 |
Jan
|
Feb
(10) |
Mar
|
Apr
(4) |
May
(4) |
Jun
(10) |
Jul
|
Aug
(1) |
Sep
|
Oct
(7) |
Nov
|
Dec
(1) |
2010 |
Jan
|
Feb
(1) |
Mar
|
Apr
(6) |
May
|
Jun
(3) |
Jul
(11) |
Aug
(1) |
Sep
|
Oct
(15) |
Nov
(1) |
Dec
(5) |
2011 |
Jan
(4) |
Feb
(1) |
Mar
(6) |
Apr
|
May
(22) |
Jun
|
Jul
(8) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
(2) |
2012 |
Jan
|
Feb
(10) |
Mar
(1) |
Apr
(6) |
May
(27) |
Jun
(48) |
Jul
(30) |
Aug
(4) |
Sep
|
Oct
(3) |
Nov
(1) |
Dec
(11) |
2013 |
Jan
(4) |
Feb
(7) |
Mar
(6) |
Apr
(18) |
May
(28) |
Jun
(20) |
Jul
|
Aug
(4) |
Sep
(1) |
Oct
(1) |
Nov
(2) |
Dec
(7) |
2014 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(9) |
May
(11) |
Jun
(10) |
Jul
|
Aug
(18) |
Sep
(12) |
Oct
(17) |
Nov
(10) |
Dec
(16) |
2015 |
Jan
(5) |
Feb
(1) |
Mar
(5) |
Apr
(4) |
May
(28) |
Jun
(2) |
Jul
|
Aug
|
Sep
(6) |
Oct
|
Nov
(2) |
Dec
(1) |
2016 |
Jan
(14) |
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
(3) |
Jul
(4) |
Aug
(4) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
(1) |
2017 |
Jan
(11) |
Feb
|
Mar
(21) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
(4) |
Oct
(4) |
Nov
|
Dec
(1) |
2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(13) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
2020 |
Jan
(10) |
Feb
(9) |
Mar
(5) |
Apr
(4) |
May
(3) |
Jun
(18) |
Jul
(4) |
Aug
(2) |
Sep
(20) |
Oct
(2) |
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
(2) |
2022 |
Jan
(1) |
Feb
(2) |
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
|
Oct
(1) |
Nov
|
Dec
(1) |
2023 |
Jan
(10) |
Feb
(7) |
Mar
(29) |
Apr
(31) |
May
(29) |
Jun
(34) |
Jul
(3) |
Aug
(24) |
Sep
(22) |
Oct
(10) |
Nov
(38) |
Dec
(27) |
2024 |
Jan
(15) |
Feb
(8) |
Mar
(4) |
Apr
(20) |
May
(33) |
Jun
(18) |
Jul
(15) |
Aug
(23) |
Sep
(26) |
Oct
(32) |
Nov
(6) |
Dec
(4) |
2025 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
(4) |
May
(46) |
Jun
(19) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Harley L. <los...@us...> - 2012-07-17 21:01:21
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via 99ce980b8bb344411c4c36b07c5603ae29196056 (commit) from ce0e54e8fe042592329fb173fdac5062688caada (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 99ce980b8bb344411c4c36b07c5603ae29196056 Author: Harley Laue <los...@gm...> Date: Tue Jul 17 15:59:01 2012 -0500 Updated gitignore to ignore some more things in examples ----------------------------------------------------------------------- Summary of changes: .gitignore | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) hooks/post-receive -- A pseudo Operating System for the Dreamcast. |
From: Lawrence S. <ljs...@us...> - 2012-07-17 20:09:25
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via ce0e54e8fe042592329fb173fdac5062688caada (commit) from 5056e89c675b04f515d999650fdd6e90bb0a1dbd (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit ce0e54e8fe042592329fb173fdac5062688caada Author: Lawrence Sebald <ljs...@us...> Date: Tue Jul 17 16:08:33 2012 -0400 Fix a mistake in the documentation for SPU DMA. ----------------------------------------------------------------------- Summary of changes: kernel/arch/dreamcast/include/dc/spu.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- A pseudo Operating System for the Dreamcast. |
From: Donald H. <qu...@us...> - 2012-07-08 19:58:09
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via 5056e89c675b04f515d999650fdd6e90bb0a1dbd (commit) via 36b6d9ea1d1cb39da08c0cddb0372d75016b4017 (commit) from caca67aa805a9bd4a7556339161ccec4ee5b70df (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 5056e89c675b04f515d999650fdd6e90bb0a1dbd Merge: 36b6d9e caca67a Author: Donald Haase <qu...@ca...> Date: Sun Jul 8 15:57:27 2012 -0400 Merge branch 'master' of ssh://cadcdev.git.sourceforge.net/gitroot/cadcdev/KallistiOS commit 36b6d9ea1d1cb39da08c0cddb0372d75016b4017 Author: Donald Haase <qu...@ca...> Date: Sun Jul 8 15:54:01 2012 -0400 Modified dc-chain make to allow kos to be in root folder other than 'kos' ----------------------------------------------------------------------- Summary of changes: utils/dc-chain/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- A pseudo Operating System for the Dreamcast. |
From: Harley L. <los...@us...> - 2012-07-06 16:22:36
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via caca67aa805a9bd4a7556339161ccec4ee5b70df (commit) from ba64c8d729dec44683d8022ec36f3104387bcf23 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit caca67aa805a9bd4a7556339161ccec4ee5b70df Author: Harley Laue <los...@gm...> Date: Fri Jul 6 11:20:29 2012 -0500 Attempt to fix a possible parallel build issue ----------------------------------------------------------------------- Summary of changes: utils/dc-chain/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- A pseudo Operating System for the Dreamcast. |
From: <los...@us...> - 2012-07-06 16:17:01
|
Revision: 826 http://cadcdev.svn.sourceforge.net/cadcdev/?rev=826&view=rev Author: lostgeneration Date: 2012-07-06 16:16:55 +0000 (Fri, 06 Jul 2012) Log Message: ----------- Ooops, fixup the README for kos-ports :/ Modified Paths: -------------- kos-ports/README Modified: kos-ports/README =================================================================== --- kos-ports/README 2012-07-06 16:15:22 UTC (rev 825) +++ kos-ports/README 2012-07-06 16:16:55 UTC (rev 826) @@ -1,9 +1,6 @@ -KOS Ports are no longer hosted in this Subversion repository. As of July 06, 2012 KOS -Ports are in Git repositories hosted on Sourceforge. +KOS Ports are no longer hosted in this Subversion repository. +As of July 06, 2012 KOS Ports are in Git repositories hosted on Sourceforge. -You can grab the Git repository by the following command (assuming you have Git -5 installed in your $PATH): -6 git clone git://cadcdev.git.sourceforge.net/gitroot/cadcdev/KallistiOS -7 -8 As of now, kos-ports is still hosted in Subversion, but that will change -9 sometime in the (hopefully) near future. +You can grab the Git repositories by the following command (assuming you have Git +installed in your $PATH): +git clone --recursive git://cadcdev.git.sourceforge.net/gitroot/cadcdev/kos-ports This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <los...@us...> - 2012-07-06 16:15:28
|
Revision: 825 http://cadcdev.svn.sourceforge.net/cadcdev/?rev=825&view=rev Author: lostgeneration Date: 2012-07-06 16:15:22 +0000 (Fri, 06 Jul 2012) Log Message: ----------- Update kos README Modified Paths: -------------- kos/README Modified: kos/README =================================================================== --- kos/README 2012-07-06 16:14:08 UTC (rev 824) +++ kos/README 2012-07-06 16:15:22 UTC (rev 825) @@ -3,7 +3,4 @@ You can grab the Git repository by the following command (assuming you have Git installed in your $PATH): -git clone git://cadcdev.git.sourceforge.net/gitroot/cadcdev/KallistiOS - -As of now, kos-ports is still hosted in Subversion, but that will change -sometime in the (hopefully) near future. +git clone git://cadcdev.git.sourceforge.net/gitroot/cadcdev/KallistiOS kos This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <los...@us...> - 2012-07-06 16:14:14
|
Revision: 824 http://cadcdev.svn.sourceforge.net/cadcdev/?rev=824&view=rev Author: lostgeneration Date: 2012-07-06 16:14:08 +0000 (Fri, 06 Jul 2012) Log Message: ----------- Clean out the KOS Ports SVN repo. Added Paths: ----------- kos-ports/README Removed Paths: ------------- kos-ports/Makefile kos-ports/SDL/ kos-ports/include/ kos-ports/libbz2/ kos-ports/libconio/ kos-ports/libdcplib/ kos-ports/libgl/ kos-ports/libimageload/ kos-ports/libjpeg/ kos-ports/libkmg/ kos-ports/libkosh/ kos-ports/libmodplug/ kos-ports/libmp3/ kos-ports/liboggvorbis/ kos-ports/libparallax/ kos-ports/libpcx/ kos-ports/libpng/ kos-ports/libs3m/ kos-ports/libtga/ kos-ports/libtremor/ kos-ports/libtsunami/ kos-ports/lua/ kos-ports/lwip/ kos-ports/zlib/ Deleted: kos-ports/Makefile =================================================================== --- kos-ports/Makefile 2012-06-28 21:52:52 UTC (rev 823) +++ kos-ports/Makefile 2012-07-06 16:14:08 UTC (rev 824) @@ -1,15 +0,0 @@ -SUBDIRS := libbz2 libconio libdcplib libgl libimageload libjpeg libkmg libkosh \ - libmodplug libmp3 liboggvorbis libparallax libpcx libpng libs3m libtga \ - libtremor libtsunami lua lwip zlib SDL - - -all: $(patsubst %, _dir_%, $(SUBDIRS)) - -$(patsubst %, _dir_%, $(SUBDIRS)): - $(MAKE) -C $(patsubst _dir_%, %, $@) - -clean: $(patsubst %, _clean_dir_%, $(SUBDIRS)) - -$(patsubst %, _clean_dir_%, $(SUBDIRS)): - $(MAKE) -C $(patsubst _clean_dir_%, %, $@) clean - Added: kos-ports/README =================================================================== --- kos-ports/README (rev 0) +++ kos-ports/README 2012-07-06 16:14:08 UTC (rev 824) @@ -0,0 +1,9 @@ +KOS Ports are no longer hosted in this Subversion repository. As of July 06, 2012 KOS +Ports are in Git repositories hosted on Sourceforge. + +You can grab the Git repository by the following command (assuming you have Git +5 installed in your $PATH): +6 git clone git://cadcdev.git.sourceforge.net/gitroot/cadcdev/KallistiOS +7 +8 As of now, kos-ports is still hosted in Subversion, but that will change +9 sometime in the (hopefully) near future. Property changes on: kos-ports/README ___________________________________________________________________ Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Lawrence S. <ljs...@us...> - 2012-06-30 23:24:57
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via ba64c8d729dec44683d8022ec36f3104387bcf23 (commit) from 613cb4f8b70b11327b3326a9cce505b731ba8613 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit ba64c8d729dec44683d8022ec36f3104387bcf23 Author: Lawrence Sebald <ljs...@us...> Date: Sat Jun 30 19:24:33 2012 -0400 Remove pointless comment that I missed... ----------------------------------------------------------------------- Summary of changes: include/sys/select.h | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) hooks/post-receive -- A pseudo Operating System for the Dreamcast. |
From: Lawrence S. <ljs...@us...> - 2012-06-30 23:21:34
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via 613cb4f8b70b11327b3326a9cce505b731ba8613 (commit) from b2d9dab8db2e039f14a811922f55015c1864df26 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 613cb4f8b70b11327b3326a9cce505b731ba8613 Author: Lawrence Sebald <ljs...@us...> Date: Sat Jun 30 19:20:10 2012 -0400 Instead of defining struct timeval ourselves in <sys/select.h>, just include <sys/time.h>, which defines it (and is allowed by the SUS). Thanks to Ayla in #dreamcastdev for pointing this out. ----------------------------------------------------------------------- Summary of changes: include/sys/select.h | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-) hooks/post-receive -- A pseudo Operating System for the Dreamcast. |
From: <los...@us...> - 2012-06-28 21:52:58
|
Revision: 823 http://cadcdev.svn.sourceforge.net/cadcdev/?rev=823&view=rev Author: lostgeneration Date: 2012-06-28 21:52:52 +0000 (Thu, 28 Jun 2012) Log Message: ----------- Removed getcwd from libkosh * getcwd is a standard function and is in kos/kernel/libc/koslib/getcwd.c pointed out by Ayla in IRC Modified Paths: -------------- kos-ports/libkosh/chdir.c kos-ports/libkosh/chdir.h Modified: kos-ports/libkosh/chdir.c =================================================================== --- kos-ports/libkosh/chdir.c 2012-06-15 01:35:30 UTC (rev 822) +++ kos-ports/libkosh/chdir.c 2012-06-28 21:52:52 UTC (rev 823) @@ -72,9 +72,3 @@ return 0; } -/* get the current directory */ -char *getcwd(char *buf, size_t size) { - strncpy(buf, cwd, size); - return buf; -} - Modified: kos-ports/libkosh/chdir.h =================================================================== --- kos-ports/libkosh/chdir.h 2012-06-15 01:35:30 UTC (rev 822) +++ kos-ports/libkosh/chdir.h 2012-06-28 21:52:52 UTC (rev 823) @@ -10,6 +10,5 @@ int makeabspath(char *buff, char *path, size_t size); int kosh_chdir(char *dir); -char *getcwd(char *buf, size_t size); #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Harley L. <los...@us...> - 2012-06-28 18:49:20
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A serial program loader for the Dreamcast.". The branch, master has been updated via 396e5758df8ce80003cb7059e8064be1b3bc3b0a (commit) via 89b6963fe019ba0e84e5455b4fbe1a690041b9e1 (commit) from e09f6432abb8f4970554cb018fdadc0f4db23894 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 396e5758df8ce80003cb7059e8064be1b3bc3b0a Author: Paul Cercueil <pa...@cr...> Date: Thu Jun 28 17:51:10 2012 +0200 Make upload() (libelf version) return the entry point. It was returning the address where the data was loaded, which may not correspond to the entry point address on some executables (e.g. Linux). Signed-off-by: Harley Laue <los...@us...> commit 89b6963fe019ba0e84e5455b4fbe1a690041b9e1 Author: Paul Cercueil <pa...@cr...> Date: Thu Jun 28 17:51:10 2012 +0200 Enable 1.5 Mbps and 500 Kbps modes. Signed-off-by: Harley Laue <los...@us...> ----------------------------------------------------------------------- Summary of changes: host-src/tool/Makefile | 2 +- host-src/tool/dc-tool.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) hooks/post-receive -- A serial program loader for the Dreamcast. |
From: Harley L. <los...@us...> - 2012-06-28 18:44:26
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "An ethernet program loader for the Dreamcast.". The branch, master has been updated via 8d0b92ff0724006bdd2e2abf09942f6572a7ba8a (commit) from 662b9c3d267f68b95e4e1fc03d4b55033e3333a4 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 8d0b92ff0724006bdd2e2abf09942f6572a7ba8a Author: Paul Cercueil <pa...@cr...> Date: Thu Jun 28 18:04:02 2012 +0200 dc-tool: make upload() (libelf version) return the entry point. It was returning the address where the data was loaded, which may not correspond to the entry point address on some executables (e.g. Linux). Signed-off-by: Harley Laue <los...@us...> ----------------------------------------------------------------------- Summary of changes: host-src/tool/dc-tool.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) hooks/post-receive -- An ethernet program loader for the Dreamcast. |
From: Lawrence S. <ljs...@us...> - 2012-06-16 01:05:47
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via b2d9dab8db2e039f14a811922f55015c1864df26 (commit) via 7c93eae5c89c8f98f8b94849f409d61b10801182 (commit) via 74f45557ae8114b56c7e0e24181db08d0b23e2ea (commit) from 5dc98dafe679bf72e8d8594ddcd5087d737ec845 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit b2d9dab8db2e039f14a811922f55015c1864df26 Author: Lawrence Sebald <ljs...@us...> Date: Fri Jun 15 20:59:32 2012 -0400 Make it so some of the util programs compile properly and add clean targets to some Makefiles. commit 7c93eae5c89c8f98f8b94849f409d61b10801182 Author: Lawrence Sebald <ljs...@us...> Date: Fri Jun 15 20:57:38 2012 -0400 Copy the kmg.h file into kmgenc and vqenc so that they can compile without needing kos-ports around. commit 74f45557ae8114b56c7e0e24181db08d0b23e2ea Author: Lawrence Sebald <ljs...@us...> Date: Fri Jun 15 20:56:22 2012 -0400 Add a few more things to the .gitignore file. ----------------------------------------------------------------------- Summary of changes: .gitignore | 7 ++++ utils/bin2c/Makefile | 3 ++ utils/bincnv/Makefile | 2 + utils/bincnv/bincnv.c | 2 +- utils/gentexfont/TexFont.h | 4 ++ utils/isotest/Makefile | 3 ++ utils/isotest/isotest.c | 4 +- utils/kmgenc/kmg.h | 77 ++++++++++++++++++++++++++++++++++++++++++++ utils/kmgenc/kmgenc.h | 2 +- utils/rdtest/Makefile | 3 ++ utils/rdtest/rdtest.c | 5 +-- utils/vqenc/kmg.h | 77 ++++++++++++++++++++++++++++++++++++++++++++ utils/vqenc/vqenc.c | 3 +- 13 files changed, 183 insertions(+), 9 deletions(-) create mode 100644 utils/kmgenc/kmg.h create mode 100644 utils/vqenc/kmg.h hooks/post-receive -- A pseudo Operating System for the Dreamcast. |
From: Harley L. <los...@us...> - 2012-06-15 19:13:30
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via 5dc98dafe679bf72e8d8594ddcd5087d737ec845 (commit) from 632f54806b95bea39c3f9e6799909550707296a4 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 5dc98dafe679bf72e8d8594ddcd5087d737ec845 Author: Harley Laue <los...@us...> Date: Fri Jun 15 14:12:42 2012 -0500 Added a gitignore * Hope I wasn't too agressive with the ignores. ----------------------------------------------------------------------- Summary of changes: .gitignore | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) create mode 100644 .gitignore hooks/post-receive -- A pseudo Operating System for the Dreamcast. |
From: Harley L. <los...@us...> - 2012-06-15 19:04:14
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via 632f54806b95bea39c3f9e6799909550707296a4 (commit) from 2a61190bd0ded06fd608452deaa3e485bb7fc854 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 632f54806b95bea39c3f9e6799909550707296a4 Author: Harley Laue <los...@us...> Date: Fri Jun 15 14:03:50 2012 -0500 Add in required stubs directory ----------------------------------------------------------------------- Summary of changes: {addons/lib => kernel/stubs}/.keepme | 0 1 files changed, 0 insertions(+), 0 deletions(-) copy {addons/lib => kernel/stubs}/.keepme (100%) hooks/post-receive -- A pseudo Operating System for the Dreamcast. |
From: <ljs...@us...> - 2012-06-15 01:35:36
|
Revision: 822 http://cadcdev.svn.sourceforge.net/cadcdev/?rev=822&view=rev Author: ljsebald Date: 2012-06-15 01:35:30 +0000 (Fri, 15 Jun 2012) Log Message: ----------- Remove dcload from the SVN repo. Added Paths: ----------- dcload/README Removed Paths: ------------- dcload/dcload-ip/ dcload/dcload-serial/ Added: dcload/README =================================================================== --- dcload/README (rev 0) +++ dcload/README 2012-06-15 01:35:30 UTC (rev 822) @@ -0,0 +1,8 @@ +dcload is no longer hosted in this Subversion repository. As of June 14, 2012, +dcload is in a Git repository hosted at Sourceforge. + +If you're looking for dcload-ip, you can grab that by cloning as follows: +git clone git://cadcdev.git.sourceforge.net/gitroot/cadcdev/dcload-ip + +Or if you're looking for dcload-serial, you can grab that as follows: +git clone git://cadcdev.git.sourceforge.net/gitroot/cadcdev/dcload-serial This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ljs...@us...> - 2012-06-15 01:30:28
|
Revision: 821 http://cadcdev.svn.sourceforge.net/cadcdev/?rev=821&view=rev Author: ljsebald Date: 2012-06-15 01:30:22 +0000 (Fri, 15 Jun 2012) Log Message: ----------- Clean out the KOS SVN repo. Added Paths: ----------- kos/README Removed Paths: ------------- kos/Makefile kos/Makefile.prefab kos/Makefile.rules kos/README kos/addons/ kos/doc/ kos/environ_base.sh kos/environ_dreamcast.sh kos/environ_gba.sh kos/environ_ia32.sh kos/environ_ps2.sh kos/examples/ kos/include/ kos/kernel/ kos/lib/ kos/libk++/ kos/loadable/ kos/utils/ Deleted: kos/Makefile =================================================================== --- kos/Makefile 2012-06-13 02:10:54 UTC (rev 820) +++ kos/Makefile 2012-06-15 01:30:22 UTC (rev 821) @@ -1,42 +0,0 @@ -# KallistiOS ##version## -# -# Root Makefile -# Copyright (C)2003 Dan Potter -# - -# Add stuff to DIRS to auto-compile it with the big tree. -DIRS = utils -ifdef KOS_CCPLUS - DIRS += libk++ -endif -DIRS += kernel addons # examples - -# Detect a non-working or missing environ.sh file. -ifndef KOS_BASE -error: - @echo You don\'t seem to have a working environ.sh file. Please take a look at - @echo doc/README for more info. - @exit 0 -endif - -all: - for i in $(DIRS); do $(KOS_MAKE) -C $$i || exit -1; done - -clean: - for i in $(DIRS); do $(KOS_MAKE) -C $$i clean || exit -1; done - -distclean: clean - -rm -f lib/$(KOS_ARCH)/* - -rm -f addons/lib/$(KOS_ARCH)/* - -kos-ports_all: - $(KOS_MAKE) -C ../kos-ports all KOS_BASE=$(CURDIR) - -kos-ports_clean: - $(KOS_MAKE) -C ../kos-ports clean KOS_BASE=$(CURDIR) - -all_auto_kos_base: - $(KOS_MAKE) all KOS_BASE=$(CURDIR) - -clean_auto_kos_base: - $(KOS_MAKE) clean KOS_BASE=$(CURDIR) Deleted: kos/Makefile.prefab =================================================================== --- kos/Makefile.prefab 2012-06-13 02:10:54 UTC (rev 820) +++ kos/Makefile.prefab 2012-06-15 01:30:22 UTC (rev 821) @@ -1,23 +0,0 @@ -# KallistiOS ##version## -# -# Root Makefile.prefab -# (c)2000 Dan Potter -# - -# Global KallistiOS Makefile include -# Define "SUBDIRS" and "OBJS", and then include this file; -# it will handle a lot of your build process. - -ifeq (b$(BUILD_TARGET),b) - BUILD_TARGET = kernel -endif - -defaultall: $(OBJS) subdirs - -cp $(OBJS) $(KOS_BASE)/$(BUILD_TARGET)/build/ - -clean: clean_subdirs - -rm -f $(OBJS) *.bck - -include $(KOS_BASE)/Makefile.rules - - Deleted: kos/Makefile.rules =================================================================== --- kos/Makefile.rules 2012-06-13 02:10:54 UTC (rev 820) +++ kos/Makefile.rules 2012-06-15 01:30:22 UTC (rev 821) @@ -1,42 +0,0 @@ -# KallistiOS ##version## -# -# Makefile.rules -# (c)2000-2001 Dan Potter -# - -# Global KallistiOS Makefile include - -# Build rules -%.o: %.c - kos-cc $(CFLAGS) -c $< -o $@ - -%.o: %.cc - kos-c++ $(CFLAGS) $(CXXFLAGS) -c $< -o $@ - -%.o: %.cpp - kos-c++ $(CFLAGS) $(CXXFLAGS) -c $< -o $@ - -%.o: %.s - kos-as $< -o $@ - -%.o: %.S - kos-as $< -o $@ - -subdirs: $(patsubst %, _dir_%, $(SUBDIRS)) - -$(patsubst %, _dir_%, $(SUBDIRS)): - $(MAKE) -C $(patsubst _dir_%, %, $@) - -clean_subdirs: $(patsubst %, _clean_dir_%, $(SUBDIRS)) - -$(patsubst %, _clean_dir_%, $(SUBDIRS)): - $(MAKE) -C $(patsubst _clean_dir_%, %, $@) clean - -# Define KOS_ROMDISK_DIR in your Makefile if you want these two handy rules. -ifdef KOS_ROMDISK_DIR -romdisk.img: - $(KOS_GENROMFS) -f romdisk.img -d $(KOS_ROMDISK_DIR) -v -x .svn - -romdisk.o: romdisk.img - $(KOS_BASE)/utils/bin2o/bin2o romdisk.img romdisk romdisk.o -endif Deleted: kos/README =================================================================== --- kos/README 2012-06-13 02:10:54 UTC (rev 820) +++ kos/README 2012-06-15 01:30:22 UTC (rev 821) @@ -1,3 +0,0 @@ -For all documentation, please look in the "doc" directory. Please read AT -LEAST the main README file before trying to begin! Thanks! - Added: kos/README =================================================================== --- kos/README (rev 0) +++ kos/README 2012-06-15 01:30:22 UTC (rev 821) @@ -0,0 +1,9 @@ +KOS is no longer hosted in this Subversion repository. As of June 14, 2012, KOS +is in a Git repository hosted at Sourceforge. + +You can grab the Git repository by the following command (assuming you have Git +installed in your $PATH): +git clone git://cadcdev.git.sourceforge.net/gitroot/cadcdev/KallistiOS + +As of now, kos-ports is still hosted in Subversion, but that will change +sometime in the (hopefully) near future. Deleted: kos/environ_base.sh =================================================================== --- kos/environ_base.sh 2012-06-13 02:10:54 UTC (rev 820) +++ kos/environ_base.sh 2012-06-15 01:30:22 UTC (rev 821) @@ -1,47 +0,0 @@ -# KallistiOS environment variable settings. These are the shared pieces -# that are generated from the user config. Configure if you like. - -# Pull in the arch environ file -. ${KOS_BASE}/environ_${KOS_ARCH}.sh - -# Add the gnu wrappers dir to the path -export PATH="${PATH}:${KOS_BASE}/utils/gnu_wrappers" - -# Our includes -export KOS_INC_PATHS="${KOS_INC_PATHS} -I${KOS_BASE}/include \ --I${KOS_BASE}/kernel/arch/${KOS_ARCH}/include -I${KOS_BASE}/addons/include" - -# "System" libraries -export KOS_LIB_PATHS="-L${KOS_BASE}/lib/${KOS_ARCH} -L${KOS_BASE}/addons/lib/${KOS_ARCH}" -export KOS_LIBS="-Wl,--start-group -lkallisti -lc -lgcc -Wl,--end-group" - -# Main arch compiler paths -export KOS_CC="${KOS_CC_BASE}/bin/${KOS_CC_PREFIX}-gcc" -export KOS_CCPLUS="${KOS_CC_BASE}/bin/${KOS_CC_PREFIX}-g++" -export KOS_AS="${KOS_CC_BASE}/bin/${KOS_CC_PREFIX}-as" -export KOS_AR="${KOS_CC_BASE}/bin/${KOS_CC_PREFIX}-ar" -export KOS_OBJCOPY="${KOS_CC_BASE}/bin/${KOS_CC_PREFIX}-objcopy" -export KOS_LD="${KOS_CC_BASE}/bin/${KOS_CC_PREFIX}-ld" -export KOS_RANLIB="${KOS_CC_BASE}/bin/${KOS_CC_PREFIX}-ranlib" -export KOS_STRIP="${KOS_CC_BASE}/bin/${KOS_CC_PREFIX}-strip" -export KOS_CFLAGS="${KOS_CFLAGS} ${KOS_INC_PATHS} -D_arch_${KOS_ARCH} -D_arch_sub_${KOS_SUBARCH} -Wall -g -fno-builtin -fno-strict-aliasing" -export KOS_CPPFLAGS="${KOS_CPPFLAGS} ${KOS_INC_PATHS_CPP} -fno-operator-names -fno-rtti -fno-exceptions" - -GCCVER="`kos-cc -v 2>&1 | tail -1 | awk '{print $3}'`" - -case $GCCVER in - 4*) - export KOS_LDFLAGS="${KOS_LDFLAGS} ${KOS_LD_SCRIPT} -nodefaultlibs ${KOS_LIB_PATHS}" ;; - *) - export KOS_LDFLAGS="${KOS_LDFLAGS} -nostartfiles -nostdlib ${KOS_LIB_PATHS}" ;; -esac - -# Some extra vars based on architecture -export KOS_ARCH_DIR="${KOS_BASE}/kernel/arch/${KOS_ARCH}" - -case $GCCVER in - 4*) - export KOS_START="" ;; - *) - export KOS_START="${KOS_ARCH_DIR}/kernel/startup.o" ;; -esac Deleted: kos/environ_dreamcast.sh =================================================================== --- kos/environ_dreamcast.sh 2012-06-13 02:10:54 UTC (rev 820) +++ kos/environ_dreamcast.sh 2012-06-15 01:30:22 UTC (rev 821) @@ -1,19 +0,0 @@ -# KallistiOS environment variable settings. These are the shared pieces -# for the Dreamcast(tm) platform. - -export KOS_CFLAGS="${KOS_CFLAGS} -ml -m4-single-only -ffunction-sections -fdata-sections" -export KOS_AFLAGS="${KOS_AFLAGS} -little" -export KOS_LDFLAGS="${KOS_LDFLAGS} -ml -m4-single-only -Wl,-Ttext=0x8c010000 -Wl,--gc-sections" -# Needed for GCC >= 4 -export KOS_LD_SCRIPT="-T${KOS_BASE}/utils/ldscripts/shlelf.xc" - -# If we're building for DC, we need the ARM compiler paths as well. -if [ x${KOS_ARCH} = xdreamcast ]; then - export DC_ARM_CC="${DC_ARM_BASE}/bin/${DC_ARM_PREFIX}-gcc" - export DC_ARM_AS="${DC_ARM_BASE}/bin/${DC_ARM_PREFIX}-as" - export DC_ARM_AR="${DC_ARM_BASE}/bin/${DC_ARM_PREFIX}-ar" - export DC_ARM_OBJCOPY="${DC_ARM_BASE}/bin/${DC_ARM_PREFIX}-objcopy" - export DC_ARM_LD="${DC_ARM_BASE}/bin/${DC_ARM_PREFIX}-ld" - export DC_ARM_CFLAGS="-mcpu=arm7di -Wall -O2 -fno-strict-aliasing -Wl,--fix-v4bx -Wa,--fix-v4bx" - export DC_ARM_AFLAGS="-mcpu=arm7di --fix-v4bx" -fi Deleted: kos/environ_gba.sh =================================================================== --- kos/environ_gba.sh 2012-06-13 02:10:54 UTC (rev 820) +++ kos/environ_gba.sh 2012-06-15 01:30:22 UTC (rev 821) @@ -1,7 +0,0 @@ -# KallistiOS environment variable settings. These are the shared pieces -# for the GBA(tm) platform. - -# This is currently configured to produce only Thumb code -export KOS_CFLAGS="${KOS_CFLAGS} -mcpu=arm7tdmi -mthumb -ffreestanding" -export KOS_AFLAGS="${KOS_AFLAGS}" -export KOS_LDFLAGS="${KOS_LDFLAGS} -Wl,-Ttext=0x08000000,-Tdata=0x02000000,-T,$KOS_BASE/kernel/arch/gba/gba.ld.script" Deleted: kos/environ_ia32.sh =================================================================== --- kos/environ_ia32.sh 2012-06-13 02:10:54 UTC (rev 820) +++ kos/environ_ia32.sh 2012-06-15 01:30:22 UTC (rev 821) @@ -1,6 +0,0 @@ -# KallistiOS environment variable settings. These are the shared pieces -# for the ia32/i386 platform. - -#export KOS_CFLAGS="${KOS_CFLAGS}" -#export KOS_AFLAGS="${KOS_AFLAGS}" -export KOS_LDFLAGS="${KOS_LDFLAGS} -Wl,-Ttext=0x00010000" Deleted: kos/environ_ps2.sh =================================================================== --- kos/environ_ps2.sh 2012-06-13 02:10:54 UTC (rev 820) +++ kos/environ_ps2.sh 2012-06-15 01:30:22 UTC (rev 821) @@ -1,6 +0,0 @@ -# KallistiOS environment variable settings. These are the shared pieces -# for the PS2(tm) platform. - -#export KOS_CFLAGS="${KOS_CFLAGS}" -export KOS_AFLAGS="${KOS_AFLAGS} -Wa,-EL -Wa,-mips3 -Wa,-mcpu=r5900 -I${KOS_BASE}/kernel/arch/${KOS_ARCH}/include -c" -export KOS_LDFLAGS="${KOS_LDFLAGS} -Wl,-T${KOS_BASE}/kernel/arch/${KOS_ARCH}/link-${KOS_SUBARCH}.ld" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Lawrence S. <ljs...@us...> - 2012-06-14 04:41:20
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via 2a61190bd0ded06fd608452deaa3e485bb7fc854 (commit) from 6109a5de101923165614caac117c80d0a8f9fef8 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 2a61190bd0ded06fd608452deaa3e485bb7fc854 Author: Lawrence Sebald <ljs...@us...> Date: Thu Jun 14 00:40:31 2012 -0400 Hopefully this will be the last of the pointless noise... Sorry again... ----------------------------------------------------------------------- Summary of changes: doc/CHANGELOG | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- A pseudo Operating System for the Dreamcast. |
From: Lawrence S. <ljs...@us...> - 2012-06-14 04:29:41
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via 6109a5de101923165614caac117c80d0a8f9fef8 (commit) from b60cf8e950aa327fd1c5f08ec94d9aa974ce535e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 6109a5de101923165614caac117c80d0a8f9fef8 Author: Lawrence Sebald <ljs...@us...> Date: Thu Jun 14 00:25:19 2012 -0400 A bit less pointless of a test... Add a few things to the changelog... ----------------------------------------------------------------------- Summary of changes: doc/CHANGELOG | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) hooks/post-receive -- A pseudo Operating System for the Dreamcast. |
From: Lawrence S. <ljs...@us...> - 2012-06-14 04:05:44
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via b60cf8e950aa327fd1c5f08ec94d9aa974ce535e (commit) from 4236e152069f5e7f77fd7ec4b3f6d83e7fed0c3d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit b60cf8e950aa327fd1c5f08ec94d9aa974ce535e Author: Lawrence Sebald <ljs...@us...> Date: Thu Jun 14 00:05:04 2012 -0400 Remove the testing file from earlier.... ----------------------------------------------------------------------- Summary of changes: testing | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) delete mode 100644 testing hooks/post-receive -- A pseudo Operating System for the Dreamcast. |
From: Lawrence S. <ljs...@us...> - 2012-06-14 00:01:34
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via 4236e152069f5e7f77fd7ec4b3f6d83e7fed0c3d (commit) from b1e0df8748bb2344546e6e094a86fb68d7cdc539 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 4236e152069f5e7f77fd7ec4b3f6d83e7fed0c3d Author: Lawrence Sebald <ljs...@us...> Date: Wed Jun 13 20:01:08 2012 -0400 Testing again... sorry about the noise... ----------------------------------------------------------------------- Summary of changes: testing | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) hooks/post-receive -- A pseudo Operating System for the Dreamcast. |
From: Lawrence S. <ljs...@us...> - 2012-06-13 23:38:51
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via b1e0df8748bb2344546e6e094a86fb68d7cdc539 (commit) from b1f465e64068608fe95b060bf839fe38fa479db3 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit b1e0df8748bb2344546e6e094a86fb68d7cdc539 Author: Lawrence Sebald <ljs...@us...> Date: Wed Jun 13 19:38:30 2012 -0400 Testing a commit from git... ----------------------------------------------------------------------- Summary of changes: addons/lib/.keepme => testing | 0 1 files changed, 0 insertions(+), 0 deletions(-) copy addons/lib/.keepme => testing (100%) hooks/post-receive -- A pseudo Operating System for the Dreamcast. |
From: <ljs...@us...> - 2012-06-13 02:11:00
|
Revision: 820 http://cadcdev.svn.sourceforge.net/cadcdev/?rev=820&view=rev Author: ljsebald Date: 2012-06-13 02:10:54 +0000 (Wed, 13 Jun 2012) Log Message: ----------- No need for magic numbers for fsca and fsrra, considering binutils has supported them for sh4 since 2004. Modified Paths: -------------- kos/kernel/arch/dreamcast/include/dc/fmath.h Modified: kos/kernel/arch/dreamcast/include/dc/fmath.h =================================================================== --- kos/kernel/arch/dreamcast/include/dc/fmath.h 2012-06-12 01:34:08 UTC (rev 819) +++ kos/kernel/arch/dreamcast/include/dc/fmath.h 2012-06-13 02:10:54 UTC (rev 820) @@ -27,7 +27,7 @@ ({ float __value, __arg = (x), __scale = 10430.37835; \ asm( "fmul %2,%1\n\t" \ "ftrc %1,fpul\n\t" \ - ".short 0xf0fd\n\t" \ + "fsca fpul,dr0\n\t" \ "fmov fr0,%0" \ : "=f" (__value), "+&f" (__scale) \ : "f" (__arg) \ @@ -38,7 +38,7 @@ ({ float __value, __arg = (x), __scale = 10430.37835; \ asm( "fmul %2,%1\n\t" \ "ftrc %1,fpul\n\t" \ - ".short 0xf0fd\n\t" \ + "fsca fpul,dr0\n\t" \ "fmov fr1,%0" \ : "=f" (__value), "+&f" (__scale) \ : "f" (__arg) \ @@ -49,7 +49,7 @@ ({ float __value, __arg = (x), __scale = 10430.37835; \ asm( "fmul %2,%1\n\t" \ "ftrc %1,fpul\n\t" \ - ".short 0xf0fd\n\t" \ + "fsca fpul,dr0\n\t" \ "fdiv fr1, fr0\n\t" \ "fmov fr0,%0" \ : "=f" (__value), "+&f" (__scale) \ @@ -61,7 +61,7 @@ #define __fisin(x) \ ({ float __value, __arg = (x); \ asm( "lds %1,fpul\n\t" \ - ".short 0xf0fd\n\t" \ + "fsca fpul,dr0\n\t" \ "fmov fr0,%0" \ : "=f" (__value) \ : "r" (__arg) \ @@ -71,7 +71,7 @@ #define __ficos(x) \ ({ float __value, __arg = (x); \ asm( "lds %1,fpul\n\t" \ - ".short 0xf0fd\n\t" \ + "fsca fpul,dr0\n\t" \ "fmov fr1,%0" \ : "=f" (__value) \ : "r" (__arg) \ @@ -81,7 +81,7 @@ #define __fitan(x) \ ({ float __value, __arg = (x); \ asm( "lds %1,fpul\n\t" \ - ".short 0xf0fd\n\t" \ + "fsca fpul,dr0\n\t" \ "fdiv fr1, fr0\n\t" \ "fmov fr0,%0" \ : "=f" (__value) \ @@ -97,12 +97,10 @@ __arg; }) #define __frsqrt(x) \ - ({ float __value, __arg = (x); \ - asm( "fmov %1,fr0\n\t" \ - ".short 0xf07d\n\t" \ - "fmov fr0,%0\n\t" \ - : "=f" (__value) : "f" (__arg) : "fpul", "fr0"); \ - __value; }) + ({ float __arg = (x); \ + asm( "fsrra %0\n\t" \ + : "=f" (__arg) : "0" (__arg)); \ + __arg; }) /* Floating point inner product (dot product) */ #define __fipr(x, y, z, w, a, b, c, d) ({ \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ljs...@us...> - 2012-06-12 01:34:14
|
Revision: 819 http://cadcdev.svn.sourceforge.net/cadcdev/?rev=819&view=rev Author: ljsebald Date: 2012-06-12 01:34:08 +0000 (Tue, 12 Jun 2012) Log Message: ----------- Back to GCC 4.7.0 we go, now that there's a working patch. Modified Paths: -------------- kos/utils/dc-chain/Makefile kos/utils/dc-chain/download.sh kos/utils/dc-chain/unpack.sh Modified: kos/utils/dc-chain/Makefile =================================================================== --- kos/utils/dc-chain/Makefile 2012-06-12 01:29:05 UTC (rev 818) +++ kos/utils/dc-chain/Makefile 2012-06-12 01:34:08 UTC (rev 819) @@ -29,7 +29,7 @@ # kos_base: equivalent of KOS_BASE (contains include/ and kernel/) kos_base=$(kos_root)/kos binutils_ver=2.22 -gcc_ver=4.5.2 +gcc_ver=4.7.0 newlib_ver=1.20.0 gdb_ver=6.7.1 insight_ver=6.7.1 Modified: kos/utils/dc-chain/download.sh =================================================================== --- kos/utils/dc-chain/download.sh 2012-06-12 01:29:05 UTC (rev 818) +++ kos/utils/dc-chain/download.sh 2012-06-12 01:34:08 UTC (rev 819) @@ -1,5 +1,5 @@ #!/bin/sh wget -c ftp://ftp.gnu.org/gnu/binutils/binutils-2.22.tar.bz2 || exit 1 -wget -c ftp://ftp.gnu.org/gnu/gcc/gcc-4.5.2/gcc-4.5.2.tar.bz2 || exit 1 +wget -c ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.0/gcc-4.7.0.tar.bz2 || exit 1 wget -c ftp://sources.redhat.com/pub/newlib/newlib-1.20.0.tar.gz || exit 1 Modified: kos/utils/dc-chain/unpack.sh =================================================================== --- kos/utils/dc-chain/unpack.sh 2012-06-12 01:29:05 UTC (rev 818) +++ kos/utils/dc-chain/unpack.sh 2012-06-12 01:34:08 UTC (rev 819) @@ -1,7 +1,7 @@ #!/bin/sh -rm -rf binutils-2.22 gcc-4.5.2 newlib-1.20.0 +rm -rf binutils-2.22 gcc-4.7.0 newlib-1.20.0 tar jxf binutils-2.22.tar.bz2 || exit 1 -tar jxf gcc-4.5.2.tar.bz2 || exit 1 +tar jxf gcc-4.7.0.tar.bz2 || exit 1 tar zxf newlib-1.20.0.tar.gz || exit 1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ljs...@us...> - 2012-06-12 01:29:12
|
Revision: 818 http://cadcdev.svn.sourceforge.net/cadcdev/?rev=818&view=rev Author: ljsebald Date: 2012-06-12 01:29:05 +0000 (Tue, 12 Jun 2012) Log Message: ----------- Updating the GCC patches... Modified Paths: -------------- kos/utils/dc-chain/patches/gcc-4.5.2-kos.diff kos/utils/dc-chain/patches/gcc-4.7.0-kos.diff Modified: kos/utils/dc-chain/patches/gcc-4.5.2-kos.diff =================================================================== --- kos/utils/dc-chain/patches/gcc-4.5.2-kos.diff 2012-06-12 00:39:45 UTC (rev 817) +++ kos/utils/dc-chain/patches/gcc-4.5.2-kos.diff 2012-06-12 01:29:05 UTC (rev 818) @@ -1,6 +1,6 @@ -diff -ruN gcc-4.5.2-orig/gcc/config/sh/crt1.asm gcc-4.5.2/gcc/config/sh/crt1.asm ---- gcc-4.5.2-orig/gcc/config/sh/crt1.asm 2009-04-09 11:00:19.000000000 -0400 -+++ gcc-4.5.2/gcc/config/sh/crt1.asm 2010-08-12 09:41:54.000000000 -0400 +diff -ruN gcc-4.5.2/gcc/config/sh/crt1.asm gcc-4.5.2-kos/gcc/config/sh/crt1.asm +--- gcc-4.5.2/gcc/config/sh/crt1.asm 2009-04-09 11:00:19.000000000 -0400 ++++ gcc-4.5.2-kos/gcc/config/sh/crt1.asm 2012-06-11 14:51:34.000000000 -0400 @@ -1,1369 +1,197 @@ -/* Copyright (C) 2000, 2001, 2003, 2004, 2005, 2006, 2009 - Free Software Foundation, Inc. @@ -1549,9 +1549,9 @@ + .word 0x090d +ccr_data_ocram: + .word 0x092d -diff -ruN gcc-4.5.2-orig/gcc/configure gcc-4.5.2/gcc/configure ---- gcc-4.5.2-orig/gcc/configure 2010-12-03 07:35:37.000000000 -0500 -+++ gcc-4.5.2/gcc/configure 2011-01-07 23:18:44.000000000 -0500 +diff -ruN gcc-4.5.2/gcc/configure gcc-4.5.2-kos/gcc/configure +--- gcc-4.5.2/gcc/configure 2010-12-03 07:35:37.000000000 -0500 ++++ gcc-4.5.2-kos/gcc/configure 2012-06-11 14:51:34.000000000 -0400 @@ -10421,7 +10421,7 @@ target_thread_file='single' ;; @@ -1561,11 +1561,11 @@ target_thread_file=${enable_threads} ;; *) -diff -ruN gcc-4.5.2-orig/gcc/gthr-kos.h gcc-4.5.2/gcc/gthr-kos.h ---- gcc-4.5.2-orig/gcc/gthr-kos.h 1969-12-31 19:00:00.000000000 -0500 -+++ gcc-4.5.2/gcc/gthr-kos.h 2011-01-08 23:30:52.000000000 -0500 -@@ -0,0 +1,388 @@ -+/* Copyright (C) 2009, 2010, 2011 Lawrence Sebald */ +diff -ruN gcc-4.5.2/gcc/gthr-kos.h gcc-4.5.2-kos/gcc/gthr-kos.h +--- gcc-4.5.2/gcc/gthr-kos.h 1969-12-31 19:00:00.000000000 -0500 ++++ gcc-4.5.2-kos/gcc/gthr-kos.h 2012-06-11 20:22:12.000000000 -0400 +@@ -0,0 +1,355 @@ ++/* Copyright (C) 2009, 2010, 2011, 2012 Lawrence Sebald */ + +/* Threads compatibility routines for libgcc2 and libobjc. */ +/* Compile this one with gcc. */ @@ -1602,11 +1602,9 @@ +#define __GTHREADS_CXX0X 1 +#define __GTHREAD_HAS_COND 1 + -+#include <assert.h> +#include <kos/thread.h> +#include <kos/tls.h> +#include <kos/mutex.h> -+#include <kos/recursive_lock.h> +#include <kos/once.h> +#include <kos/cond.h> +#include <time.h> @@ -1614,31 +1612,16 @@ +/* These should work just fine. */ +typedef kthread_key_t __gthread_key_t; +typedef kthread_once_t __gthread_once_t; -+typedef mutex_t * __gthread_mutex_t; -+typedef recursive_lock_t * __gthread_recursive_mutex_t; -+typedef condvar_t * __gthread_cond_t; -+typedef kthread_t * __gthread_t; ++typedef mutex_t __gthread_mutex_t; ++typedef mutex_t __gthread_recursive_mutex_t; ++typedef condvar_t __gthread_cond_t; ++typedef kthread_t *__gthread_t; +typedef struct timespec __gthread_time_t; + -+static void __gthr_mutex_init(__gthread_mutex_t *__mutex) { -+ assert(__mutex); -+ *__mutex = mutex_create(); -+} -+ -+static void __gthr_recursive_mutex_init(__gthread_recursive_mutex_t *__mutex) { -+ assert(__mutex); -+ *__mutex = rlock_create(); -+} -+ -+static void __gthr_cond_init(__gthread_cond_t *__cond) { -+ assert(__cond); -+ *__cond = cond_create(); -+} -+ +#define __GTHREAD_ONCE_INIT KTHREAD_ONCE_INIT -+#define __GTHREAD_MUTEX_INIT_FUNCTION __gthr_mutex_init -+#define __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION __gthr_recursive_mutex_init -+#define __GTHREAD_COND_INIT_FUNCTION __gthr_cond_init ++#define __GTHREAD_MUTEX_INIT MUTEX_INITIALIZER ++#define __GTHREAD_RECURSIVE_MUTEX_INIT RECURSIVE_MUTEX_INITIALIZER ++#define __GTHREAD_COND_INIT COND_INITIALIZER + +static inline int __gthread_active_p(void) { + return 1; @@ -1722,26 +1705,28 @@ + +/* Allocate a mutex. */ +static inline int __gthread_objc_mutex_allocate(objc_mutex_t mutex) { -+ mutex_t *m = mutex_create(); ++ mutex->backend = objc_malloc(sizeof(mutex_t)); + -+ if(m) { -+ mutex->backend = (void *)m; -+ return 0; ++ if(mutex_init((mutex_t *)mutex->backend, MUTEX_TYPE_NORMAL)) { ++ objc_free(mutex->backend); ++ mutex->backend = NULL; ++ return -1; + } + -+ mutex->backend = NULL; -+ return -1; ++ return 0; +} + +/* Deallocate a mutex. */ +static inline int __gthread_objc_mutex_deallocate(objc_mutex_t mutex) { + mutex_t *m = (mutex_t *)mutex->backend; + -+ if(mutex_is_locked(m)) { ++ if(mutex_is_locked(m)) + mutex_unlock(m); -+ } + -+ mutex_destroy(m); ++ if(mutex_destroy(m)) ++ return -1; ++ ++ objc_free(m); + mutex->backend = NULL; + + return 0; @@ -1759,28 +1744,30 @@ + +/* Unlock the mutex. */ +static inline int __gthread_objc_mutex_unlock(objc_mutex_t mutex) { -+ mutex_unlock((mutex_t *)mutex->backend); -+ return 0; ++ return mutex_unlock((mutex_t *)mutex->backend); +} + +/* Backend condition mutex functions */ + +/* Allocate a condition. */ +static inline int __gthread_objc_condition_allocate(objc_condition_t cond) { -+ condvar_t *c = cond_create(); ++ cond->backend = objc_malloc(sizeof(condvar_t)); + -+ if(c) { -+ cond->backend = (void *)c; -+ return 0; ++ if(cond_init((condvar_t *)cond->backend)) { ++ objc_free(cond->backend); ++ cond->backend = NULL; ++ return -1; + } + -+ cond->backend = NULL; -+ return -1; ++ return 0; +} + +/* Deallocate a condition. */ +static inline int __gthread_objc_condition_deallocate(objc_condition_t cond) { -+ cond_destroy((condvar_t *)cond->backend); ++ if(cond_destroy((condvar_t *)cond->backend)) ++ return -1; ++ ++ objc_free(cond->backend); + cond->backend = NULL; + return 0; +} @@ -1793,14 +1780,12 @@ + +/* Wake up all threads waiting on this condition. */ +static inline int __gthread_objc_condition_broadcast(objc_condition_t cond) { -+ cond_broadcast((condvar_t *)cond->backend); -+ return 0; ++ return cond_broadcast((condvar_t *)cond->backend); +} + +/* Wake up one thread waiting on this condition. */ +static inline int __gthread_objc_condition_signal(objc_condition_t cond) { -+ cond_signal((condvar_t *)cond->backend); -+ return 0; ++ return cond_signal((condvar_t *)cond->backend); +} + +#else /* _LIBOBJC */ @@ -1829,75 +1814,59 @@ +} + +static inline int __gthread_mutex_destroy(__gthread_mutex_t *__mutex) { -+ assert(__mutex); -+ mutex_destroy(*__mutex); -+ return 0; ++ return mutex_destroy(__mutex); +} + +static inline int __gthread_mutex_lock(__gthread_mutex_t *__mutex) { -+ assert(__mutex); -+ return mutex_lock(*__mutex); ++ return mutex_lock(__mutex); +} + +static inline int __gthread_mutex_trylock(__gthread_mutex_t *__mutex) { -+ assert(__mutex); -+ return mutex_trylock(*__mutex); ++ return mutex_trylock(__mutex); +} + +static inline int __gthread_mutex_unlock(__gthread_mutex_t *__mutex) { -+ assert(__mutex); -+ mutex_unlock(*__mutex); -+ return 0; ++ return mutex_unlock(__mutex); +} + +static inline int __gthread_recursive_mutex_lock(__gthread_recursive_mutex_t *__mutex) { -+ assert(__mutex); -+ return rlock_lock(*__mutex); ++ return mutex_lock(__mutex); +} + +static inline int __gthread_recursive_mutex_trylock(__gthread_recursive_mutex_t *__mutex) { -+ assert(__mutex); -+ return rlock_trylock(*__mutex); ++ return mutex_trylock(__mutex); +} + +static inline int __gthread_recursive_mutex_unlock(__gthread_recursive_mutex_t *__mutex) { -+ assert(__mutex); -+ return rlock_unlock(*__mutex); ++ return mutex_unlock(__mutex); +} + +static inline int __gthread_cond_broadcast(__gthread_cond_t *cond) { -+ assert(cond); -+ cond_broadcast(*cond); -+ return 0; ++ return cond_broadcast(cond); +} + +static inline int __gthread_cond_wait(__gthread_cond_t *cond, __gthread_mutex_t *mutex) { -+ assert(cond); -+ return cond_wait(*cond, *mutex); ++ return cond_wait(cond, mutex); +} + +static inline int __gthread_cond_wait_recursive(__gthread_cond_t *cond, + __gthread_recursive_mutex_t *mutex) { -+ assert(cond); -+ return cond_wait(*cond, *mutex); ++ return cond_wait(cond, mutex); +} + +/* C++0x support functions */ + +static inline int __gthread_create(__gthread_t *thd, void *(*func)(void *), + void *args) { -+ assert(thd); + *thd = thd_create(0, func, args); + return (*thd == NULL); +} + +static inline int __gthread_join(__gthread_t thd, void **value_ptr) { -+ assert(thd); + return thd_join(thd, value_ptr); +} + +static inline int __gthread_detach(__gthread_t thd) { -+ assert(thd); + return thd_detach(thd); +} + @@ -1917,39 +1886,49 @@ +static inline int __gthread_mutex_timedlock(__gthread_mutex_t *m, + const __gthread_time_t *timeout) { + int t = (int)(timeout->tv_sec + (timeout->tv_nsec / 1000)); -+ assert(m); -+ return mutex_lock_timed(*m, t); ++ return mutex_lock_timed(m, t); +} + +static inline int __gthread_recursive_mutex_timedlock(__gthread_recursive_mutex_t *l, + const __gthread_time_t *timeout) { + int t = (int)(timeout->tv_sec + (timeout->tv_nsec / 1000)); -+ assert(l); -+ return rlock_lock_timed(*l, t); ++ return mutex_lock_timed(l, t); +} + +static inline int __gthread_cond_signal(__gthread_cond_t *cond) { -+ assert(cond); -+ cond_signal(*cond); -+ return 0; ++ return cond_signal(cond); +} + +static inline int __gthread_cond_timedwait(__gthread_cond_t *cond, + __gthread_mutex_t *mutex, + const __gthread_time_t *timeout) { + int t = (int)(timeout->tv_sec + (timeout->tv_nsec / 1000)); -+ assert(cond); -+ return cond_wait_timed(*cond, *mutex, t); ++ return cond_wait_timed(cond, mutex, t); +} + +static inline int __gthread_cond_timedwait_recursive(__gthread_cond_t *cond, + __gthread_recursive_mutex_t *l, + const __gthread_time_t *timeout) { + int t = (int)(timeout->tv_sec + (timeout->tv_nsec / 1000)); -+ assert(cond); -+ return cond_wait_timed(*cond, *l, t); ++ return cond_wait_timed(cond, l, t); +} + ++static inline int __gthread_cond_destroy(__gthread_cond_t *cond) { ++ return cond_destroy(cond); ++} ++ +#endif /* _LIBOBJC */ + +#endif /* ! GCC_GTHR_KOS_H */ +diff -ruN gcc-4.5.2/libiberty/strsignal.c gcc-4.5.2-kos/libiberty/strsignal.c +--- gcc-4.5.2/libiberty/strsignal.c 2008-06-19 11:08:53.000000000 -0400 ++++ gcc-4.5.2-kos/libiberty/strsignal.c 2012-06-11 15:14:49.000000000 -0400 +@@ -551,7 +551,7 @@ + #ifndef HAVE_PSIGNAL + + void +-psignal (int signo, char *message) ++psignal (int signo, const char *message) + { + if (signal_names == NULL) + { Modified: kos/utils/dc-chain/patches/gcc-4.7.0-kos.diff =================================================================== --- kos/utils/dc-chain/patches/gcc-4.7.0-kos.diff 2012-06-12 00:39:45 UTC (rev 817) +++ kos/utils/dc-chain/patches/gcc-4.7.0-kos.diff 2012-06-12 01:29:05 UTC (rev 818) @@ -1,6 +1,18 @@ +diff -ruN gcc-4.7.0/gcc/config/sh/sh.c gcc-4.7.0-kos/gcc/config/sh/sh.c +--- gcc-4.7.0/gcc/config/sh/sh.c 2012-03-05 13:52:44.000000000 -0500 ++++ gcc-4.7.0-kos/gcc/config/sh/sh.c 2012-06-09 21:58:01.000000000 -0400 +@@ -747,8 +747,6 @@ + if (! VALID_REGISTER_P (ADDREGNAMES_REGNO (regno))) + sh_additional_register_names[regno][0] = '\0'; + +- flag_omit_frame_pointer = (PREFERRED_DEBUGGING_TYPE == DWARF2_DEBUG); +- + if ((flag_pic && ! TARGET_PREFERGOT) + || (TARGET_SHMEDIA && !TARGET_PT_FIXED)) + flag_no_function_cse = 1; diff -ruN gcc-4.7.0/gcc/configure gcc-4.7.0-kos/gcc/configure --- gcc-4.7.0/gcc/configure 2012-03-08 08:54:54.000000000 -0500 -+++ gcc-4.7.0-kos/gcc/configure 2012-06-04 19:16:35.000000000 -0400 ++++ gcc-4.7.0-kos/gcc/configure 2012-06-11 12:38:05.000000000 -0400 @@ -11262,7 +11262,7 @@ target_thread_file='single' ;; @@ -12,7 +24,7 @@ *) diff -ruN gcc-4.7.0/libgcc/config/sh/crt1.S gcc-4.7.0-kos/libgcc/config/sh/crt1.S --- gcc-4.7.0/libgcc/config/sh/crt1.S 2011-11-02 10:33:56.000000000 -0400 -+++ gcc-4.7.0-kos/libgcc/config/sh/crt1.S 2012-06-05 11:21:34.000000000 -0400 ++++ gcc-4.7.0-kos/libgcc/config/sh/crt1.S 2012-06-11 12:38:05.000000000 -0400 @@ -1,1369 +1,202 @@ -/* Copyright (C) 2000, 2001, 2003, 2004, 2005, 2006, 2009, 2011 - Free Software Foundation, Inc. @@ -1564,11 +1576,91 @@ - .ualong 0x0 -#endif /* VBR_SETUP */ -#endif /* ! __SH5__ */ +diff -ruN gcc-4.7.0/libgcc/config/sh/fake-kos.S gcc-4.7.0-kos/libgcc/config/sh/fake-kos.S +--- gcc-4.7.0/libgcc/config/sh/fake-kos.S 1969-12-31 19:00:00.000000000 -0500 ++++ gcc-4.7.0-kos/libgcc/config/sh/fake-kos.S 2012-06-11 13:31:28.000000000 -0400 +@@ -0,0 +1,75 @@ ++! Weakly linked symbols used to get GCC to hopefully compile itself properly. ++! These will be replaced by the real symbols in actual compiled programs. ++ ++ ! crt1.S required symbols ++ .weak ___kos_init_flags ++ .weak _arch_main ++ ++ ! gthr-kos.h required symbols ++ .weak _mutex_is_locked ++ .weak _mutex_destroy ++ .weak _mutex_lock ++ .weak _mutex_trylock ++ .weak _mutex_lock_timed ++ .weak _mutex_unlock ++ ++ .weak _thd_create ++ .weak _thd_join ++ .weak _thd_detach ++ .weak _thd_pass ++ .weak _thd_exit ++ .weak _thd_get_current ++ ++ .weak _kthread_setspecific ++ .weak _kthread_getspecific ++ .weak _kthread_key_create ++ .weak _kthread_key_delete ++ .weak _kthread_once ++ ++ .weak _cond_destroy ++ .weak _cond_wait ++ .weak _cond_wait_timed ++ .weak _cond_broadcast ++ .weak _cond_signal ++ ++ ! Things needed by emutls ++ .weak _free ++ .weak _abort ++ .weak _malloc ++ .weak _realloc ++ .weak _calloc ++ ++___kos_init_flags: ++ .long 0 ++ ++_arch_main: ++_mutex_is_locked: ++_mutex_unlock: ++_mutex_destroy: ++_mutex_lock: ++_mutex_trylock: ++_mutex_lock_timed: ++_thd_create: ++_thd_join: ++_thd_detach: ++_thd_pass: ++_thd_exit: ++_thd_get_current: ++_kthread_setspecific: ++_kthread_getspecific: ++_kthread_key_create: ++_kthread_key_delete: ++_kthread_once: ++_cond_destroy: ++_cond_wait: ++_cond_wait_timed: ++_cond_broadcast: ++_cond_signal: ++_free: ++_abort: ++_malloc: ++_realloc: ++_calloc: ++ rts ++ mov #-1, r0 ++ +\ No newline at end of file diff -ruN gcc-4.7.0/libgcc/config/sh/gthr-kos.h gcc-4.7.0-kos/libgcc/config/sh/gthr-kos.h --- gcc-4.7.0/libgcc/config/sh/gthr-kos.h 1969-12-31 19:00:00.000000000 -0500 -+++ gcc-4.7.0-kos/libgcc/config/sh/gthr-kos.h 2012-06-05 11:03:08.000000000 -0400 -@@ -0,0 +1,374 @@ -+/* Copyright (C) 2009, 2010, 2011 Lawrence Sebald */ ++++ gcc-4.7.0-kos/libgcc/config/sh/gthr-kos.h 2012-06-11 20:06:32.000000000 -0400 +@@ -0,0 +1,355 @@ ++/* Copyright (C) 2009, 2010, 2011, 2012 Lawrence Sebald */ + +/* Threads compatibility routines for libgcc2 and libobjc. */ +/* Compile this one with gcc. */ @@ -1608,7 +1700,6 @@ +#include <kos/thread.h> +#include <kos/tls.h> +#include <kos/mutex.h> -+#include <kos/recursive_lock.h> +#include <kos/once.h> +#include <kos/cond.h> +#include <time.h> @@ -1616,31 +1707,16 @@ +/* These should work just fine. */ +typedef kthread_key_t __gthread_key_t; +typedef kthread_once_t __gthread_once_t; -+typedef mutex_t * __gthread_mutex_t; -+typedef condvar_t * __gthread_cond_t; -+typedef kthread_t * __gthread_t; ++typedef mutex_t __gthread_mutex_t; ++typedef mutex_t __gthread_recursive_mutex_t; ++typedef condvar_t __gthread_cond_t; ++typedef kthread_t *__gthread_t; +typedef struct timespec __gthread_time_t; + -+typedef struct { -+ recursive_lock_t *koslock; -+} __gthread_recursive_mutex_t; -+ -+static void __gthr_mutex_init(__gthread_mutex_t *__mutex) { -+ *__mutex = mutex_create(); -+} -+ -+static void __gthr_recursive_mutex_init(__gthread_recursive_mutex_t *__mutex) { -+ __mutex->koslock = rlock_create(); -+} -+ -+static void __gthr_cond_init(__gthread_cond_t *__cond) { -+ *__cond = cond_create(); -+} -+ +#define __GTHREAD_ONCE_INIT KTHREAD_ONCE_INIT -+#define __GTHREAD_MUTEX_INIT_FUNCTION __gthr_mutex_init -+#define __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION __gthr_recursive_mutex_init -+#define __GTHREAD_COND_INIT_FUNCTION __gthr_cond_init ++#define __GTHREAD_MUTEX_INIT MUTEX_INITIALIZER ++#define __GTHREAD_RECURSIVE_MUTEX_INIT RECURSIVE_MUTEX_INITIALIZER ++#define __GTHREAD_COND_INIT COND_INITIALIZER + +static inline int __gthread_active_p(void) { + return 1; @@ -1724,26 +1800,28 @@ + +/* Allocate a mutex. */ +static inline int __gthread_objc_mutex_allocate(objc_mutex_t mutex) { -+ mutex_t *m = mutex_create(); ++ mutex->backend = objc_malloc(sizeof(mutex_t)); + -+ if(m) { -+ mutex->backend = (void *)m; -+ return 0; ++ if(mutex_init((mutex_t *)mutex->backend, MUTEX_TYPE_NORMAL)) { ++ objc_free(mutex->backend); ++ mutex->backend = NULL; ++ return -1; + } + -+ mutex->backend = NULL; -+ return -1; ++ return 0; +} + +/* Deallocate a mutex. */ +static inline int __gthread_objc_mutex_deallocate(objc_mutex_t mutex) { + mutex_t *m = (mutex_t *)mutex->backend; + -+ if(mutex_is_locked(m)) { ++ if(mutex_is_locked(m)) + mutex_unlock(m); -+ } + -+ mutex_destroy(m); ++ if(mutex_destroy(m)) ++ return -1; ++ ++ objc_free(m); + mutex->backend = NULL; + + return 0; @@ -1761,28 +1839,30 @@ + +/* Unlock the mutex. */ +static inline int __gthread_objc_mutex_unlock(objc_mutex_t mutex) { -+ mutex_unlock((mutex_t *)mutex->backend); -+ return 0; ++ return mutex_unlock((mutex_t *)mutex->backend); +} + +/* Backend condition mutex functions */ + +/* Allocate a condition. */ +static inline int __gthread_objc_condition_allocate(objc_condition_t cond) { -+ condvar_t *c = cond_create(); ++ cond->backend = objc_malloc(sizeof(condvar_t)); + -+ if(c) { -+ cond->backend = (void *)c; -+ return 0; ++ if(cond_init((condvar_t *)cond->backend)) { ++ objc_free(cond->backend); ++ cond->backend = NULL; ++ return -1; + } + -+ cond->backend = NULL; -+ return -1; ++ return 0; +} + +/* Deallocate a condition. */ +static inline int __gthread_objc_condition_deallocate(objc_condition_t cond) { -+ cond_destroy((condvar_t *)cond->backend); ++ if(cond_destroy((condvar_t *)cond->backend)) ++ return -1; ++ ++ objc_free(cond->backend); + cond->backend = NULL; + return 0; +} @@ -1795,14 +1875,12 @@ + +/* Wake up all threads waiting on this condition. */ +static inline int __gthread_objc_condition_broadcast(objc_condition_t cond) { -+ cond_broadcast((condvar_t *)cond->backend); -+ return 0; ++ return cond_broadcast((condvar_t *)cond->backend); +} + +/* Wake up one thread waiting on this condition. */ +static inline int __gthread_objc_condition_signal(objc_condition_t cond) { -+ cond_signal((condvar_t *)cond->backend); -+ return 0; ++ return cond_signal((condvar_t *)cond->backend); +} + +#else /* _LIBOBJC */ @@ -1831,47 +1909,44 @@ +} + +static inline int __gthread_mutex_destroy(__gthread_mutex_t *__mutex) { -+ mutex_destroy(*__mutex); -+ return 0; ++ return mutex_destroy(__mutex); +} + +static inline int __gthread_mutex_lock(__gthread_mutex_t *__mutex) { -+ return mutex_lock(*__mutex); ++ return mutex_lock(__mutex); +} + +static inline int __gthread_mutex_trylock(__gthread_mutex_t *__mutex) { -+ return mutex_trylock(*__mutex); ++ return mutex_trylock(__mutex); +} + +static inline int __gthread_mutex_unlock(__gthread_mutex_t *__mutex) { -+ mutex_unlock(*__mutex); -+ return 0; ++ return mutex_unlock(__mutex); +} + +static inline int __gthread_recursive_mutex_lock(__gthread_recursive_mutex_t *__mutex) { -+ return rlock_lock(__mutex->koslock); ++ return mutex_lock(__mutex); +} + +static inline int __gthread_recursive_mutex_trylock(__gthread_recursive_mutex_t *__mutex) { -+ return rlock_trylock(__mutex->koslock); ++ return mutex_trylock(__mutex); +} + +static inline int __gthread_recursive_mutex_unlock(__gthread_recursive_mutex_t *__mutex) { -+ return rlock_unlock(__mutex->koslock); ++ return mutex_unlock(__mutex); +} + +static inline int __gthread_cond_broadcast(__gthread_cond_t *cond) { -+ cond_broadcast(*cond); -+ return 0; ++ return cond_broadcast(cond); +} + +static inline int __gthread_cond_wait(__gthread_cond_t *cond, __gthread_mutex_t *mutex) { -+ return cond_wait(*cond, *mutex); ++ return cond_wait(cond, mutex); +} + +static inline int __gthread_cond_wait_recursive(__gthread_cond_t *cond, + __gthread_recursive_mutex_t *mutex) { -+ return cond_wait_recursive(*cond, mutex->koslock); ++ return cond_wait(cond, mutex); +} + +/* C++0x support functions */ @@ -1906,158 +1981,55 @@ +static inline int __gthread_mutex_timedlock(__gthread_mutex_t *m, + const __gthread_time_t *timeout) { + int t = (int)(timeout->tv_sec + (timeout->tv_nsec / 1000)); -+ return mutex_lock_timed(*m, t); ++ return mutex_lock_timed(m, t); +} + +static inline int __gthread_recursive_mutex_timedlock(__gthread_recursive_mutex_t *l, + const __gthread_time_t *timeout) { + int t = (int)(timeout->tv_sec + (timeout->tv_nsec / 1000)); -+ return rlock_lock_timed(l->koslock, t); ++ return mutex_lock_timed(l, t); +} + +static inline int __gthread_cond_signal(__gthread_cond_t *cond) { -+ cond_signal(*cond); -+ return 0; ++ return cond_signal(cond); +} + +static inline int __gthread_cond_timedwait(__gthread_cond_t *cond, + __gthread_mutex_t *mutex, + const __gthread_time_t *timeout) { + int t = (int)(timeout->tv_sec + (timeout->tv_nsec / 1000)); -+ return cond_wait_timed(*cond, *mutex, t); ++ return cond_wait_timed(cond, mutex, t); +} + +static inline int __gthread_cond_timedwait_recursive(__gthread_cond_t *cond, + __gthread_recursive_mutex_t *l, + const __gthread_time_t *timeout) { + int t = (int)(timeout->tv_sec + (timeout->tv_nsec / 1000)); -+ return cond_wait_timed_recursive(*cond, l->koslock, t); ++ return cond_wait_timed(cond, l, t); +} + +static inline int __gthread_cond_destroy(__gthread_cond_t *cond) { -+ cond_destroy(*cond); -+ return 0; ++ return cond_destroy(cond); +} + +#endif /* _LIBOBJC */ + +#endif /* ! GCC_GTHR_KOS_H */ -diff -ruN gcc-4.7.0/libgcc/config/sh/kos-weak.S gcc-4.7.0-kos/libgcc/config/sh/kos-weak.S ---- gcc-4.7.0/libgcc/config/sh/kos-weak.S 1969-12-31 19:00:00.000000000 -0500 -+++ gcc-4.7.0-kos/libgcc/config/sh/kos-weak.S 2012-06-05 11:18:06.000000000 -0400 -@@ -0,0 +1,96 @@ -+! Weakly linked symbols used to get GCC to hopefully compile itself properly. -+! These will be replaced by the real symbols in actual compiled programs. -+ -+ ! crt1.S required symbols -+ .weak ___kos_init_flags -+ .weak _arch_main -+ -+ ! gthr-kos.h required symbols -+ .weak _mutex_create -+ .weak _mutex_is_locked -+ .weak _mutex_destroy -+ .weak _mutex_lock -+ .weak _mutex_trylock -+ .weak _mutex_lock_timed -+ .weak _mutex_unlock -+ -+ .weak _thd_create -+ .weak _thd_join -+ .weak _thd_detach -+ .weak _thd_pass -+ .weak _thd_exit -+ .weak _thd_get_current -+ -+ .weak _kthread_setspecific -+ .weak _kthread_getspecific -+ .weak _kthread_key_create -+ .weak _kthread_key_delete -+ .weak _kthread_once -+ -+ .weak _rlock_create -+ .weak _rlock_destroy -+ .weak _rlock_lock -+ .weak _rlock_trylock -+ .weak _rlock_unlock -+ .weak _rlock_lock_timed -+ -+ .weak _cond_create -+ .weak _cond_destroy -+ .weak _cond_wait -+ .weak _cond_wait_timed -+ .weak _cond_broadcast -+ .weak _cond_signal -+ .weak _cond_wait_recursive -+ .weak _cond_wait_timed_recursive -+ -+ ! Things needed by emutls -+ .weak _free -+ .weak _abort -+ .weak _malloc -+ .weak _realloc -+ .weak _calloc -+ -+___kos_init_flags: -+ .long 0 -+ -+_arch_main: -+_mutex_create: -+_mutex_is_locked: -+_mutex_unlock: -+_mutex_destroy: -+_mutex_lock: -+_mutex_trylock: -+_mutex_lock_timed: -+_thd_create: -+_thd_join: -+_thd_detach: -+_thd_pass: -+_thd_exit: -+_thd_get_current: -+_kthread_setspecific: -+_kthread_getspecific: -+_kthread_key_create: -+_kthread_key_delete: -+_kthread_once: -+_rlock_create: -+_rlock_destroy: -+_rlock_lock: -+_rlock_trylock: -+_rlock_unlock: -+_rlock_lock_timed: -+_cond_create: -+_cond_destroy: -+_cond_wait: -+_cond_wait_timed: -+_cond_broadcast: -+_cond_signal: -+_cond_wait_recursive: -+_cond_wait_timed_recursive: -+_free: -+_abort: -+_malloc: -+_realloc: -+_calloc: -+ rts -+ mov #-1, r0 -+ -\ No newline at end of file diff -ruN gcc-4.7.0/libgcc/config/sh/t-sh gcc-4.7.0-kos/libgcc/config/sh/t-sh --- gcc-4.7.0/libgcc/config/sh/t-sh 2011-11-07 12:14:32.000000000 -0500 -+++ gcc-4.7.0-kos/libgcc/config/sh/t-sh 2012-06-05 10:43:34.000000000 -0400 ++++ gcc-4.7.0-kos/libgcc/config/sh/t-sh 2012-06-11 13:30:55.000000000 -0400 @@ -24,6 +24,8 @@ $(LIB1ASMFUNCS_CACHE) LIB1ASMFUNCS_CACHE = _ic_invalidate _ic_invalidate_array -+LIB2ADD = $(srcdir)/config/sh/kos-weak.S ++LIB2ADD = $(srcdir)/config/sh/fake-kos.S + crt1.o: $(srcdir)/config/sh/crt1.S $(gcc_compile) -c $< diff -ruN gcc-4.7.0/libgcc/configure gcc-4.7.0-kos/libgcc/configure --- gcc-4.7.0/libgcc/configure 2012-01-23 01:25:28.000000000 -0500 -+++ gcc-4.7.0-kos/libgcc/configure 2012-06-04 19:19:26.000000000 -0400 ++++ gcc-4.7.0-kos/libgcc/configure 2012-06-11 12:38:05.000000000 -0400 @@ -4801,6 +4801,7 @@ tpf) thread_header=config/s390/gthr-tpf.h ;; vxworks) thread_header=config/gthr-vxworks.h ;; @@ -2066,35 +2038,3 @@ esac # Substitute configuration variables -diff -ruN gcc-4.7.0/libstdc++-v3/include/ext/concurrence.h gcc-4.7.0-kos/libstdc++-v3/include/ext/concurrence.h ---- gcc-4.7.0/libstdc++-v3/include/ext/concurrence.h 2011-01-30 17:39:36.000000000 -0500 -+++ gcc-4.7.0-kos/libstdc++-v3/include/ext/concurrence.h 2012-06-04 20:52:33.000000000 -0400 -@@ -283,6 +283,12 @@ - _S_destroy(_Rm* __mx) - { __gthread_mutex_destroy(&__mx->actual); } - -+ // matches kos -+ template<typename _Rm> -+ static typename __enable_if<sizeof(&_Rm::koslock), void>::__type -+ _S_destroy(_Rm* __mx) -+ { rlock_destroy(__mx->koslock); } -+ - // matches when there's only one mutex type - template<typename _Rm> - static typename -diff -ruN gcc-4.7.0/libstdc++-v3/include/std/mutex gcc-4.7.0-kos/libstdc++-v3/include/std/mutex ---- gcc-4.7.0/libstdc++-v3/include/std/mutex 2012-02-07 04:19:27.000000000 -0500 -+++ gcc-4.7.0-kos/libstdc++-v3/include/std/mutex 2012-06-04 21:00:52.000000000 -0400 -@@ -120,6 +120,12 @@ - _S_destroy(_Rm* __mx) - { __gthread_mutex_destroy(&__mx->actual); } - -+ // matches kos -+ template<typename _Rm> -+ static typename enable_if<sizeof(&_Rm::koslock), void>::type -+ _S_destroy(_Rm* __mx) -+ { rlock_destroy(__mx->koslock); } -+ - // matches a gthr-win32.h recursive mutex - template<typename _Rm> - static typename enable_if<sizeof(&_Rm::sema), void>::type This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |