arch/sh/boards/board-secureedge5410.c
Source file repositories/reference/linux-study-clean/arch/sh/boards/board-secureedge5410.c
File Facts
- System
- Linux kernel
- Corpus path
arch/sh/boards/board-secureedge5410.c- Extension
.c- Size
- 1758 bytes
- Lines
- 76
- Domain
- Architecture Layer
- Bucket
- arch/sh
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/init.hlinux/irq.hlinux/interrupt.hlinux/timer.hlinux/delay.hlinux/sched.hasm/machvec.hmach/secureedge5410.hasm/irq.hasm/io.hcpu/timer.h
Detected Declarations
function eraseconfig_interruptfunction eraseconfig_initfunction init_snapgear_IRQmodule init eraseconfig_init
Annotated Snippet
device_initcall(eraseconfig_init);
/*
* Initialize IRQ setting
*
* IRL0 = erase switch
* IRL1 = eth0
* IRL2 = eth1
* IRL3 = crypto
*/
static void __init init_snapgear_IRQ(void)
{
printk("Setup SnapGear IRQ/IPR ...\n");
/* enable individual interrupt mode for externals */
plat_irq_setup_pins(IRQ_MODE_IRQ);
}
/*
* The Machine Vector
*/
static struct sh_machine_vector mv_snapgear __initmv = {
.mv_name = "SnapGear SecureEdge5410",
.mv_init_irq = init_snapgear_IRQ,
};
Annotation
- Immediate include surface: `linux/init.h`, `linux/irq.h`, `linux/interrupt.h`, `linux/timer.h`, `linux/delay.h`, `linux/sched.h`, `asm/machvec.h`, `mach/secureedge5410.h`.
- Detected declarations: `function eraseconfig_interrupt`, `function eraseconfig_init`, `function init_snapgear_IRQ`, `module init eraseconfig_init`.
- Atlas domain: Architecture Layer / arch/sh.
- Implementation status: integration implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.