arch/powerpc/include/asm/debug.h
Source file repositories/reference/linux-study-clean/arch/powerpc/include/asm/debug.h
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/include/asm/debug.h- Extension
.h- Size
- 1950 bytes
- Lines
- 58
- Domain
- Architecture Layer
- Bucket
- arch/powerpc
- 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
asm/hw_breakpoint.h
Detected Declarations
struct pt_regsfunction debuggerfunction debugger_ipifunction debugger_bptfunction debugger_sstepfunction debugger_iabr_matchfunction debugger_break_matchfunction debugger_fault_handler
Annotated Snippet
static inline int debugger(struct pt_regs *regs) { return 0; }
static inline int debugger_ipi(struct pt_regs *regs) { return 0; }
static inline int debugger_bpt(struct pt_regs *regs) { return 0; }
static inline int debugger_sstep(struct pt_regs *regs) { return 0; }
static inline int debugger_iabr_match(struct pt_regs *regs) { return 0; }
static inline int debugger_break_match(struct pt_regs *regs) { return 0; }
static inline int debugger_fault_handler(struct pt_regs *regs) { return 0; }
#endif
void __set_breakpoint(int nr, struct arch_hw_breakpoint *brk);
void suspend_breakpoints(void);
void restore_breakpoints(void);
bool ppc_breakpoint_available(void);
#ifdef CONFIG_PPC_ADV_DEBUG_REGS
extern void do_send_trap(struct pt_regs *regs, unsigned long address,
unsigned long error_code, int brkpt);
#endif
#endif /* _ASM_POWERPC_DEBUG_H */
Annotation
- Immediate include surface: `asm/hw_breakpoint.h`.
- Detected declarations: `struct pt_regs`, `function debugger`, `function debugger_ipi`, `function debugger_bpt`, `function debugger_sstep`, `function debugger_iabr_match`, `function debugger_break_match`, `function debugger_fault_handler`.
- Atlas domain: Architecture Layer / arch/powerpc.
- 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.