1 #ifndef _NIOSKNOMMU_UCONTEXT_H
2 #define _NIOSKNOMMU_UCONTEXT_H
4 /*--------------------------------------------------------------------
6 * include/asm-nios2nommu/ucontext.h
8 * Derived from M68knommu
10 * Copyright (C) 2004 Microtronix Datacom Ltd
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
23 * Jan/20/2004 dgt NiosII
25 ---------------------------------------------------------------------*/
30 typedef greg_t gregset_t
[NGREG
];
33 typedef struct fpregset
{
50 #define MCONTEXT_VERSION 2
53 unsigned long uc_flags
;
54 struct ucontext
*uc_link
;
56 struct mcontext uc_mcontext
;
58 unsigned long uc_filler
[80];
60 sigset_t uc_sigmask
; /* mask last for extensibility */