lkml.org 
[lkml]   [2005]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 7/8] ppc64: SPU file system
From
Date

> /run A stub file that lets us do ioctl. The only ioctl
> method we need is the spu_run() call. spu_run suspends
> the current thread from the host CPU and transfers
> the flow of execution to the SPU.
> The ioctl call return to the calling thread when a state
> is entered that can not be handled by the kernel, e.g.
> an error in the SPU code or an exit() from it.
> When a signal is pending for the host CPU thread, the
> ioctl is interrupted and the SPU stopped in order to
> call the signal handler.

ioctl's are generally considered evil ... what about a write() method
writing a command ?

Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-14 01:45    [W:0.232 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site