/
usr
/
src
/
linux-headers-5.15.0-190
/
arch
/
arm
/
include
/
asm
/
/usr/src/linux-headers-5.15.0-190/arch/arm/include/asm
mkdir
upload
Name
Size
Mode
Actions
hardware/
-
0755
rm
mach/
-
0755
rm
vdso/
-
0755
rm
xen/
-
0755
rm
archrandom.h
192
0644
edit
dl
rm
arch_gicv3.h
6327
0644
edit
dl
rm
arch_timer.h
3124
0644
edit
dl
rm
arm-cci.h
535
0644
edit
dl
rm
asm-offsets.h
35
0644
edit
dl
rm
assembler.h
13106
0644
edit
dl
rm
atomic.h
12536
0644
edit
dl
rm
auxvec.h
29
0644
edit
dl
rm
barrier.h
2910
0644
edit
dl
rm
bitops.h
7627
0644
edit
dl
rm
bitrev.h
451
0644
edit
dl
rm
bL_switcher.h
2186
0644
edit
dl
rm
bug.h
2620
0644
edit
dl
rm
bugs.h
297
0644
edit
dl
rm
cache.h
794
0644
edit
dl
rm
cacheflush.h
15794
0644
edit
dl
rm
cachetype.h
2779
0644
edit
dl
rm
checksum.h
4026
0644
edit
dl
rm
clocksource.h
161
0644
edit
dl
rm
cmpxchg.h
6328
0644
edit
dl
rm
compiler.h
978
0644
edit
dl
rm
cp15.h
3302
0644
edit
dl
rm
cpu.h
387
0644
edit
dl
rm
cpufeature.h
1291
0644
edit
dl
rm
cpuidle.h
1628
0644
edit
dl
rm
cputype.h
8766
0644
edit
dl
rm
cti.h
3703
0644
edit
dl
rm
dcc.h
623
0644
edit
dl
rm
delay.h
2903
0644
edit
dl
rm
device.h
636
0644
edit
dl
rm
div64.h
2640
0644
edit
dl
rm
dma-direct.h
1341
0644
edit
dl
rm
dma-iommu.h
908
0644
edit
dl
rm
dma-mapping.h
4714
0644
edit
dl
rm
dma.h
4287
0644
edit
dl
rm
dmi.h
378
0644
edit
dl
rm
domain.h
3751
0644
edit
dl
rm
ecard.h
6119
0644
edit
dl
rm
edac.h
995
0644
edit
dl
rm
efi.h
2501
0644
edit
dl
rm
elf.h
4636
0644
edit
dl
rm
entry-macro-multi.S
336
0644
edit
dl
rm
exception.h
416
0644
edit
dl
rm
fb.h
375
0644
edit
dl
rm
fiq.h
1391
0644
edit
dl
rm
firmware.h
1728
0644
edit
dl
rm
fixmap.h
1881
0644
edit
dl
rm
floppy.h
2318
0644
edit
dl
rm
fncpy.h
2552
0644
edit
dl
rm
fpstate.h
1478
0644
edit
dl
rm
ftrace.h
1821
0644
edit
dl
rm
futex.h
4357
0644
edit
dl
rm
glue-cache.h
3515
0644
edit
dl
rm
glue-df.h
2110
0644
edit
dl
rm
glue-pf.h
1005
0644
edit
dl
rm
glue-proc.h
4424
0644
edit
dl
rm
glue.h
613
0644
edit
dl
rm
gpio.h
615
0644
edit
dl
rm
hardirq.h
246
0644
edit
dl
rm
highmem.h
2379
0644
edit
dl
rm
hugetlb-3level.h
690
0644
edit
dl
rm
hugetlb.h
513
0644
edit
dl
rm
hwcap.h
378
0644
edit
dl
rm
hw_breakpoint.h
3811
0644
edit
dl
rm
hw_irq.h
349
0644
edit
dl
rm
hypervisor.h
224
0644
edit
dl
rm
ide.h
566
0644
edit
dl
rm
idmap.h
359
0644
edit
dl
rm
insn.h
636
0644
edit
dl
rm
io.h
15027
0644
edit
dl
rm
irq.h
887
0644
edit
dl
rm
irqflags.h
3969
0644
edit
dl
rm
irq_work.h
234
0644
edit
dl
rm
jump_label.h
1009
0644
edit
dl
rm
kasan.h
708
0644
edit
dl
rm
kasan_def.h
2726
0644
edit
dl
rm
Kbuild
186
0644
edit
dl
rm
kexec-internal.h
272
0644
edit
dl
rm
kexec.h
2255
0644
edit
dl
rm
kgdb.h
2783
0644
edit
dl
rm
kprobes.h
2248
0644
edit
dl
rm
krait-l2-accessors.h
231
0644
edit
dl
rm
linkage.h
216
0644
edit
dl
rm
mc146818rtc.h
720
0644
edit
dl
rm
mcpm.h
12061
0644
edit
dl
rm
mcs_spinlock.h
570
0644
edit
dl
rm
memblock.h
248
0644
edit
dl
rm
memory.h
10945
0644
edit
dl
rm
mmu.h
953
0644
edit
dl
rm
mmu_context.h
3461
0644
edit
dl
rm
module.h
1216
0644
edit
dl
rm
module.lds.h
134
0644
edit
dl
rm
mpu.h
3300
0644
edit
dl
rm
mtd-xip.h
520
0644
edit
dl
rm
neon.h
1041
0644
edit
dl
rm
nwflash.h
195
0644
edit
dl
rm
opcodes-sec.h
350
0644
edit
dl
rm
opcodes-virt.h
684
0644
edit
dl
rm
opcodes.h
8118
0644
edit
dl
rm
outercache.h
3268
0644
edit
dl
rm
page-nommu.h
811
0644
edit
dl
rm
page.h
3448
0644
edit
dl
rm
paravirt.h
477
0644
edit
dl
rm
patch.h
438
0644
edit
dl
rm
pci.h
794
0644
edit
dl
rm
percpu.h
1069
0644
edit
dl
rm
perf_event.h
708
0644
edit
dl
rm
pgalloc.h
3373
0644
edit
dl
rm
pgtable-2level-hwdef.h
3385
0644
edit
dl
rm
pgtable-2level-types.h
1278
0644
edit
dl
rm
pgtable-2level.h
8645
0644
edit
dl
rm
pgtable-3level-hwdef.h
3435
0644
edit
dl
rm
pgtable-3level-types.h
1331
0644
edit
dl
rm
pgtable-3level.h
8148
0644
edit
dl
rm
pgtable-hwdef.h
321
0644
edit
dl
rm
pgtable-nommu.h
1979
0644
edit
dl
rm
pgtable.h
10492
0644
edit
dl
rm
probes.h
1332
0644
edit
dl
rm
proc-fns.h
4754
0644
edit
dl
rm
processor.h
3166
0644
edit
dl
rm
procinfo.h
1152
0644
edit
dl
rm
prom.h
552
0644
edit
dl
rm
psci.h
379
0644
edit
dl
rm
ptdump.h
923
0644
edit
dl
rm
ptrace.h
4841
0644
edit
dl
rm
seccomp.h
281
0644
edit
dl
rm
sections.h
622
0644
edit
dl
rm
secure_cntvoff.h
152
0644
edit
dl
rm
setup.h
773
0644
edit
dl
rm
set_memory.h
720
0644
edit
dl
rm
shmparam.h
419
0644
edit
dl
rm
signal.h
559
0644
edit
dl
rm
smp.h
2839
0644
edit
dl
rm
smp_plat.h
2535
0644
edit
dl
rm
smp_scu.h
1352
0644
edit
dl
rm
smp_twd.h
590
0644
edit
dl
rm
sparsemem.h
716
0644
edit
dl
rm
spectre.h
906
0644
edit
dl
rm
spinlock.h
5645
0644
edit
dl
rm
spinlock_types.h
541
0644
edit
dl
rm
stackprotector.h
1357
0644
edit
dl
rm
stacktrace.h
742
0644
edit
dl
rm
string.h
2277
0644
edit
dl
rm
suspend.h
369
0644
edit
dl
rm
swab.h
1005
0644
edit
dl
rm
switch_to.h
1058
0644
edit
dl
rm
sync_bitops.h
1514
0644
edit
dl
rm
syscall.h
2347
0644
edit
dl
rm
system_info.h
763
0644
edit
dl
rm
system_misc.h
1005
0644
edit
dl
rm
tcm.h
925
0644
edit
dl
rm
therm.h
655
0644
edit
dl
rm
thread_info.h
4974
0644
edit
dl
rm
thread_notify.h
1086
0644
edit
dl
rm
timex.h
431
0644
edit
dl
rm
tlb.h
1442
0644
edit
dl
rm
tlbflush.h
17909
0644
edit
dl
rm
tls.h
3166
0644
edit
dl
rm
topology.h
1139
0644
edit
dl
rm
traps.h
911
0644
edit
dl
rm
uaccess-asm.h
2703
0644
edit
dl
rm
uaccess.h
17431
0644
edit
dl
rm
ucontext.h
2745
0644
edit
dl
rm
unified.h
979
0644
edit
dl
rm
unistd.h
1578
0644
edit
dl
rm
unwind.h
1173
0644
edit
dl
rm
uprobes.h
948
0644
edit
dl
rm
user.h
4302
0644
edit
dl
rm
v7m.h
3233
0644
edit
dl
rm
vdso.h
507
0644
edit
dl
rm
vdso_datapage.h
444
0644
edit
dl
rm
vermagic.h
800
0644
edit
dl
rm
vfp.h
2969
0644
edit
dl
rm
vfpmacros.h
2074
0644
edit
dl
rm
vga.h
305
0644
edit
dl
rm
virt.h
1855
0644
edit
dl
rm
vmalloc.h
87
0644
edit
dl
rm
vmlinux.lds.h
4490
0644
edit
dl
rm
word-at-a-time.h
2128
0644
edit
dl
rm
xor.h
5204
0644
edit
dl
rm
Edit:
/usr/src/linux-headers-5.15.0-190/arch/arm/include/asm/proc-fns.h
(4754B)
/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/proc-fns.h * * Copyright (C) 1997-1999 Russell King * Copyright (C) 2000 Deep Blue Solutions Ltd */ #ifndef __ASM_PROCFNS_H #define __ASM_PROCFNS_H #ifdef __KERNEL__ #include <asm/glue-proc.h> #include <asm/page.h> #ifndef __ASSEMBLY__ struct mm_struct; /* * Don't change this structure - ASM code relies on it. */ struct processor { /* MISC * get data abort address/flags */ void (*_data_abort)(unsigned long pc); /* * Retrieve prefetch fault address */ unsigned long (*_prefetch_abort)(unsigned long lr); /* * Set up any processor specifics */ void (*_proc_init)(void); /* * Check for processor bugs */ void (*check_bugs)(void); /* * Disable any processor specifics */ void (*_proc_fin)(void); /* * Special stuff for a reset */ void (*reset)(unsigned long addr, bool hvc) __attribute__((noreturn)); /* * Idle the processor */ int (*_do_idle)(void); /* * Processor architecture specific */ /* * clean a virtual address range from the * D-cache without flushing the cache. */ void (*dcache_clean_area)(void *addr, int size); /* * Set the page table */ void (*switch_mm)(phys_addr_t pgd_phys, struct mm_struct *mm); /* * Set a possibly extended PTE. Non-extended PTEs should * ignore 'ext'. */ #ifdef CONFIG_ARM_LPAE void (*set_pte_ext)(pte_t *ptep, pte_t pte); #else void (*set_pte_ext)(pte_t *ptep, pte_t pte, unsigned int ext); #endif /* Suspend/resume */ unsigned int suspend_size; void (*do_suspend)(void *); void (*do_resume)(void *); }; #ifndef MULTI_CPU static inline void init_proc_vtable(const struct processor *p) { } extern void cpu_proc_init(void); extern void cpu_proc_fin(void); extern int cpu_do_idle(void); extern void cpu_dcache_clean_area(void *, int); extern void cpu_do_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm); #ifdef CONFIG_ARM_LPAE extern void cpu_set_pte_ext(pte_t *ptep, pte_t pte); #else extern void cpu_set_pte_ext(pte_t *ptep, pte_t pte, unsigned int ext); #endif extern void cpu_reset(unsigned long addr, bool hvc) __attribute__((noreturn)); /* These three are private to arch/arm/kernel/suspend.c */ extern void cpu_do_suspend(void *); extern void cpu_do_resume(void *); #else extern struct processor processor; #if defined(CONFIG_BIG_LITTLE) && defined(CONFIG_HARDEN_BRANCH_PREDICTOR) #include <linux/smp.h> /* * This can't be a per-cpu variable because we need to access it before * per-cpu has been initialised. We have a couple of functions that are * called in a pre-emptible context, and so can't use smp_processor_id() * there, hence PROC_TABLE(). We insist in init_proc_vtable() that the * function pointers for these are identical across all CPUs. */ extern struct processor *cpu_vtable[]; #define PROC_VTABLE(f) cpu_vtable[smp_processor_id()]->f #define PROC_TABLE(f) cpu_vtable[0]->f static inline void init_proc_vtable(const struct processor *p) { unsigned int cpu = smp_processor_id(); *cpu_vtable[cpu] = *p; WARN_ON_ONCE(cpu_vtable[cpu]->dcache_clean_area != cpu_vtable[0]->dcache_clean_area); WARN_ON_ONCE(cpu_vtable[cpu]->set_pte_ext != cpu_vtable[0]->set_pte_ext); } #else #define PROC_VTABLE(f) processor.f #define PROC_TABLE(f) processor.f static inline void init_proc_vtable(const struct processor *p) { processor = *p; } #endif #define cpu_proc_init PROC_VTABLE(_proc_init) #define cpu_check_bugs PROC_VTABLE(check_bugs) #define cpu_proc_fin PROC_VTABLE(_proc_fin) #define cpu_reset PROC_VTABLE(reset) #define cpu_do_idle PROC_VTABLE(_do_idle) #define cpu_dcache_clean_area PROC_TABLE(dcache_clean_area) #define cpu_set_pte_ext PROC_TABLE(set_pte_ext) #define cpu_do_switch_mm PROC_VTABLE(switch_mm) /* These two are private to arch/arm/kernel/suspend.c */ #define cpu_do_suspend PROC_VTABLE(do_suspend) #define cpu_do_resume PROC_VTABLE(do_resume) #endif extern void cpu_resume(void); #include <asm/memory.h> #ifdef CONFIG_MMU #define cpu_switch_mm(pgd,mm) cpu_do_switch_mm(virt_to_phys(pgd),mm) #ifdef CONFIG_ARM_LPAE #define cpu_get_ttbr(nr) \ ({ \ u64 ttbr; \ __asm__("mrrc p15, " #nr ", %Q0, %R0, c2" \ : "=r" (ttbr)); \ ttbr; \ }) #define cpu_get_pgd() \ ({ \ u64 pg = cpu_get_ttbr(0); \ pg &= ~(PTRS_PER_PGD*sizeof(pgd_t)-1); \ (pgd_t *)phys_to_virt(pg); \ }) #else #define cpu_get_pgd() \ ({ \ unsigned long pg; \ __asm__("mrc p15, 0, %0, c2, c0, 0" \ : "=r" (pg) : : "cc"); \ pg &= ~0x3fff; \ (pgd_t *)phys_to_virt(pg); \ }) #endif #else /*!CONFIG_MMU */ #define cpu_switch_mm(pgd,mm) { } #endif #endif /* __ASSEMBLY__ */ #endif /* __KERNEL__ */ #endif /* __ASM_PROCFNS_H */
Save
cmd:
run