arch/sparc/include/asm/mmu_context_64.h

Source file repositories/reference/linux-study-clean/arch/sparc/include/asm/mmu_context_64.h

File Facts

System
Linux kernel
Corpus path
arch/sparc/include/asm/mmu_context_64.h
Extension
.h
Size
5621 bytes
Lines
199
Domain
Architecture Layer
Bucket
arch/sparc
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

if (current && current->mm && current->mm->context.adi) {
			struct pt_regs *regs;

			regs = task_pt_regs(current);
			regs->tstate |= TSTATE_MCDE;
		}
	}
}

#define mm_untag_mask mm_untag_mask
static inline unsigned long mm_untag_mask(struct mm_struct *mm)
{
       return -1UL >> adi_nbits();
}

#include <asm-generic/mmu_context.h>

#endif /* !(__ASSEMBLER__) */

#endif /* !(__SPARC64_MMU_CONTEXT_H) */

Annotation

Implementation Notes