OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-parisc/] [rt_sigframe.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#ifndef _ASM_PARISC_RT_SIGFRAME_H
2
#define _ASM_PARISC_RT_SIGFRAME_H
3
 
4
struct rt_sigframe {
5
        unsigned int tramp[4];
6
        struct siginfo info;
7
        struct ucontext uc;
8
};
9
 
10
/*
11
 * The 32-bit ABI wants at least 48 bytes for a function call frame:
12
 * 16 bytes for arg0-arg3, and 32 bytes for magic (the only part of
13
 * which Linux/parisc uses is sp-20 for the saved return pointer...)
14
 * Then, the stack pointer must be rounded to a cache line (64 bytes).
15
 */
16
#define PARISC_RT_SIGFRAME_SIZE                                 \
17
        (((sizeof(struct rt_sigframe) + 48) + 63) & -64)
18
 
19
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.