[SSI] openssi/kernel/include/cluster/gen rproc_arch_x86_64.x, NONE, 1.1.2.1

John Hughes <[email protected]> Sat, 13 Feb 2010 14:36:16 +0000
Newsgroups gmane.linux.cluster.ssic.cvs
Message-ID <[email protected]>
Update of /cvsroot/ssic-linux/openssi/kernel/include/cluster/gen
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv27428/include/cluster/gen

Added Files:
      Tag: OPENSSI-FC
	rproc_arch_x86_64.x 
Log Message:
Add files needed for x86_64

--- NEW FILE: rproc_arch_x86_64.x ---
%/*
% * 	rproc_arch.x
% *	Copyright 2001 Compaq Computer Corporation
% *
% *	This program is free software; you can redistribute it and/or
% *	modify it under the terms of the GNU General Public License as
% *	published by the Free Software Foundation; either version 2 of
% *	the License, or (at your option) any later version.
% *
% *	This program is distributed in the hope that it will be useful,
% *	but WITHOUT ANY WARRANTY; without even the implied warranty of
% *	MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE
% *	or NON INFRINGEMENT.  See the GNU General Public License for more
% *	details.
% *
% * 	You should have received a copy of the GNU General Public License
% * 	along with this program; if not, write to the Free Software
% * 	Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
% *
% *	Questions/Comments/Bugfixes to [email protected]
% *
% * x86_64
% */

struct rvp_arch_data {
	struct thread_struct arch_thread;
	mm_context_t arch_context;
};

struct rvp_thread_info_t {
	/* task: local only */
	/* exec_domain: setting personality should handle this */
	arch_ulong	rvp_ti_flags;
	/* status cpu preempt_count: local only */
	/* addr_limit: can only be USER_DS */
	/* restart_block, previous_esp, supervisor_stack: local only */
};

#ifdef RPC_HDR
%extern int thread_info_unload_msg(rvp_thread_info_t *, int);
%extern void thread_info_remove_msg(rvp_thread_info_t *);
%extern bool_t xdr_thread_struct(XDR *, struct thread_struct *);
%extern bool_t xdr_mm_context_t(XDR *, mm_context_t *);
#endif /* RPC_HDR */

#ifdef RPC_XDR
%bool_t
%xdr_arch_regs_stack(XDR *xdrs, struct arch_regs_stack *objp)
%{
%	return xdr_opaque(xdrs, (void *)objp, sizeof(*objp));
%}
%
%bool_t
%xdr_thread_struct(XDR *xdrs, struct thread_struct *objp)
%{
%	return xdr_opaque(xdrs, (void *)objp, sizeof(*objp));
%}
#endif /* RPC_XDR */



------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev