arch/arm64/kernel/armv8_deprecated.c
Source file repositories/reference/linux-study-clean/arch/arm64/kernel/armv8_deprecated.c
File Facts
- System
- Linux kernel
- Corpus path
arch/arm64/kernel/armv8_deprecated.c- Extension
.c- Size
- 15818 bytes
- Lines
- 643
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/cpu.hlinux/init.hlinux/list.hlinux/perf_event.hlinux/sched.hlinux/slab.hlinux/sysctl.hlinux/uaccess.hasm/cpufeature.hasm/insn.hasm/sysreg.hasm/system_misc.hasm/traps.htrace-events-emulation.h
Detected Declarations
struct insn_emulationenum insn_emulation_modeenum legacy_insn_statusfunction aarch32_check_conditionfunction variantsfunction swp_handlerfunction try_emulate_swpfunction cp15barrier_handlerfunction cp15_barrier_set_hw_modefunction try_emulate_cp15_barrierfunction setend_set_hw_modefunction compat_setend_handlerfunction a32_setend_handlerfunction t16_setend_handlerfunction try_emulate_setendfunction enable_insn_hw_modefunction disable_insn_hw_modefunction run_all_cpu_set_hw_modefunction run_all_insn_set_hw_modefunction update_insn_emulation_modefunction emulation_proc_handlerfunction register_insn_emulationfunction try_emulate_armv8_deprecatedfunction armv8_deprecated_initmodule init armv8_deprecated_init
Annotated Snippet
core_initcall(armv8_deprecated_init);
Annotation
- Immediate include surface: `linux/cpu.h`, `linux/init.h`, `linux/list.h`, `linux/perf_event.h`, `linux/sched.h`, `linux/slab.h`, `linux/sysctl.h`, `linux/uaccess.h`.
- Detected declarations: `struct insn_emulation`, `enum insn_emulation_mode`, `enum legacy_insn_status`, `function aarch32_check_condition`, `function variants`, `function swp_handler`, `function try_emulate_swp`, `function cp15barrier_handler`, `function cp15_barrier_set_hw_mode`, `function try_emulate_cp15_barrier`.
- Atlas domain: Architecture Layer / arch/arm64.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.