arch/arm/mach-axxia/platsmp.c
Source file repositories/reference/linux-study-clean/arch/arm/mach-axxia/platsmp.c
File Facts
- System
- Linux kernel
- Corpus path
arch/arm/mach-axxia/platsmp.c- Extension
.c- Size
- 2071 bytes
- Lines
- 88
- Domain
- Architecture Layer
- Bucket
- arch/arm
- 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
linux/init.hlinux/io.hlinux/smp.hlinux/of.hlinux/of_address.hasm/cacheflush.h
Detected Declarations
function Copyrightfunction axxia_boot_secondaryfunction axxia_smp_prepare_cpus
Annotated Snippet
if (cpu_count < max_cpus) {
set_cpu_present(cpu, true);
cpu_count++;
}
if (release_phys != 0)
write_release_addr(release_phys);
}
}
static const struct smp_operations axxia_smp_ops __initconst = {
.smp_prepare_cpus = axxia_smp_prepare_cpus,
.smp_boot_secondary = axxia_boot_secondary,
};
CPU_METHOD_OF_DECLARE(axxia_smp, "lsi,syscon-release", &axxia_smp_ops);
Annotation
- Immediate include surface: `linux/init.h`, `linux/io.h`, `linux/smp.h`, `linux/of.h`, `linux/of_address.h`, `asm/cacheflush.h`.
- Detected declarations: `function Copyright`, `function axxia_boot_secondary`, `function axxia_smp_prepare_cpus`.
- Atlas domain: Architecture Layer / arch/arm.
- 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.