/* KallistiOS 1.2.0

   os/abi/process.h
   (c)2000-2001 Jordan DeLong

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

*/

#ifndef __OS_ABI_PROCESS_H
#define __OS_ABI_PROCESS_H

#include <sys/cdefs.h>
__BEGIN_DECLS

#include <os/process.h>
#include <os/elf.h>

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

	elf_prog_t*	(*load)(const char *fn);
	int		(*load_and_exec)(const char *fn, int argc, char **argv);
	kthread_t*	(*load_and_fork)(const char *fn, int argc, char **argv);
} abi_process_t;

__END_DECLS

#endif	/* __OS_ABI_PROCESS_H */

