arch/arm64/include/asm/efi.h
Source file repositories/reference/linux-study-clean/arch/arm64/include/asm/efi.h
File Facts
- System
- Linux kernel
- Corpus path
arch/arm64/include/asm/efi.h- Extension
.h- Size
- 4803 bytes
- Lines
- 155
- Domain
- Architecture Layer
- Bucket
- arch/arm64
- 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.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
asm/boot.hasm/cpufeature.hasm/fpsimd.hasm/io.hasm/memory.hasm/mmu_context.hasm/neon.hasm/ptrace.hasm/tlbflush.h
Detected Declarations
function efi_runtime_fixup_exceptionfunction on_task_stackfunction efi_get_kimg_min_alignfunction SetVirtualAddressMapfunction efi_capsule_flush_cache_range
Annotated Snippet
if (mm != current->active_mm) {
/*
* Update the current thread's saved ttbr0 since it is
* restored as part of a return from exception.
*/
update_saved_ttbr0(current, mm);
} else {
/*
* Restore the current thread's saved ttbr0
* corresponding to its active_mm
*/
update_saved_ttbr0(current, current->active_mm);
}
}
}
void efi_virtmap_load(void);
void efi_virtmap_unload(void);
static inline void efi_capsule_flush_cache_range(void *addr, int size)
{
dcache_clean_inval_poc((unsigned long)addr, (unsigned long)addr + size);
}
efi_status_t efi_handle_corrupted_x18(efi_status_t s, const char *f);
void efi_icache_sync(unsigned long start, unsigned long end);
#endif /* _ASM_EFI_H */
Annotation
- Immediate include surface: `asm/boot.h`, `asm/cpufeature.h`, `asm/fpsimd.h`, `asm/io.h`, `asm/memory.h`, `asm/mmu_context.h`, `asm/neon.h`, `asm/ptrace.h`.
- Detected declarations: `function efi_runtime_fixup_exception`, `function on_task_stack`, `function efi_get_kimg_min_align`, `function SetVirtualAddressMap`, `function efi_capsule_flush_cache_range`.
- Atlas domain: Architecture Layer / arch/arm64.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.