arch/x86/platform/atom/punit_atom_debug.c
Source file repositories/reference/linux-study-clean/arch/x86/platform/atom/punit_atom_debug.c
File Facts
- System
- Linux kernel
- Corpus path
arch/x86/platform/atom/punit_atom_debug.c- Extension
.c- Size
- 5712 bytes
- Lines
- 208
- Domain
- Architecture Layer
- Bucket
- arch/x86
- 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/acpi.hlinux/module.hlinux/init.hlinux/device.hlinux/debugfs.hlinux/seq_file.hlinux/io.hasm/cpu_device_id.hasm/intel-family.hasm/iosf_mbi.h
Detected Declarations
struct punit_devicefunction punit_dev_state_showfunction punit_dbgfs_registerfunction punit_dbgfs_unregisterfunction punit_s2idle_checkfunction punit_s2idle_check_registerfunction punit_s2idle_check_unregisterfunction punit_s2idle_check_registerfunction punit_atom_debug_initfunction punit_atom_debug_exitmodule init punit_atom_debug_init
Annotated Snippet
module_init(punit_atom_debug_init);
module_exit(punit_atom_debug_exit);
MODULE_AUTHOR("Kumar P, Mahesh <mahesh.kumar.p@intel.com>");
MODULE_AUTHOR("Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>");
MODULE_DESCRIPTION("Driver for Punit devices states debugging");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `linux/acpi.h`, `linux/module.h`, `linux/init.h`, `linux/device.h`, `linux/debugfs.h`, `linux/seq_file.h`, `linux/io.h`, `asm/cpu_device_id.h`.
- Detected declarations: `struct punit_device`, `function punit_dev_state_show`, `function punit_dbgfs_register`, `function punit_dbgfs_unregister`, `function punit_s2idle_check`, `function punit_s2idle_check_register`, `function punit_s2idle_check_unregister`, `function punit_s2idle_check_register`, `function punit_atom_debug_init`, `function punit_atom_debug_exit`.
- Atlas domain: Architecture Layer / arch/x86.
- 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.