drivers/xen/xen-acpi-processor.c
Source file repositories/reference/linux-study-clean/drivers/xen/xen-acpi-processor.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/xen/xen-acpi-processor.c- Extension
.c- Size
- 17181 bytes
- Lines
- 601
- Domain
- Driver Families
- Bucket
- drivers/xen
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- 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.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/cpumask.hlinux/cpufreq.hlinux/freezer.hlinux/kernel.hlinux/kthread.hlinux/init.hlinux/module.hlinux/types.hlinux/syscore_ops.hlinux/acpi.hacpi/processor.hxen/xen.hxen/interface/platform.hasm/xen/hypercall.h
Detected Declarations
function push_cxx_to_hypervisorfunction xen_copy_pss_datafunction xen_copy_psd_datafunction xen_copy_pct_datafunction push_pxx_to_hypervisorfunction upload_pm_datafunction get_max_acpi_idfunction read_acpi_idfunction check_acpi_idsfunction for_each_set_bitfunction free_acpi_perf_datafunction xen_upload_processor_pm_datafunction for_each_possible_cpufunction xen_acpi_processor_resume_workerfunction xen_acpi_processor_resumefunction xen_acpi_processor_initfunction for_each_possible_cpufunction xen_acpi_processor_exitmodule init xen_acpi_processor_init
Annotated Snippet
device_initcall(xen_acpi_processor_init);
module_exit(xen_acpi_processor_exit);
Annotation
- Immediate include surface: `linux/cpumask.h`, `linux/cpufreq.h`, `linux/freezer.h`, `linux/kernel.h`, `linux/kthread.h`, `linux/init.h`, `linux/module.h`, `linux/types.h`.
- Detected declarations: `function push_cxx_to_hypervisor`, `function xen_copy_pss_data`, `function xen_copy_psd_data`, `function xen_copy_pct_data`, `function push_pxx_to_hypervisor`, `function upload_pm_data`, `function get_max_acpi_id`, `function read_acpi_id`, `function check_acpi_ids`, `function for_each_set_bit`.
- Atlas domain: Driver Families / drivers/xen.
- 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.