arch/x86/platform/intel-quark/imr.c
Source file repositories/reference/linux-study-clean/arch/x86/platform/intel-quark/imr.c
File Facts
- System
- Linux kernel
- Corpus path
arch/x86/platform/intel-quark/imr.c- Extension
.c- Size
- 15921 bytes
- Lines
- 598
- 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.
- 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
asm-generic/sections.hasm/cpu_device_id.hasm/imr.hasm/iosf_mbi.hasm/io.hlinux/debugfs.hlinux/init.hlinux/mm.hlinux/types.h
Detected Declarations
struct imr_devicestruct imr_regsfunction imr_is_enabledfunction imr_readfunction imr_writefunction imr_dbgfs_state_showfunction imr_debugfs_registerfunction imr_check_paramsfunction IMR_ALIGNfunction imr_address_overlapfunction imr_add_rangefunction __imr_remove_rangefunction imr_remove_rangefunction imr_clearfunction imr_fixup_memmapfunction imr_initmodule init imr_initexport imr_add_rangeexport imr_remove_range
Annotated Snippet
device_initcall(imr_init);
Annotation
- Immediate include surface: `asm-generic/sections.h`, `asm/cpu_device_id.h`, `asm/imr.h`, `asm/iosf_mbi.h`, `asm/io.h`, `linux/debugfs.h`, `linux/init.h`, `linux/mm.h`.
- Detected declarations: `struct imr_device`, `struct imr_regs`, `function imr_is_enabled`, `function imr_read`, `function imr_write`, `function imr_dbgfs_state_show`, `function imr_debugfs_register`, `function imr_check_params`, `function IMR_ALIGN`, `function imr_address_overlap`.
- Atlas domain: Architecture Layer / arch/x86.
- 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.