arch/sh/boards/mach-se/7343/setup.c
Source file repositories/reference/linux-study-clean/arch/sh/boards/mach-se/7343/setup.c
File Facts
- System
- Linux kernel
- Corpus path
arch/sh/boards/mach-se/7343/setup.c- Extension
.c- Size
- 3987 bytes
- Lines
- 183
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/init.hlinux/platform_device.hlinux/mtd/physmap.hlinux/serial_8250.hlinux/serial_reg.hlinux/usb/isp116x.hlinux/delay.hlinux/irqdomain.hasm/machvec.hmach-se/mach/se7343.hasm/heartbeat.hasm/irq.hasm/io.h
Detected Declarations
function isp116x_delayfunction sh7343se_devices_setupfunction sh7343se_setupmodule init sh7343se_devices_setup
Annotated Snippet
device_initcall(sh7343se_devices_setup);
/*
* Initialize the board
*/
static void __init sh7343se_setup(char **cmdline_p)
{
__raw_writew(0xf900, FPGA_OUT); /* FPGA */
__raw_writew(0x0002, PORT_PECR); /* PORT E 1 = IRQ5 */
__raw_writew(0x0020, PORT_PSELD);
printk(KERN_INFO "MS7343CP01 Setup...done\n");
}
/*
* The Machine Vector
*/
static struct sh_machine_vector mv_7343se __initmv = {
.mv_name = "SolutionEngine 7343",
.mv_setup = sh7343se_setup,
.mv_init_irq = init_7343se_IRQ,
};
Annotation
- Immediate include surface: `linux/init.h`, `linux/platform_device.h`, `linux/mtd/physmap.h`, `linux/serial_8250.h`, `linux/serial_reg.h`, `linux/usb/isp116x.h`, `linux/delay.h`, `linux/irqdomain.h`.
- Detected declarations: `function isp116x_delay`, `function sh7343se_devices_setup`, `function sh7343se_setup`, `module init sh7343se_devices_setup`.
- Atlas domain: Architecture Layer / arch/sh.
- 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.