arch/mips/ralink/irq-gic.c
Source file repositories/reference/linux-study-clean/arch/mips/ralink/irq-gic.c
File Facts
- System
- Linux kernel
- Corpus path
arch/mips/ralink/irq-gic.c- Extension
.c- Size
- 456 bytes
- Lines
- 25
- Domain
- Architecture Layer
- Bucket
- arch/mips
- 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.
Dependency Surface
linux/init.hlinux/of.hlinux/irqchip.hasm/mips-cps.hasm/time.h
Detected Declarations
function Copyrightfunction arch_init_irqexport get_c0_perfcount_int
Annotated Snippet
// SPDX-License-Identifier: GPL-2.0-only
/*
*
* Copyright (C) 2015 Nikolay Martynov <mar.kolya@gmail.com>
* Copyright (C) 2015 John Crispin <john@phrozen.org>
*/
#include <linux/init.h>
#include <linux/of.h>
#include <linux/irqchip.h>
#include <asm/mips-cps.h>
#include <asm/time.h>
int get_c0_perfcount_int(void)
{
return gic_get_c0_perfcount_int();
}
EXPORT_SYMBOL_GPL(get_c0_perfcount_int);
void __init arch_init_irq(void)
{
irqchip_init();
}
Annotation
- Immediate include surface: `linux/init.h`, `linux/of.h`, `linux/irqchip.h`, `asm/mips-cps.h`, `asm/time.h`.
- Detected declarations: `function Copyright`, `function arch_init_irq`, `export get_c0_perfcount_int`.
- Atlas domain: Architecture Layer / arch/mips.
- 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.