/
usr
/
src
/
linux-headers-5.15.0-190
/
arch
/
alpha
/
include
/
asm
/
/usr/src/linux-headers-5.15.0-190/arch/alpha/include/asm
mkdir
upload
Name
Size
Mode
Actions
a.out.h
574
0644
edit
dl
rm
agp.h
490
0644
edit
dl
rm
agp_backend.h
948
0644
edit
dl
rm
asm-offsets.h
35
0644
edit
dl
rm
asm-prototypes.h
505
0644
edit
dl
rm
atomic.h
8749
0644
edit
dl
rm
barrier.h
507
0644
edit
dl
rm
bitops.h
9039
0644
edit
dl
rm
bug.h
571
0644
edit
dl
rm
cache.h
507
0644
edit
dl
rm
cacheflush.h
2039
0644
edit
dl
rm
checksum.h
2012
0644
edit
dl
rm
cmpxchg.h
1928
0644
edit
dl
rm
compiler.h
158
0644
edit
dl
rm
console.h
1084
0644
edit
dl
rm
core_apecs.h
17338
0644
edit
dl
rm
core_cia.h
15817
0644
edit
dl
rm
core_irongate.h
6793
0644
edit
dl
rm
core_lca.h
11650
0644
edit
dl
rm
core_marvel.h
9382
0644
edit
dl
rm
core_mcpcia.h
11747
0644
edit
dl
rm
core_polaris.h
2987
0644
edit
dl
rm
core_t2.h
19595
0644
edit
dl
rm
core_titan.h
11471
0644
edit
dl
rm
core_tsunami.h
8485
0644
edit
dl
rm
core_wildfire.h
8655
0644
edit
dl
rm
delay.h
264
0644
edit
dl
rm
device.h
129
0644
edit
dl
rm
div64.h
31
0644
edit
dl
rm
dma-mapping.h
342
0644
edit
dl
rm
dma.h
12664
0644
edit
dl
rm
elf.h
5765
0644
edit
dl
rm
emergency-restart.h
149
0644
edit
dl
rm
err_common.h
3316
0644
edit
dl
rm
err_ev6.h
116
0644
edit
dl
rm
err_ev7.h
4472
0644
edit
dl
rm
extable.h
1459
0644
edit
dl
rm
floppy.h
3171
0644
edit
dl
rm
fpu.h
1820
0644
edit
dl
rm
ftrace.h
12
0644
edit
dl
rm
futex.h
2017
0644
edit
dl
rm
gct.h
1042
0644
edit
dl
rm
hardirq.h
223
0644
edit
dl
rm
hwrpb.h
7066
0644
edit
dl
rm
hw_irq.h
302
0644
edit
dl
rm
io.h
14873
0644
edit
dl
rm
io_trivial.h
3206
0644
edit
dl
rm
irq.h
2363
0644
edit
dl
rm
irqflags.h
1194
0644
edit
dl
rm
irq_regs.h
34
0644
edit
dl
rm
jensen.h
8603
0644
edit
dl
rm
Kbuild
141
0644
edit
dl
rm
kdebug.h
32
0644
edit
dl
rm
linkage.h
256
0644
edit
dl
rm
local.h
2654
0644
edit
dl
rm
machvec.h
3621
0644
edit
dl
rm
mc146818rtc.h
680
0644
edit
dl
rm
mce.h
4135
0644
edit
dl
rm
mmu.h
203
0644
edit
dl
rm
mmu_context.h
7241
0644
edit
dl
rm
module.h
329
0644
edit
dl
rm
page.h
2397
0644
edit
dl
rm
pal.h
5127
0644
edit
dl
rm
param.h
284
0644
edit
dl
rm
parport.h
536
0644
edit
dl
rm
pci.h
2733
0644
edit
dl
rm
percpu.h
527
0644
edit
dl
rm
perf_event.h
105
0644
edit
dl
rm
pgalloc.h
761
0644
edit
dl
rm
pgtable.h
12577
0644
edit
dl
rm
processor.h
1677
0644
edit
dl
rm
ptrace.h
754
0644
edit
dl
rm
rwonce.h
812
0644
edit
dl
rm
serial.h
1034
0644
edit
dl
rm
setup.h
1465
0644
edit
dl
rm
sfp-machine.h
2929
0644
edit
dl
rm
shmparam.h
191
0644
edit
dl
rm
signal.h
627
0644
edit
dl
rm
smp.h
1377
0644
edit
dl
rm
socket.h
310
0644
edit
dl
rm
sparsemem.h
410
0644
edit
dl
rm
special_insns.h
925
0644
edit
dl
rm
spinlock.h
2915
0644
edit
dl
rm
spinlock_types.h
413
0644
edit
dl
rm
string.h
2481
0644
edit
dl
rm
switch_to.h
406
0644
edit
dl
rm
syscall.h
379
0644
edit
dl
rm
termios.h
3054
0644
edit
dl
rm
thread_info.h
3749
0644
edit
dl
rm
timex.h
827
0644
edit
dl
rm
tlb.h
257
0644
edit
dl
rm
tlbflush.h
3424
0644
edit
dl
rm
topology.h
271
0644
edit
dl
rm
types.h
143
0644
edit
dl
rm
uaccess.h
9767
0644
edit
dl
rm
ucontext.h
348
0644
edit
dl
rm
unistd.h
561
0644
edit
dl
rm
user.h
2192
0644
edit
dl
rm
vga.h
2050
0644
edit
dl
rm
vmalloc.h
93
0644
edit
dl
rm
word-at-a-time.h
1376
0644
edit
dl
rm
wrperfmon.h
2623
0644
edit
dl
rm
xchg.h
5287
0644
edit
dl
rm
xor.h
21833
0644
edit
dl
rm
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 <asm/auxvec.h> #include <asm/special_insns.h> /* 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 <sys/procfs.h> 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 */
Save
cmd:
run