arch/sparc/kernel/auxio_64.c
Source file repositories/reference/linux-study-clean/arch/sparc/kernel/auxio_64.c
File Facts
- System
- Linux kernel
- Corpus path
arch/sparc/kernel/auxio_64.c- Extension
.c- Size
- 3188 bytes
- Lines
- 152
- Domain
- Architecture Layer
- Bucket
- arch/sparc
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/kernel.hlinux/init.hlinux/ioport.hlinux/of.hlinux/platform_device.hasm/prom.hasm/io.hasm/auxio.h
Detected Declarations
enum auxio_typefunction __auxio_rmwfunction __auxio_set_bitfunction auxio_set_ledfunction __auxio_sbus_set_ltefunction auxio_set_ltefunction auxio_probefunction auxio_initmodule init auxio_initexport auxio_registerexport auxio_set_ledexport auxio_set_lte
Annotated Snippet
/* Must be after subsys_initcall() so that busses are probed. Must
* be before device_initcall() because things like the floppy driver
* need to use the AUXIO register.
*/
fs_initcall(auxio_init);
Annotation
- Immediate include surface: `linux/module.h`, `linux/kernel.h`, `linux/init.h`, `linux/ioport.h`, `linux/of.h`, `linux/platform_device.h`, `asm/prom.h`, `asm/io.h`.
- Detected declarations: `enum auxio_type`, `function __auxio_rmw`, `function __auxio_set_bit`, `function auxio_set_led`, `function __auxio_sbus_set_lte`, `function auxio_set_lte`, `function auxio_probe`, `function auxio_init`, `module init auxio_init`, `export auxio_register`.
- Atlas domain: Architecture Layer / arch/sparc.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.