blob: 204ae3475b4e5aa175c801bb3475ed8c948ee644 [file] [log] [blame]
Greg Kroah-Hartmane2be04c2017-11-01 15:09:13 +01001/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
Ley Foon Tanb53e9062014-11-06 15:19:59 +08002/*
3 * Copyright (C) 2004, Microtronix Datacom Ltd.
4 *
5 * All rights reserved.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
15 * NON INFRINGEMENT. See the GNU General Public License for more
16 * details.
17 */
18
Chung-Ling Tang92d5dd82015-03-12 13:34:31 +080019#ifndef _UAPI__ASM_SIGCONTEXT_H
20#define _UAPI__ASM_SIGCONTEXT_H
Ley Foon Tanb53e9062014-11-06 15:19:59 +080021
Chung-Ling Tang92d5dd82015-03-12 13:34:31 +080022#include <linux/types.h>
23
24#define MCONTEXT_VERSION 2
Ley Foon Tanb53e9062014-11-06 15:19:59 +080025
26struct sigcontext {
Chung-Ling Tang92d5dd82015-03-12 13:34:31 +080027 int version;
28 unsigned long gregs[32];
Ley Foon Tanb53e9062014-11-06 15:19:59 +080029};
30
31#endif