arch/arm/mach-s3c/s3c6410.c
Source file repositories/reference/linux-study-clean/arch/arm/mach-s3c/s3c6410.c
File Facts
- System
- Linux kernel
- Corpus path
arch/arm/mach-s3c/s3c6410.c- Extension
.c- Size
- 1822 bytes
- Lines
- 86
- Domain
- Architecture Layer
- Bucket
- arch/arm
- Inferred role
- Architecture Layer: operation-table or driver-model contract
- Status
- pattern 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 an operation table; this is where Linux turns generic core objects into subsystem-specific behavior.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/kernel.hlinux/types.hlinux/interrupt.hlinux/list.hlinux/timer.hlinux/init.hlinux/clk.hlinux/io.hlinux/device.hlinux/serial_core.hlinux/serial_s3c.hlinux/platform_device.hlinux/of.hasm/mach/arch.hasm/mach/map.hasm/mach/irq.hasm/irq.hlinux/soc/samsung/s3c-pm.hregs-clock.hcpu.hdevs.hsdhci.hiic-core.hs3c64xx.h
Detected Declarations
function s3c6410_map_iofunction s3c6410_init_irqfunction s3c6410_core_initfunction s3c6410_initmodule init s3c6410_core_init
Annotated Snippet
const struct bus_type s3c6410_subsys = {
.name = "s3c6410-core",
.dev_name = "s3c6410-core",
};
static struct device s3c6410_dev = {
.bus = &s3c6410_subsys,
};
static int __init s3c6410_core_init(void)
{
/* Not applicable when using DT. */
if (of_have_populated_dt() || !soc_is_s3c64xx())
return 0;
return subsys_system_register(&s3c6410_subsys, NULL);
}
core_initcall(s3c6410_core_init);
int __init s3c6410_init(void)
{
printk("S3C6410: Initialising architecture\n");
return device_register(&s3c6410_dev);
}
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/types.h`, `linux/interrupt.h`, `linux/list.h`, `linux/timer.h`, `linux/init.h`, `linux/clk.h`, `linux/io.h`.
- Detected declarations: `function s3c6410_map_io`, `function s3c6410_init_irq`, `function s3c6410_core_init`, `function s3c6410_init`, `module init s3c6410_core_init`.
- Atlas domain: Architecture Layer / arch/arm.
- Implementation status: pattern 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.