Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
signal_32.c File Reference
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/wait.h>
#include <linux/ptrace.h>
#include <linux/unistd.h>
#include <linux/mm.h>
#include <linux/tty.h>
#include <linux/smp.h>
#include <linux/binfmts.h>
#include <linux/bitops.h>
#include <linux/tracehook.h>
#include <asm/uaccess.h>
#include <asm/ptrace.h>
#include <asm/pgalloc.h>
#include <asm/pgtable.h>
#include <asm/cacheflush.h>
#include <asm/switch_to.h>
#include "sigutil.h"

Go to the source code of this file.

Data Structures

struct  signal_frame
 
struct  rt_signal_frame
 

Macros

#define SF_ALIGNEDSZ   (((sizeof(struct signal_frame) + 7) & (~7)))
 
#define RT_ALIGNEDSZ   (((sizeof(struct rt_signal_frame) + 7) & (~7)))
 

Functions

void fpsave (unsigned long *fpregs, unsigned long *fsr, void *fpqueue, unsigned long *fpqdepth)
 
void fpload (unsigned long *fpregs, unsigned long *fsr)
 
struct signal_frame __attribute__ ((aligned(8)))
 Packet vector entry.
 
asmlinkage int sys_sigsuspend (old_sigset_t set)
 
asmlinkage void do_sigreturn (struct pt_regs *regs)
 
asmlinkage void do_rt_sigreturn (struct pt_regs *regs)
 
void do_notify_resume (struct pt_regs *regs, unsigned long orig_i0, unsigned long thread_info_flags)
 
asmlinkage int do_sys_sigstack (struct sigstack __user *ssptr, struct sigstack __user *ossptr, unsigned long sp)
 

Variables

struct sparc_stackf ss
 
__siginfo32_t info
 
__siginfo_fpu_t __userfpu_save
 
unsigned int extramask [_NSIG_WORDS-1]
 
unsigned int extra_size
 
__siginfo_rwin_t __userrwin_save
 
struct pt_regs regs
 
sigset_t mask
 
unsigned int insns [2]
 
stack_t stack
 

Macro Definition Documentation

#define RT_ALIGNEDSZ   (((sizeof(struct rt_signal_frame) + 7) & (~7)))

Definition at line 60 of file signal_32.c.

#define SF_ALIGNEDSZ   (((sizeof(struct signal_frame) + 7) & (~7)))

Definition at line 59 of file signal_32.c.

Function Documentation

Packet vector entry.

This data structure is used with netio_send_packet_vector() to send multiple packets with one NetIO call. The structure should be initialized by calling netio_pkt_vector_set(), rather than by setting the fields directly.

This structure is guaranteed to be a power of two in size, no bigger than one L2 cache line, and to be aligned modulo its size.

Reserved for use by the user application. When initialized with the netio_set_pkt_vector_entry() function, this field is guaranteed to be visible to readers only after all other fields are already visible. This way it can be used as a valid flag or generation counter.

Low 8 bits of the packet address to send. The high bits are acquired from the 'handle' field.

Number of bytes to transmit.

The raw handle from a netio_pkt_t. If this is NETIO_PKT_HANDLE_NONE, this vector entry will be skipped and no packet will be transmitted.

Definition at line 9 of file extable.c.

void do_notify_resume ( struct pt_regs regs,
unsigned long  orig_i0,
unsigned long  thread_info_flags 
)

Definition at line 562 of file signal_32.c.

asmlinkage void do_rt_sigreturn ( struct pt_regs regs)

Definition at line 138 of file signal_32.c.

asmlinkage void do_sigreturn ( struct pt_regs regs)

Definition at line 74 of file signal_32.c.

asmlinkage int do_sys_sigstack ( struct sigstack __user ssptr,
struct sigstack __user ossptr,
unsigned long  sp 
)

Definition at line 574 of file signal_32.c.

void fpload ( unsigned long fpregs,
unsigned long fsr 
)
void fpsave ( unsigned long fpregs,
unsigned long fsr,
void fpqueue,
unsigned long fpqdepth 
)
asmlinkage int sys_sigsuspend ( old_sigset_t  set)

Definition at line 69 of file signal_32.c.

Variable Documentation

unsigned int extra_size

Definition at line 50 of file signal_32.c.

unsigned int extramask[_NSIG_WORDS-1]

Definition at line 49 of file signal_32.c.

Definition at line 47 of file signal_32.c.

siginfo_t info

Definition at line 46 of file signal_32.c.

unsigned int insns[2]

Definition at line 62 of file signal_32.c.

sigset_t mask

Definition at line 60 of file signal_32.c.

Definition at line 59 of file signal_32.c.

Definition at line 51 of file signal_32.c.

Definition at line 45 of file signal_32.c.

Definition at line 63 of file signal_32.c.