On Mon, Apr 02, 2007 at 02:01:22PM -0400, Jeff Johnston wrote:
Anyway, regarding the header file: sys/send_to_ppe.h. Did you intend
to expose this to the end-user? If not, then it should just be a
Yes, mainly for a send_to_ppe that can be supplied outside of newlib, not
really for general user space usage, though it could be used to implement
offloaded calls to the ppc that are not yet in newlib (send_to_ppe
triggers an offload call to the ppc).
local.h file in the machine/spu directory that all the files can access
and you can resubmit. Otherwise, you might consider putting in a
sys/syscall.h header file. Let me know.
There are syscall.h header files are all over the place, I was trying to
put one under newlib/libc/sys/spu/sys, does that sound like the right
place? The send_to_ppe (for use by both newlib and libgloss callers) will
be in libgloss/spu/syscalls.c
And then how do I get it copied to the build (and install) trees? I'm
trying to figure out if it is configure.in, Makefile.am or something else.
I can't tell if other syscall.h files are copied or not, the "general" one
under at libgloss/syscall.h is not installed or AFAICT copied to the
build area.