arch/riscv/include/asm/acpi.h
Source file repositories/reference/linux-study-clean/arch/riscv/include/asm/acpi.h
File Facts
- System
- Linux kernel
- Corpus path
arch/riscv/include/asm/acpi.h- Extension
.h- Size
- 2460 bytes
- Lines
- 96
- Domain
- Architecture Layer
- Bucket
- arch/riscv
- Inferred role
- Architecture Layer: implementation source
- Status
- source 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
function disable_acpifunction enable_acpifunction mappedfunction arch_fix_phys_package_idfunction acpi_init_rintc_mapfunction acpi_get_riscv_isafunction acpi_get_cbo_block_sizefunction acpi_map_cpus_to_nodes
Annotated Snippet
static inline void arch_fix_phys_package_id(int num, u32 slot) { }
void acpi_init_rintc_map(void);
struct acpi_madt_rintc *acpi_cpu_get_madt_rintc(int cpu);
int acpi_get_riscv_isa(struct acpi_table_header *table,
unsigned int cpu, const char **isa);
void acpi_get_cbo_block_size(struct acpi_table_header *table, u32 *cbom_size,
u32 *cboz_size, u32 *cbop_size);
#else
static inline void acpi_init_rintc_map(void) { }
static inline struct acpi_madt_rintc *acpi_cpu_get_madt_rintc(int cpu)
{
return NULL;
}
static inline int acpi_get_riscv_isa(struct acpi_table_header *table,
unsigned int cpu, const char **isa)
{
return -EINVAL;
}
static inline void acpi_get_cbo_block_size(struct acpi_table_header *table,
u32 *cbom_size, u32 *cboz_size,
u32 *cbop_size) { }
#endif /* CONFIG_ACPI */
#ifdef CONFIG_ACPI_NUMA
void acpi_map_cpus_to_nodes(void);
#else
static inline void acpi_map_cpus_to_nodes(void) { }
#endif /* CONFIG_ACPI_NUMA */
#endif /*_ASM_ACPI_H*/
Annotation
- Detected declarations: `function disable_acpi`, `function enable_acpi`, `function mapped`, `function arch_fix_phys_package_id`, `function acpi_init_rintc_map`, `function acpi_get_riscv_isa`, `function acpi_get_cbo_block_size`, `function acpi_map_cpus_to_nodes`.
- Atlas domain: Architecture Layer / arch/riscv.
- Implementation status: source 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.