summaryrefslogtreecommitdiffstats
path: root/libgloss/spu
Commit message (Collapse)AuthorAgeFilesLines
* 2007-06-05 Patrick Mansfield <patman@us.ibm.com>Jeff Johnston2007-06-0513-128/+101
| | | | | | | | | | | | | | | | | | | | | * spu/jsre.h: Remove the assist call structs and defines that are specific to one assist call from here. * spu/access.c: Move struct syscall_access_t to here. * spu/fstat.c: Move struct syscall_fstat_t to here. * spu/ftruncate.c: Move struct syscall_ftruncate_t to here. * spu/gettimeofday.c: Move struct syscall_gettimeofday_t to here. * spu/lseek.c: Move struct syscall_lseek_t and JSRE_SEEK defines to here. * spu/open.c: Move struct syscall_open_t and JSRE_O_ defines to here. * spu/read.c: Move struct syscall_read_t to here, and actually use it (it is the same as syscall_write_t). * spu/stat.c: Move struct syscall_stat_t to here. * spu/write.c: Move struct syscall_write_t to here. * spu/close.c: Pass the address of the first and only argument to __send_to_ppe rather than using an automatic variable and a special struct. * spu/dup.c: Ditto. * spu/unlink.c: Ditto.
* 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-05-2314-79/+25
| | | | | | | | | | | | | | | | | | | | * spu/syscalls.c: Change __send_to_ppe to return the result stored in stored in slot 0 of the data, rather than have each assisted call retrieve the value. * spu/jsre.h: Remove the now unused syscall_out_t. * spu/access.c: Use the __send_to_ppe result instead of the slot 0 value, remove unused syscall_out_t variable. * spu/close.c: Ditto. * spu/dup.c: Ditto. * spu/fstat.c: Ditto. * spu/ftruncate.c: Ditto. * spu/gettimeofday.c: Ditto. * spu/lseek.c: Ditto. * spu/open.c: Ditto. * spu/read.c: Ditto. * spu/stat.c: Ditto. * spu/unlink.c: Ditto. * spu/write.c: Ditto.
* 2007-05-07 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-05-071-14/+4
| | | | | * spu/open.c: Unconditionally set the "mode" to fix a bug where mode was not properly set.
* 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-04-0414-38/+17
| | | | | | | | | | | | | | | | | | | * spu/syscalls.c: Rename _send_to_ppe __send_to_ppe, and set errno on return from the offload call. * spu/jsre.h: Include sys/syscall.h for the send_to_ppe prototype. * spu/access.c: Call __send_to_ppe instead of _send_to_ppe, and remove the setting of errno. * spu/close.c: Ditto. * spu/dup.c: Ditto. * spu/fstat.c: Ditto. * spu/ftruncate.c: Ditto. * spu/gettimeofday.c: Ditto. * spu/lseek.c: Ditto. * spu/open.c: Ditto. * spu/read.c: Ditto. * spu/stat.c: Ditto. * spu/unlink.c: Ditto. * spu/write.c: Ditto.
* * spu/sbrk.c (sbrk): Adjust the stack pointer vector correctly soBen Elliston2007-03-011-8/+28
| | | | that GCC runtime stack checking works. Handle the backchain, too.
* 2007-02-21 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-02-213-13/+16
| | | | | | * libgloss/spu/gettimeofday.c: New file which adds SPU gettimeofday. * libgloss/spu/jsre.h: Remove time, add gettimeofday. * libgloss/spu/Makefile.in: Ditto.
* 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>Jeff Johnston2007-01-191-2/+1
| | | | * spu/syscalls.c: Replace vector with __vector.
* * spu/exit.c (_exit): Finish with an infinite loop to eliminate aBen Elliston2007-01-091-0/+3
| | | | warning about this noreturn function returning.
* 2007-01-02 Ben Elliston <bje@au.ibm.com>Jeff Johnston2007-01-021-1/+1
| | | | * spu/time.c (time): Cast new sys.time value to unsigned int.
* 2006-12-18 Ben Elliston <bje@au.ibm.com>Jeff Johnston2006-12-181-1/+1
| | | | * spu/stat.c (stat): Cast new sys.pathname value to unsigned int.
* 2006-12-13 Sa Liu <saliu@de.ibm.com>Jeff Johnston2006-12-136-1/+229
| | | | | | | | | * spu/access.c: New file * spu/dup.c: New file * spu/ftruncate.c: New file * spu/jsre.h: add structures for new functions * spu/time.c: New file * spu/Makefile.in (access.o, dup.o, ftruncate.o, time.o): New targets.
* * spu/exit.c (libgloss_exit): Rename from this ..Ben Elliston2006-12-111-11/+12
| | | | | (_exit): .. to this. Overhaul. (exit): Remove.
* Resurrect.Ben Elliston2006-12-101-0/+44
|
* Remove (missed in previous commit).Ben Elliston2006-12-101-56/+0
|
* 2006-12-08 Sa Liu <saliu@de.ibm.com>Jeff Johnston2006-12-088-85/+308
| | | | | | | | | | | | | | * spu/exit.c (libgloss_exit): Rename from this .. (_exit): .. to this. Overhaul. (exit): Remove. * spu/crt0.S, spu/crti.S, spu/crtn.S: New files. * spu/crt0.C, spu/init.c: Remove. * spu/configure.in (AC_INIT): Check for crt0.S, not crt0.C. * spu/configure: Regenerate. * spu/Makefile.in (crti.o, crtn.o, crt1.o, crt2.o): New targets. (OBJS): Remove init.o. (CRTOBJS): New. (OUTPUTS): Add $(CRTOBJS).
* 2006-11-22 Luca Barbato <lu_zero@gentoo.org>Jeff Johnston2006-11-221-1/+1
| | | | * spu/syscalls.c: Include spu_intrinsics.h to provide vector keyword.
* 2006-08-30 Kazunori Asayama <asayama@sm.sony.co.jp>Jeff Johnston2006-08-3010-11/+15
| | | | | | | | | | | | | | * spu/syscalls.c: Add a new argument to _send_to_ppe() to specify signal code. * spu/jsre.h: Update declaration of _send_to_ppe(). * spu/close.c: Replace _send_to_ppe_0x2101() by _send_to_ppe(). * spu/fstat.c: Ditto. * spu/lseek.c: Ditto. * spu/open.c: Ditto. * spu/read.c: Ditto. * spu/stat.c: Ditto. * spu/unlink.c: Ditto. * spu/write.c: Ditto.
* 2006-08-30 Kazunori Asayama <asayama@sm.sony.co.jp>Jeff Johnston2006-08-301-0/+2
| | | | * spu/Makefile.in: Add dependency.
* 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>Jeff Johnston2006-08-2314-244/+612
| | | | | | | | | | | | | | | | | * spu/Makefile.in: Add new object files. * spu/syscalls.c: Move each system call to individual file. * spu/jsre.h: Add declaration of _send_to_ppe_0x2101(). * spu/close.c: New file. Moved from spu/syscalls.c. * spu/fstat.c: Likewise. * spu/getpid.c: Likewise. * spu/isatty.c: Likewise. * spu/kill.c: Likewise. * spu/lseek.c: Likewise. * spu/open.c: Likewise. * spu/read.c: Likewise. * spu/stat.c: Likewise. * spu/unlink.c: Likewise. * spu/write.c: Likewise.
* 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>Jeff Johnston2006-08-161-1/+1
| | | | | * spu/Makefile.in: Add special compiler options to reduce size.
* 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>Jeff Johnston2006-08-162-0/+39
| | | | | | * spu/jsre.h(JSRE_STAT): New define. (syscall_stat_t): New type. * spu/syscalls.c(stat): New syscall.
* 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>Jeff Johnston2006-08-1610-0/+4323
* configure.in: Add spu support. * configure: Regenerated. * spu/Makefile.in: New file. * spu/aclocal.m4: Ditto. * spu/configure: Ditto. * spu/configure.in: Ditto. * spu/crt0.c: Ditto. * spu/exit.c: Ditto. * spu/init.c: Ditto. * spu/jsre.h: Ditto. * spu/sbrk.c: Ditto. * spu/syscalls.c: Ditto.