Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this organization
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mariux64
/
linux
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
2
Pull requests
0
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Files
7f30491
Documentation
arch
alpha
arm
avr32
blackfin
cris
frv
h8300
ia64
configs
dig
hp
ia32
include/asm
native
sn
uv
Kbuild
a.out.h
acpi-ext.h
acpi.h
agp.h
asmmacro.h
atomic.h
auxvec.h
bitops.h
break.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
compat.h
cpu.h
cputime.h
current.h
cyclone.h
delay.h
device.h
div64.h
dma-mapping.h
dma.h
dmi.h
elf.h
emergency-restart.h
errno.h
esi.h
fb.h
fcntl.h
fpswa.h
fpu.h
futex.h
gcc_intrin.h
hardirq.h
hpsim.h
hugetlb.h
hw_irq.h
ia32.h
ia64regs.h
intel_intrin.h
intrinsics.h
io.h
ioctl.h
ioctls.h
iosapic.h
ipcbuf.h
irq.h
irq_regs.h
kdebug.h
kexec.h
kmap_types.h
kprobes.h
kregs.h
kvm.h
kvm_host.h
kvm_para.h
libata-portmap.h
linkage.h
local.h
machvec.h
machvec_dig.h
machvec_hpsim.h
machvec_hpzx1.h
machvec_hpzx1_swiotlb.h
machvec_init.h
machvec_sn2.h
machvec_uv.h
mc146818rtc.h
mca.h
mca_asm.h
meminit.h
mman.h
mmu.h
mmu_context.h
mmzone.h
module.h
msgbuf.h
mutex.h
nodedata.h
numa.h
page.h
pal.h
param.h
paravirt.h
paravirt_privop.h
parport.h
patch.h
pci.h
percpu.h
perfmon.h
perfmon_default_smpl.h
pgalloc.h
pgtable.h
poll.h
posix_types.h
processor.h
ptrace.h
ptrace_offsets.h
resource.h
rse.h
rwsem.h
sal.h
scatterlist.h
sections.h
segment.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
socket.h
sockios.h
sparsemem.h
spinlock.h
spinlock_types.h
stat.h
statfs.h
string.h
suspend.h
system.h
termbits.h
termios.h
thread_info.h
timex.h
tlb.h
tlbflush.h
topology.h
types.h
uaccess.h
ucontext.h
unaligned.h
uncached.h
unistd.h
unwind.h
user.h
ustack.h
vga.h
xor.h
kernel
kvm
lib
mm
oprofile
pci
scripts
sn
uv
Kconfig
Kconfig.debug
Makefile
install.sh
module.lds
m32r
m68k
m68knommu
mips
mn10300
parisc
powerpc
s390
sh
sparc
sparc64
um
x86
xtensa
.gitignore
Kconfig
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
MAINTAINERS
Makefile
README
REPORTING-BUGS
Breadcrumbs
linux
/
arch
/
ia64
/
include
/
asm
/
sigcontext.h
Copy path
Blame
Blame
Latest commit
History
History
70 lines (59 loc) · 3.01 KB
Breadcrumbs
linux
/
arch
/
ia64
/
include
/
asm
/
sigcontext.h
Top
File metadata and controls
Code
Blame
70 lines (59 loc) · 3.01 KB
Raw
#ifndef _ASM_IA64_SIGCONTEXT_H #define _ASM_IA64_SIGCONTEXT_H /* * Copyright (C) 1998, 1999, 2001 Hewlett-Packard Co * Copyright (C) 1998, 1999, 2001 David Mosberger-Tang <davidm@hpl.hp.com> */ #include <asm/fpu.h> #define IA64_SC_FLAG_ONSTACK_BIT 0 /* is handler running on signal stack? */ #define IA64_SC_FLAG_IN_SYSCALL_BIT 1 /* did signal interrupt a syscall? */ #define IA64_SC_FLAG_FPH_VALID_BIT 2 /* is state in f[32]-f[127] valid? */ #define IA64_SC_FLAG_ONSTACK (1 << IA64_SC_FLAG_ONSTACK_BIT) #define IA64_SC_FLAG_IN_SYSCALL (1 << IA64_SC_FLAG_IN_SYSCALL_BIT) #define IA64_SC_FLAG_FPH_VALID (1 << IA64_SC_FLAG_FPH_VALID_BIT) # ifndef __ASSEMBLY__ /* * Note on handling of register backing store: sc_ar_bsp contains the address that would * be found in ar.bsp after executing a "cover" instruction the context in which the * signal was raised. If signal delivery required switching to an alternate signal stack * (sc_rbs_base is not NULL), the "dirty" partition (as it would exist after executing the * imaginary "cover" instruction) is backed by the *alternate* signal stack, not the * original one. In this case, sc_rbs_base contains the base address of the new register * backing store. The number of registers in the dirty partition can be calculated as: * * ndirty = ia64_rse_num_regs(sc_rbs_base, sc_rbs_base + (sc_loadrs >> 16)) * */ struct sigcontext { unsigned long sc_flags; /* see manifest constants above */ unsigned long sc_nat; /* bit i == 1 iff scratch reg gr[i] is a NaT */ stack_t sc_stack; /* previously active stack */ unsigned long sc_ip; /* instruction pointer */ unsigned long sc_cfm; /* current frame marker */ unsigned long sc_um; /* user mask bits */ unsigned long sc_ar_rsc; /* register stack configuration register */ unsigned long sc_ar_bsp; /* backing store pointer */ unsigned long sc_ar_rnat; /* RSE NaT collection register */ unsigned long sc_ar_ccv; /* compare and exchange compare value register */ unsigned long sc_ar_unat; /* ar.unat of interrupted context */ unsigned long sc_ar_fpsr; /* floating-point status register */ unsigned long sc_ar_pfs; /* previous function state */ unsigned long sc_ar_lc; /* loop count register */ unsigned long sc_pr; /* predicate registers */ unsigned long sc_br[8]; /* branch registers */ /* Note: sc_gr[0] is used as the "uc_link" member of ucontext_t */ unsigned long sc_gr[32]; /* general registers (static partition) */ struct ia64_fpreg sc_fr[128]; /* floating-point registers */ unsigned long sc_rbs_base; /* NULL or new base of sighandler's rbs */ unsigned long sc_loadrs; /* see description above */ unsigned long sc_ar25; /* cmp8xchg16 uses this */ unsigned long sc_ar26; /* rsvd for scratch use */ unsigned long sc_rsvd[12]; /* reserved for future use */ /* * The mask must come last so we can increase _NSIG_WORDS * without breaking binary compatibility. */ sigset_t sc_mask; /* signal mask to restore after handler returns */ }; # endif /* __ASSEMBLY__ */ #endif /* _ASM_IA64_SIGCONTEXT_H */
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
You can’t perform that action at this time.