1*384740dcSRalf Baechle /* 2*384740dcSRalf Baechle * Copyright (C) 2005 MIPS Technologies, Inc. All rights reserved. 3*384740dcSRalf Baechle * 4*384740dcSRalf Baechle * This program is free software; you can distribute it and/or modify it 5*384740dcSRalf Baechle * under the terms of the GNU General Public License (Version 2) as 6*384740dcSRalf Baechle * published by the Free Software Foundation. 7*384740dcSRalf Baechle * 8*384740dcSRalf Baechle * This program is distributed in the hope it will be useful, but WITHOUT 9*384740dcSRalf Baechle * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 10*384740dcSRalf Baechle * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 11*384740dcSRalf Baechle * for more details. 12*384740dcSRalf Baechle * 13*384740dcSRalf Baechle * You should have received a copy of the GNU General Public License along 14*384740dcSRalf Baechle * with this program; if not, write to the Free Software Foundation, Inc., 15*384740dcSRalf Baechle * 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. 16*384740dcSRalf Baechle * 17*384740dcSRalf Baechle */ 18*384740dcSRalf Baechle 19*384740dcSRalf Baechle #ifndef _ASM_VPE_H 20*384740dcSRalf Baechle #define _ASM_VPE_H 21*384740dcSRalf Baechle 22*384740dcSRalf Baechle struct vpe_notifications { 23*384740dcSRalf Baechle void (*start)(int vpe); 24*384740dcSRalf Baechle void (*stop)(int vpe); 25*384740dcSRalf Baechle 26*384740dcSRalf Baechle struct list_head list; 27*384740dcSRalf Baechle }; 28*384740dcSRalf Baechle 29*384740dcSRalf Baechle 30*384740dcSRalf Baechle extern int vpe_notify(int index, struct vpe_notifications *notify); 31*384740dcSRalf Baechle 32*384740dcSRalf Baechle extern void *vpe_get_shared(int index); 33*384740dcSRalf Baechle extern int vpe_getuid(int index); 34*384740dcSRalf Baechle extern int vpe_getgid(int index); 35*384740dcSRalf Baechle extern char *vpe_getcwd(int index); 36*384740dcSRalf Baechle 37*384740dcSRalf Baechle #endif /* _ASM_VPE_H */ 38