arch/x86/platform/uv/bios_uv.c
Source file repositories/reference/linux-study-clean/arch/x86/platform/uv/bios_uv.c
File Facts
- System
- Linux kernel
- Corpus path
arch/x86/platform/uv/bios_uv.c- Extension
.c- Size
- 6752 bytes
- Lines
- 270
- 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/efi.hlinux/export.hlinux/slab.hasm/efi.hlinux/io.hasm/pgalloc.hasm/uv/bios.hasm/uv/uv_hub.h
Detected Declarations
function __uv_bios_callfunction uv_bios_callfunction uv_bios_call_irqsavefunction uv_bios_get_sn_infofunction uv_bios_mq_watchlist_allocfunction uv_bios_mq_watchlist_freefunction uv_bios_change_memprotectfunction uv_bios_reserved_page_pafunction uv_bios_freq_basefunction uv_bios_set_legacy_vga_targetfunction uv_bios_get_master_nasidfunction uv_bios_get_heapsizefunction uv_bios_install_heapfunction uv_bios_obj_countfunction uv_bios_enum_objsfunction uv_bios_enum_portsfunction uv_bios_get_geoinfofunction uv_bios_get_pci_topologyfunction get_uv_systab_physfunction uv_bios_initexport sn_partition_idexport sn_coherency_idexport sn_region_sizeexport uv_bios_mq_watchlist_allocexport uv_bios_mq_watchlist_freeexport uv_bios_change_memprotectexport uv_bios_reserved_page_paexport uv_bios_get_master_nasidexport uv_bios_get_heapsizeexport uv_bios_install_heapexport uv_bios_obj_countexport uv_bios_enum_objsexport uv_bios_enum_portsexport uv_bios_get_geoinfoexport uv_bios_get_pci_topology
Annotated Snippet
if (!uv_systab) {
pr_err("UV: UVsystab: ioremap(%d) failed!\n", size);
return -EFAULT;
}
}
pr_info("UV: UVsystab: Revision:%x\n", uv_systab->revision);
return 0;
}
Annotation
- Immediate include surface: `linux/efi.h`, `linux/export.h`, `linux/slab.h`, `asm/efi.h`, `linux/io.h`, `asm/pgalloc.h`, `asm/uv/bios.h`, `asm/uv/uv_hub.h`.
- Detected declarations: `function __uv_bios_call`, `function uv_bios_call`, `function uv_bios_call_irqsave`, `function uv_bios_get_sn_info`, `function uv_bios_mq_watchlist_alloc`, `function uv_bios_mq_watchlist_free`, `function uv_bios_change_memprotect`, `function uv_bios_reserved_page_pa`, `function uv_bios_freq_base`, `function uv_bios_set_legacy_vga_target`.
- 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.