/usr/src/linux-headers-5.15.0-190/arch/ia64/include/asm
NameSizeModeActions
native/-0755rm
sn/-0755rm
uv/-0755rm
acenv.h11530644editdlrm
acpi-ext.h4440644editdlrm
acpi.h27720644editdlrm
agp.h8630644editdlrm
asm-offsets.h350644editdlrm
asm-prototypes.h8920644editdlrm
asmmacro.h33720644editdlrm
atomic.h63900644editdlrm
barrier.h24140644editdlrm
bitops.h111120644editdlrm
bug.h4040644editdlrm
cache.h7520644editdlrm
cacheflush.h9030644editdlrm
checksum.h17460644editdlrm
clocksource.h2760644editdlrm
cmpxchg.h4790644editdlrm
cpu.h4560644editdlrm
cputime.h6480644editdlrm
current.h4180644editdlrm
cyclone.h4420644editdlrm
delay.h17380644editdlrm
device.h2360644editdlrm
div64.h310644editdlrm
dma-mapping.h3820644editdlrm
dma.h3510644editdlrm
dmi.h3430644editdlrm
early_ioremap.h4280644editdlrm
efi.h3740644editdlrm
elf.h100250644editdlrm
emergency-restart.h1490644editdlrm
esi.h8870644editdlrm
exception.h6090644editdlrm
export.h1150644editdlrm
extable.h3300644editdlrm
fb.h5690644editdlrm
fpswa.h19250644editdlrm
ftrace.h7480644editdlrm
futex.h26160644editdlrm
gcc_intrin.h3680644editdlrm
hardirq.h5610644editdlrm
hugetlb.h9330644editdlrm
hw_irq.h57760644editdlrm
idle.h2000644editdlrm
intrinsics.h3060644editdlrm
io.h75270644editdlrm
iommu.h5050644editdlrm
iommu_table.h1750644editdlrm
iosapic.h27520644editdlrm
irq.h9600644editdlrm
irqflags.h20960644editdlrm
irq_regs.h340644editdlrm
irq_remapping.h1420644editdlrm
Kbuild1390644editdlrm
kdebug.h10110644editdlrm
kexec.h16060644editdlrm
kprobes.h31480644editdlrm
kregs.h68900644editdlrm
libata-portmap.h2250644editdlrm
linkage.h3980644editdlrm
local.h310644editdlrm
mca.h60090644editdlrm
mca_asm.h73560644editdlrm
meminit.h17510644editdlrm
mman.h4320644editdlrm
mmiowb.h4330644editdlrm
mmu.h3740644editdlrm
mmu_context.h53040644editdlrm
mmzone.h8690644editdlrm
module.h11540644editdlrm
module.lds.h3940644editdlrm
msidef.h14380644editdlrm
nodedata.h18980644editdlrm
numa.h23380644editdlrm
page.h58560644editdlrm
pal.h546740644editdlrm
param.h4390644editdlrm
parport.h5340644editdlrm
patch.h12140644editdlrm
pci.h20070644editdlrm
percpu.h13540644editdlrm
pgalloc.h15690644editdlrm
pgtable.h198460644editdlrm
processor.h178760644editdlrm
ptrace.h52580644editdlrm
sal.h271890644editdlrm
sections.h16790644editdlrm
serial.h4460644editdlrm
shmparam.h4450644editdlrm
signal.h7490644editdlrm
smp.h25140644editdlrm
sparsemem.h7850644editdlrm
spinlock.h71490644editdlrm
spinlock_types.h4750644editdlrm
string.h6590644editdlrm
switch_to.h27020644editdlrm
syscall.h18200644editdlrm
termios.h19230644editdlrm
thread_info.h49060644editdlrm
timex.h15020644editdlrm
tlb.h15770644editdlrm
tlbflush.h31650644editdlrm
topology.h14080644editdlrm
types.h8280644editdlrm
uaccess.h97300644editdlrm
uncached.h3140644editdlrm
unistd.h9870644editdlrm
unwind.h58730644editdlrm
user.h22990644editdlrm
ustack.h4030644editdlrm
vermagic.h3410644editdlrm
vga.h6490644editdlrm
vmalloc.h900644editdlrm
xor.h7430644editdlrm
xtp.h9380644editdlrm
Edit: /usr/src/linux-headers-5.15.0-190/arch/ia64/include/asm/unwind.h (5873B)
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_IA64_UNWIND_H #define _ASM_IA64_UNWIND_H /* * Copyright (C) 1999-2000, 2003 Hewlett-Packard Co * David Mosberger-Tang * * A simple API for unwinding kernel stacks. This is used for * debugging and error reporting purposes. The kernel doesn't need * full-blown stack unwinding with all the bells and whitles, so there * is not much point in implementing the full IA-64 unwind API (though * it would of course be possible to implement the kernel API on top * of it). */ struct task_struct; /* forward declaration */ struct switch_stack; /* forward declaration */ enum unw_application_register { UNW_AR_BSP, UNW_AR_BSPSTORE, UNW_AR_PFS, UNW_AR_RNAT, UNW_AR_UNAT, UNW_AR_LC, UNW_AR_EC, UNW_AR_FPSR, UNW_AR_RSC, UNW_AR_CCV, UNW_AR_CSD, UNW_AR_SSD }; /* * The following declarations are private to the unwind * implementation: */ struct unw_stack { unsigned long limit; unsigned long top; }; #define UNW_FLAG_INTERRUPT_FRAME (1UL << 0) /* * No user of this module should every access this structure directly * as it is subject to change. It is declared here solely so we can * use automatic variables. */ struct unw_frame_info { struct unw_stack regstk; struct unw_stack memstk; unsigned int flags; short hint; short prev_script; /* current frame info: */ unsigned long bsp; /* backing store pointer value */ unsigned long sp; /* stack pointer value */ unsigned long psp; /* previous sp value */ unsigned long ip; /* instruction pointer value */ unsigned long pr; /* current predicate values */ unsigned long *cfm_loc; /* cfm save location (or NULL) */ unsigned long pt; /* struct pt_regs location */ struct task_struct *task; struct switch_stack *sw; /* preserved state: */ unsigned long *bsp_loc; /* previous bsp save location */ unsigned long *bspstore_loc; unsigned long *pfs_loc; unsigned long *rnat_loc; unsigned long *rp_loc; unsigned long *pri_unat_loc; unsigned long *unat_loc; unsigned long *pr_loc; unsigned long *lc_loc; unsigned long *fpsr_loc; struct unw_ireg { unsigned long *loc; struct unw_ireg_nat { unsigned long type : 3; /* enum unw_nat_type */ signed long off : 61; /* NaT word is at loc+nat.off */ } nat; } r4, r5, r6, r7; unsigned long *b1_loc, *b2_loc, *b3_loc, *b4_loc, *b5_loc; struct ia64_fpreg *f2_loc, *f3_loc, *f4_loc, *f5_loc, *fr_loc[16]; }; /* * The official API follows below: */ struct unw_table_entry { u64 start_offset; u64 end_offset; u64 info_offset; }; /* * Initialize unwind support. */ extern void unw_init (void); extern void *unw_add_unwind_table (const char *name, unsigned long segment_base, unsigned long gp, const void *table_start, const void *table_end); extern void unw_remove_unwind_table (void *handle); /* * Prepare to unwind blocked task t. */ extern void unw_init_from_blocked_task (struct unw_frame_info *info, struct task_struct *t); extern void unw_init_frame_info (struct unw_frame_info *info, struct task_struct *t, struct switch_stack *sw); /* * Prepare to unwind the currently running thread. */ extern void unw_init_running (void (*callback)(struct unw_frame_info *info, void *arg), void *arg); /* * Unwind to previous to frame. Returns 0 if successful, negative * number in case of an error. */ extern int unw_unwind (struct unw_frame_info *info); /* * Unwind until the return pointer is in user-land (or until an error * occurs). Returns 0 if successful, negative number in case of * error. */ extern int unw_unwind_to_user (struct unw_frame_info *info); #define unw_is_intr_frame(info) (((info)->flags & UNW_FLAG_INTERRUPT_FRAME) != 0) static inline int unw_get_ip (struct unw_frame_info *info, unsigned long *valp) { *valp = (info)->ip; return 0; } static inline int unw_get_sp (struct unw_frame_info *info, unsigned long *valp) { *valp = (info)->sp; return 0; } static inline int unw_get_psp (struct unw_frame_info *info, unsigned long *valp) { *valp = (info)->psp; return 0; } static inline int unw_get_bsp (struct unw_frame_info *info, unsigned long *valp) { *valp = (info)->bsp; return 0; } static inline int unw_get_cfm (struct unw_frame_info *info, unsigned long *valp) { *valp = *(info)->cfm_loc; return 0; } static inline int unw_set_cfm (struct unw_frame_info *info, unsigned long val) { *(info)->cfm_loc = val; return 0; } static inline int unw_get_rp (struct unw_frame_info *info, unsigned long *val) { if (!info->rp_loc) return -1; *val = *info->rp_loc; return 0; } extern int unw_access_gr (struct unw_frame_info *, int, unsigned long *, char *, int); extern int unw_access_br (struct unw_frame_info *, int, unsigned long *, int); extern int unw_access_fr (struct unw_frame_info *, int, struct ia64_fpreg *, int); extern int unw_access_ar (struct unw_frame_info *, int, unsigned long *, int); extern int unw_access_pr (struct unw_frame_info *, unsigned long *, int); static inline int unw_set_gr (struct unw_frame_info *i, int n, unsigned long v, char nat) { return unw_access_gr(i, n, &v, &nat, 1); } static inline int unw_set_br (struct unw_frame_info *i, int n, unsigned long v) { return unw_access_br(i, n, &v, 1); } static inline int unw_set_fr (struct unw_frame_info *i, int n, struct ia64_fpreg v) { return unw_access_fr(i, n, &v, 1); } static inline int unw_set_ar (struct unw_frame_info *i, int n, unsigned long v) { return unw_access_ar(i, n, &v, 1); } static inline int unw_set_pr (struct unw_frame_info *i, unsigned long v) { return unw_access_pr(i, &v, 1); } #define unw_get_gr(i,n,v,nat) unw_access_gr(i,n,v,nat,0) #define unw_get_br(i,n,v) unw_access_br(i,n,v,0) #define unw_get_fr(i,n,v) unw_access_fr(i,n,v,0) #define unw_get_ar(i,n,v) unw_access_ar(i,n,v,0) #define unw_get_pr(i,v) unw_access_pr(i,v,0) #endif /* _ASM_UNWIND_H */