arch/powerpc/kvm/e500mc.c
Source file repositories/reference/linux-study-clean/arch/powerpc/kvm/e500mc.c
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/kvm/e500mc.c- Extension
.c- Size
- 10771 bytes
- Lines
- 432
- Domain
- Architecture Layer
- Bucket
- arch/powerpc
- 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/kvm_host.hlinux/slab.hlinux/err.hlinux/export.hlinux/miscdevice.hlinux/module.hasm/reg.hasm/cputable.hasm/kvm_ppc.hasm/dbell.hasm/ppc-opcode.hbooke.he500.h
Detected Declarations
function Copyrightfunction kvmppc_e500_tlbil_onefunction kvmppc_e500_tlbil_allfunction kvmppc_set_pidfunction kvmppc_mmu_msr_notifyfunction kvmppc_core_vcpu_load_e500mcfunction kvmppc_core_vcpu_put_e500mcfunction kvmppc_e500mc_check_processor_compatfunction kvmppc_core_vcpu_setupfunction kvmppc_core_get_sregs_e500mcfunction kvmppc_core_set_sregs_e500mcfunction kvmppc_get_one_reg_e500mcfunction kvmppc_set_one_reg_e500mcfunction kvmppc_core_vcpu_create_e500mcfunction kvmppc_core_vcpu_free_e500mcfunction kvmppc_core_init_vm_e500mcfunction kvmppc_core_destroy_vm_e500mcfunction kvmppc_e500mc_initfunction kvmppc_e500mc_exitmodule init kvmppc_e500mc_init
Annotated Snippet
module_init(kvmppc_e500mc_init);
module_exit(kvmppc_e500mc_exit);
MODULE_ALIAS_MISCDEV(KVM_MINOR);
MODULE_ALIAS("devname:kvm");
Annotation
- Immediate include surface: `linux/kvm_host.h`, `linux/slab.h`, `linux/err.h`, `linux/export.h`, `linux/miscdevice.h`, `linux/module.h`, `asm/reg.h`, `asm/cputable.h`.
- Detected declarations: `function Copyright`, `function kvmppc_e500_tlbil_one`, `function kvmppc_e500_tlbil_all`, `function kvmppc_set_pid`, `function kvmppc_mmu_msr_notify`, `function kvmppc_core_vcpu_load_e500mc`, `function kvmppc_core_vcpu_put_e500mc`, `function kvmppc_e500mc_check_processor_compat`, `function kvmppc_core_vcpu_setup`, `function kvmppc_core_get_sregs_e500mc`.
- Atlas domain: Architecture Layer / arch/powerpc.
- 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.