/usr/src/linux-headers-5.15.0-190/arch/alpha/include/asm
NameSizeModeActions
a.out.h5740644editdlrm
agp.h4900644editdlrm
agp_backend.h9480644editdlrm
asm-offsets.h350644editdlrm
asm-prototypes.h5050644editdlrm
atomic.h87490644editdlrm
barrier.h5070644editdlrm
bitops.h90390644editdlrm
bug.h5710644editdlrm
cache.h5070644editdlrm
cacheflush.h20390644editdlrm
checksum.h20120644editdlrm
cmpxchg.h19280644editdlrm
compiler.h1580644editdlrm
console.h10840644editdlrm
core_apecs.h173380644editdlrm
core_cia.h158170644editdlrm
core_irongate.h67930644editdlrm
core_lca.h116500644editdlrm
core_marvel.h93820644editdlrm
core_mcpcia.h117470644editdlrm
core_polaris.h29870644editdlrm
core_t2.h195950644editdlrm
core_titan.h114710644editdlrm
core_tsunami.h84850644editdlrm
core_wildfire.h86550644editdlrm
delay.h2640644editdlrm
device.h1290644editdlrm
div64.h310644editdlrm
dma-mapping.h3420644editdlrm
dma.h126640644editdlrm
elf.h57650644editdlrm
emergency-restart.h1490644editdlrm
err_common.h33160644editdlrm
err_ev6.h1160644editdlrm
err_ev7.h44720644editdlrm
extable.h14590644editdlrm
floppy.h31710644editdlrm
fpu.h18200644editdlrm
ftrace.h120644editdlrm
futex.h20170644editdlrm
gct.h10420644editdlrm
hardirq.h2230644editdlrm
hwrpb.h70660644editdlrm
hw_irq.h3020644editdlrm
io.h148730644editdlrm
io_trivial.h32060644editdlrm
irq.h23630644editdlrm
irqflags.h11940644editdlrm
irq_regs.h340644editdlrm
jensen.h86030644editdlrm
Kbuild1410644editdlrm
kdebug.h320644editdlrm
linkage.h2560644editdlrm
local.h26540644editdlrm
machvec.h36210644editdlrm
mc146818rtc.h6800644editdlrm
mce.h41350644editdlrm
mmu.h2030644editdlrm
mmu_context.h72410644editdlrm
module.h3290644editdlrm
page.h23970644editdlrm
pal.h51270644editdlrm
param.h2840644editdlrm
parport.h5360644editdlrm
pci.h27330644editdlrm
percpu.h5270644editdlrm
perf_event.h1050644editdlrm
pgalloc.h7610644editdlrm
pgtable.h125770644editdlrm
processor.h16770644editdlrm
ptrace.h7540644editdlrm
rwonce.h8120644editdlrm
serial.h10340644editdlrm
setup.h14650644editdlrm
sfp-machine.h29290644editdlrm
shmparam.h1910644editdlrm
signal.h6270644editdlrm
smp.h13770644editdlrm
socket.h3100644editdlrm
sparsemem.h4100644editdlrm
special_insns.h9250644editdlrm
spinlock.h29150644editdlrm
spinlock_types.h4130644editdlrm
string.h24810644editdlrm
switch_to.h4060644editdlrm
syscall.h3790644editdlrm
termios.h30540644editdlrm
thread_info.h37490644editdlrm
timex.h8270644editdlrm
tlb.h2570644editdlrm
tlbflush.h34240644editdlrm
topology.h2710644editdlrm
types.h1430644editdlrm
uaccess.h97670644editdlrm
ucontext.h3480644editdlrm
unistd.h5610644editdlrm
user.h21920644editdlrm
vga.h20500644editdlrm
vmalloc.h930644editdlrm
word-at-a-time.h13760644editdlrm
wrperfmon.h26230644editdlrm
xchg.h52870644editdlrm
xor.h218330644editdlrm
Edit: /usr/src/linux-headers-5.15.0-190/arch/alpha/include/asm/elf.h (5765B)
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_ALPHA_ELF_H #define __ASM_ALPHA_ELF_H #include #include /* Special values for the st_other field in the symbol table. */ #define STO_ALPHA_NOPV 0x80 #define STO_ALPHA_STD_GPLOAD 0x88 /* * Alpha ELF relocation types */ #define R_ALPHA_NONE 0 /* No reloc */ #define R_ALPHA_REFLONG 1 /* Direct 32 bit */ #define R_ALPHA_REFQUAD 2 /* Direct 64 bit */ #define R_ALPHA_GPREL32 3 /* GP relative 32 bit */ #define R_ALPHA_LITERAL 4 /* GP relative 16 bit w/optimization */ #define R_ALPHA_LITUSE 5 /* Optimization hint for LITERAL */ #define R_ALPHA_GPDISP 6 /* Add displacement to GP */ #define R_ALPHA_BRADDR 7 /* PC+4 relative 23 bit shifted */ #define R_ALPHA_HINT 8 /* PC+4 relative 16 bit shifted */ #define R_ALPHA_SREL16 9 /* PC relative 16 bit */ #define R_ALPHA_SREL32 10 /* PC relative 32 bit */ #define R_ALPHA_SREL64 11 /* PC relative 64 bit */ #define R_ALPHA_GPRELHIGH 17 /* GP relative 32 bit, high 16 bits */ #define R_ALPHA_GPRELLOW 18 /* GP relative 32 bit, low 16 bits */ #define R_ALPHA_GPREL16 19 /* GP relative 16 bit */ #define R_ALPHA_COPY 24 /* Copy symbol at runtime */ #define R_ALPHA_GLOB_DAT 25 /* Create GOT entry */ #define R_ALPHA_JMP_SLOT 26 /* Create PLT entry */ #define R_ALPHA_RELATIVE 27 /* Adjust by program base */ #define R_ALPHA_BRSGP 28 #define R_ALPHA_TLSGD 29 #define R_ALPHA_TLS_LDM 30 #define R_ALPHA_DTPMOD64 31 #define R_ALPHA_GOTDTPREL 32 #define R_ALPHA_DTPREL64 33 #define R_ALPHA_DTPRELHI 34 #define R_ALPHA_DTPRELLO 35 #define R_ALPHA_DTPREL16 36 #define R_ALPHA_GOTTPREL 37 #define R_ALPHA_TPREL64 38 #define R_ALPHA_TPRELHI 39 #define R_ALPHA_TPRELLO 40 #define R_ALPHA_TPREL16 41 #define SHF_ALPHA_GPREL 0x10000000 /* Legal values for e_flags field of Elf64_Ehdr. */ #define EF_ALPHA_32BIT 1 /* All addresses are below 2GB */ /* * ELF register definitions.. */ /* * The OSF/1 version of makes gregset_t 46 entries long. * I have no idea why that is so. For now, we just leave it at 33 * (32 general regs + processor status word). */ #define ELF_NGREG 33 #define ELF_NFPREG 32 typedef unsigned long elf_greg_t; typedef elf_greg_t elf_gregset_t[ELF_NGREG]; typedef double elf_fpreg_t; typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; /* * This is used to ensure we don't load something for the wrong architecture. */ #define elf_check_arch(x) (((x)->e_machine == EM_ALPHA) && !((x)->e_flags & EF_ALPHA_32BIT)) /* * These are used to set parameters in the core dumps. */ #define ELF_CLASS ELFCLASS64 #define ELF_DATA ELFDATA2LSB #define ELF_ARCH EM_ALPHA #define ELF_EXEC_PAGESIZE 8192 /* This is the location that an ET_DYN program is loaded if exec'ed. Typical use of this is to invoke "./ld.so someprog" to test out a new version of the loader. We need to make sure that it is out of the way of the program that it will "exec", and that there is sufficient room for the brk. */ #define ELF_ET_DYN_BASE (TASK_UNMAPPED_BASE + 0x1000000) /* $0 is set by ld.so to a pointer to a function which might be registered using atexit. This provides a mean for the dynamic linker to call DT_FINI functions for shared libraries that have been loaded before the code runs. So that we can use the same startup file with static executables, we start programs with a value of 0 to indicate that there is no such function. */ #define ELF_PLAT_INIT(_r, load_addr) _r->r0 = 0 /* The registers are laid out in pt_regs for PAL and syscall convenience. Re-order them for the linear elf_gregset_t. */ struct pt_regs; struct thread_info; struct task_struct; extern void dump_elf_thread(elf_greg_t *dest, struct pt_regs *pt, struct thread_info *ti); #define ELF_CORE_COPY_REGS(DEST, REGS) \ dump_elf_thread(DEST, REGS, current_thread_info()); /* Similar, but for a thread other than current. */ extern int dump_elf_task(elf_greg_t *dest, struct task_struct *task); #define ELF_CORE_COPY_TASK_REGS(TASK, DEST) \ dump_elf_task(*(DEST), TASK) /* Similar, but for the FP registers. */ extern int dump_elf_task_fp(elf_fpreg_t *dest, struct task_struct *task); #define ELF_CORE_COPY_FPREGS(TASK, DEST) \ dump_elf_task_fp(*(DEST), TASK) /* This yields a mask that user programs can use to figure out what instruction set this CPU supports. This is trivial on Alpha, but not so on other machines. */ #define ELF_HWCAP (~amask(-1)) /* This yields a string that ld.so will use to load implementation specific libraries for optimization. This is more specific in intent than poking at uname or /proc/cpuinfo. */ #define ELF_PLATFORM \ ({ \ enum implver_enum i_ = implver(); \ ( i_ == IMPLVER_EV4 ? "ev4" \ : i_ == IMPLVER_EV5 \ ? (amask(AMASK_BWX) ? "ev5" : "ev56") \ : amask (AMASK_CIX) ? "ev6" : "ev67"); \ }) extern int alpha_l1i_cacheshape; extern int alpha_l1d_cacheshape; extern int alpha_l2_cacheshape; extern int alpha_l3_cacheshape; /* update AT_VECTOR_SIZE_ARCH if the number of NEW_AUX_ENT entries changes */ #define ARCH_DLINFO \ do { \ NEW_AUX_ENT(AT_L1I_CACHESHAPE, alpha_l1i_cacheshape); \ NEW_AUX_ENT(AT_L1D_CACHESHAPE, alpha_l1d_cacheshape); \ NEW_AUX_ENT(AT_L2_CACHESHAPE, alpha_l2_cacheshape); \ NEW_AUX_ENT(AT_L3_CACHESHAPE, alpha_l3_cacheshape); \ } while (0) #endif /* __ASM_ALPHA_ELF_H */