ksrc/nucleus/shadow.c File Reference


Detailed Description

Real-time shadow services.

Author:
Philippe Gerum
Copyright (C) 2001,2002,2003,2004,2005,2006 Philippe Gerum <rpm@xenomai.org>. Copyright (C) 2004 The RTAI project <http://www.rtai.org> Copyright (C) 2004 The HYADES project <http://www.hyades-itea.org> Copyright (C) 2005 The Xenomai project <http://www.xenomai.org> Copyright (C) 2006 Gilles Chanteperdrix <gilles.chanteperdrix@laposte.net>

Xenomai 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.

Xenomai 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. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Xenomai; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

#include <stdarg.h>
#include <linux/unistd.h>
#include <linux/wait.h>
#include <linux/init.h>
#include <linux/kthread.h>
#include <asm/signal.h>
#include <nucleus/pod.h>
#include <nucleus/heap.h>
#include <nucleus/synch.h>
#include <nucleus/module.h>
#include <nucleus/shadow.h>
#include <nucleus/core.h>
#include <nucleus/ltt.h>
#include <nucleus/jhash.h>
#include <nucleus/ppd.h>
#include <nucleus/trace.h>
#include <nucleus/stat.h>
#include <asm/xenomai/features.h>
#include <asm/xenomai/syscall.h>
#include <asm/xenomai/bits/shadow.h>
#include <nucleus/assert.h>

Functions

int xnshadow_harden (void)
 Migrate a Linux task to the Xenomai domain.
void xnshadow_relax (int notify)
 Switch a shadow thread back to the Linux domain.
int xnshadow_map (xnthread_t *thread, xncompletion_t __user *u_completion)
 Create a shadow thread context.
xnshadow_ppd_t * xnshadow_ppd_get (unsigned muxid)
 Return the per-process data attached to the calling process.


Generated on Mon Dec 25 13:57:10 2006 for Xenomai API by  doxygen 1.4.6