/* KallistiOS 1.2.0

   os/abi/spu.h
   (c)2000-2001 Dan Potter

   $Id: spu.h,v 1.1 2003/02/27 03:46:31 bardtx Exp $

*/

#ifndef __OS_ABI_SPU_H
#define __OS_ABI_SPU_H

#include <sys/cdefs.h>
__BEGIN_DECLS

#include <os/process.h>
#include <dc/spu.h>

typedef struct {
	service_abi_t	hdr;		/* Header info */

	void	(*write_wait)();
	void	(*memload)(uint32 to, uint8* from, int length);
	void	(*memset)(uint32 to, uint32 what, int length);
	void	(*enable)();
	void	(*disable)();
} abi_spu_t;

__END_DECLS

#endif	/* __OS_ABI_SPU_H */

