arch/powerpc/kvm/e500.c
Source file repositories/reference/linux-study-clean/arch/powerpc/kvm/e500.c
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/kvm/e500.c- Extension
.c- Size
- 14514 bytes
- Lines
- 554
- 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.
- 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/kvm_host.hlinux/slab.hlinux/err.hlinux/export.hlinux/module.hlinux/miscdevice.hasm/reg.hasm/cputable.hasm/kvm_ppc.h../mm/mmu_decl.hbooke.he500.h
Detected Declarations
struct idstruct vcpu_id_tablestruct pcpu_id_tablefunction idfunction idfunction local_sid_destroy_allfunction kvmppc_e500_id_table_freefunction kvmppc_e500_recalc_shadow_pidfunction kvmppc_e500_id_table_reset_allfunction kvmppc_e500_id_table_reset_onefunction guestfunction kvmppc_e500_get_tlb_stidfunction kvmppc_set_pidfunction kvmppc_e500_tlbil_onefunction kvmppc_e500_tlbil_allfunction kvmppc_mmu_msr_notifyfunction kvmppc_core_vcpu_load_e500function kvmppc_core_vcpu_put_e500function kvmppc_e500_check_processor_compatfunction kvmppc_e500_tlb_setupfunction kvmppc_core_vcpu_setupfunction kvmppc_core_get_sregs_e500function kvmppc_core_set_sregs_e500function kvmppc_get_one_reg_e500function kvmppc_set_one_reg_e500function kvmppc_core_vcpu_create_e500function kvmppc_core_vcpu_free_e500function kvmppc_core_init_vm_e500function kvmppc_core_destroy_vm_e500function kvmppc_e500_initfunction kvmppc_e500_exitmodule init kvmppc_e500_init
Annotated Snippet
module_init(kvmppc_e500_init);
module_exit(kvmppc_e500_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/module.h`, `linux/miscdevice.h`, `asm/reg.h`, `asm/cputable.h`.
- Detected declarations: `struct id`, `struct vcpu_id_table`, `struct pcpu_id_table`, `function id`, `function id`, `function local_sid_destroy_all`, `function kvmppc_e500_id_table_free`, `function kvmppc_e500_recalc_shadow_pid`, `function kvmppc_e500_id_table_reset_all`, `function kvmppc_e500_id_table_reset_one`.
- 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.