arch/arm64/kernel/efi.c
Source file repositories/reference/linux-study-clean/arch/arm64/kernel/efi.c
File Facts
- System
- Linux kernel
- Corpus path
arch/arm64/kernel/efi.c- Extension
.c- Size
- 7359 bytes
- Lines
- 264
- Domain
- Architecture Layer
- Bucket
- arch/arm64
- Inferred role
- Architecture Layer: exported/initcall integration point
- Status
- integration 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.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/efi.hlinux/init.hlinux/kmemleak.hlinux/kthread.hlinux/screen_info.hlinux/vmalloc.hasm/efi.hasm/stacktrace.hasm/vmap_stack.h
Detected Declarations
struct set_perm_datafunction Copyrightfunction create_mapping_protectionfunction efi_create_mappingfunction set_permissionsfunction efi_set_mapping_permissionsfunction UpdateCapsulefunction efi_handle_corrupted_x18function arch_efi_call_virt_setupfunction arch_efi_call_virt_teardownfunction efi_runtime_fixup_exceptionfunction arm64_efi_rt_initmodule init arm64_efi_rt_init
Annotated Snippet
core_initcall(arm64_efi_rt_init);
Annotation
- Immediate include surface: `linux/efi.h`, `linux/init.h`, `linux/kmemleak.h`, `linux/kthread.h`, `linux/screen_info.h`, `linux/vmalloc.h`, `asm/efi.h`, `asm/stacktrace.h`.
- Detected declarations: `struct set_perm_data`, `function Copyright`, `function create_mapping_protection`, `function efi_create_mapping`, `function set_permissions`, `function efi_set_mapping_permissions`, `function UpdateCapsule`, `function efi_handle_corrupted_x18`, `function arch_efi_call_virt_setup`, `function arch_efi_call_virt_teardown`.
- Atlas domain: Architecture Layer / arch/arm64.
- Implementation status: integration 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.