arch/xtensa/platforms/xt2000/setup.c
Source file repositories/reference/linux-study-clean/arch/xtensa/platforms/xt2000/setup.c
File Facts
- System
- Linux kernel
- Corpus path
arch/xtensa/platforms/xt2000/setup.c- Extension
.c- Size
- 3459 bytes
- Lines
- 148
- Domain
- Architecture Layer
- Bucket
- arch/xtensa
- 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/stddef.hlinux/kernel.hlinux/init.hlinux/errno.hlinux/reboot.hlinux/kdev_t.hlinux/types.hlinux/major.hlinux/console.hlinux/delay.hlinux/stringify.hlinux/platform_device.hlinux/serial.hlinux/serial_8250.hlinux/timer.hasm/processor.hasm/platform.hasm/bootparam.hplatform/hardware.hplatform/serial.h
Detected Declarations
function led_printfunction xt2000_power_offfunction xt2000_restartfunction platform_setupfunction xt2000_heartbeatfunction xt2000_setup_devinitmodule init xt2000_setup_devinit
Annotated Snippet
device_initcall(xt2000_setup_devinit);
Annotation
- Immediate include surface: `linux/stddef.h`, `linux/kernel.h`, `linux/init.h`, `linux/errno.h`, `linux/reboot.h`, `linux/kdev_t.h`, `linux/types.h`, `linux/major.h`.
- Detected declarations: `function led_print`, `function xt2000_power_off`, `function xt2000_restart`, `function platform_setup`, `function xt2000_heartbeat`, `function xt2000_setup_devinit`, `module init xt2000_setup_devinit`.
- Atlas domain: Architecture Layer / arch/xtensa.
- 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.