Path: blob/master/arch/unicore32/include/asm/sigcontext.h
10820 views
/*1* linux/arch/unicore32/include/asm/sigcontext.h2*3* Code specific to PKUnity SoC and UniCore ISA4*5* Copyright (C) 2001-2010 GUAN Xue-tao6*7* This program is free software; you can redistribute it and/or modify8* it under the terms of the GNU General Public License version 2 as9* published by the Free Software Foundation.10*/11#ifndef __UNICORE_SIGCONTEXT_H__12#define __UNICORE_SIGCONTEXT_H__1314#include <asm/ptrace.h>15/*16* Signal context structure - contains all info to do with the state17* before the signal handler was invoked. Note: only add new entries18* to the end of the structure.19*/20struct sigcontext {21unsigned long trap_no;22unsigned long error_code;23unsigned long oldmask;24unsigned long fault_address;25struct pt_regs regs;26};2728#endif293031