/usr/src/linux-headers-5.15.0-190/arch/hexagon/include/asm
NameSizeModeActions
asm-offsets.h350644editdlrm
atomic.h43610644editdlrm
bitops.h61520644editdlrm
cache.h5550644editdlrm
cacheflush.h27250644editdlrm
checksum.h6850644editdlrm
cmpxchg.h20030644editdlrm
delay.h3440644editdlrm
dma.h3000644editdlrm
elf.h57580644editdlrm
exec.h3980644editdlrm
fixmap.h3690644editdlrm
fpu.h900644editdlrm
futex.h23060644editdlrm
hexagon_vm.h59090644editdlrm
intrinsics.h3690644editdlrm
io.h62640644editdlrm
irq.h5230644editdlrm
irqflags.h8600644editdlrm
Kbuild1310644editdlrm
kgdb.h7540644editdlrm
linkage.h2370644editdlrm
mem-layout.h28650644editdlrm
mmu.h4900644editdlrm
mmu_context.h15440644editdlrm
page.h41790644editdlrm
perf_event.h2070644editdlrm
pgalloc.h27090644editdlrm
pgtable.h119520644editdlrm
processor.h31730644editdlrm
smp.h7070644editdlrm
spinlock.h32950644editdlrm
spinlock_types.h5450644editdlrm
string.h4720644editdlrm
suspend.h2380644editdlrm
switch_to.h4780644editdlrm
syscall.h11700644editdlrm
syscalls.h2040644editdlrm
thread_info.h35050644editdlrm
time.h3460644editdlrm
timex.h4950644editdlrm
tlb.h2530644editdlrm
tlbflush.h14970644editdlrm
traps.h4100644editdlrm
uaccess.h18700644editdlrm
vdso.h3070644editdlrm
vermagic.h2990644editdlrm
vmalloc.h990644editdlrm
vm_fault.h3590644editdlrm
vm_mmu.h28180644editdlrm
Edit: /usr/src/linux-headers-5.15.0-190/arch/hexagon/include/asm/mmu_context.h (1544B)
/* SPDX-License-Identifier: GPL-2.0-only */ /* * MM context support for the Hexagon architecture * * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. */ #ifndef _ASM_MMU_CONTEXT_H #define _ASM_MMU_CONTEXT_H #include #include #include #include #include /* * VM port hides all TLB management, so "lazy TLB" isn't very * meaningful. Even for ports to architectures with visble TLBs, * this is almost invariably a null function. * * mm->context is set up by pgd_alloc, so no init_new_context required. */ /* * Switch active mm context */ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) { int l1; /* * For virtual machine, we have to update system map if it's been * touched. */ if (next->context.generation < prev->context.generation) { for (l1 = MIN_KERNEL_SEG; l1 <= max_kernel_seg; l1++) next->pgd[l1] = init_mm.pgd[l1]; next->context.generation = prev->context.generation; } __vmnewmap((void *)next->context.ptbase); } /* * Activate new memory map for task */ #define activate_mm activate_mm static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) { unsigned long flags; local_irq_save(flags); switch_mm(prev, next, current_thread_info()->task); local_irq_restore(flags); } /* Generic hooks for arch_dup_mmap and arch_exit_mmap */ #include #include #endif