arch/mips/include/asm/bugs.h
Source file repositories/reference/linux-study-clean/arch/mips/include/asm/bugs.h
File Facts
- System
- Linux kernel
- Corpus path
arch/mips/include/asm/bugs.h- Extension
.h- Size
- 527 bytes
- Lines
- 31
- Domain
- Architecture Layer
- Bucket
- arch/mips
- 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.
Dependency Surface
linux/bug.hlinux/smp.hasm/cpu.hasm/cpu-info.h
Detected Declarations
function r4k_daddiu_bug
Annotated Snippet
#ifndef _ASM_BUGS_H
#define _ASM_BUGS_H
#include <linux/bug.h>
#include <linux/smp.h>
#include <asm/cpu.h>
#include <asm/cpu-info.h>
extern int daddiu_bug;
extern void check_bugs64_early(void);
extern void check_bugs32(void);
extern void check_bugs64(void);
static inline int r4k_daddiu_bug(void)
{
if (!IS_ENABLED(CONFIG_CPU_R4X00_BUGS64))
return 0;
WARN_ON(daddiu_bug < 0);
return daddiu_bug != 0;
}
#endif /* _ASM_BUGS_H */
Annotation
- Immediate include surface: `linux/bug.h`, `linux/smp.h`, `asm/cpu.h`, `asm/cpu-info.h`.
- Detected declarations: `function r4k_daddiu_bug`.
- Atlas domain: Architecture Layer / arch/mips.
- 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.