arch/sparc/include/asm/prom.h
Source file repositories/reference/linux-study-clean/arch/sparc/include/asm/prom.h
File Facts
- System
- Linux kernel
- Corpus path
arch/sparc/include/asm/prom.h- Extension
.h- Size
- 1841 bytes
- Lines
- 60
- Domain
- Architecture Layer
- Bucket
- arch/sparc
- 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
linux/of.hlinux/types.hlinux/of_pdt.hlinux/proc_fs.hlinux/mutex.hlinux/atomic.hlinux/irqdomain.hlinux/spinlock.h
Detected Declarations
struct of_irq_controllerstruct resource
Annotated Snippet
struct of_irq_controller {
unsigned int (*irq_build)(struct device_node *, unsigned int, void *);
void *data;
};
struct device_node *of_find_node_by_cpuid(int cpuid);
int of_set_property(struct device_node *node, const char *name, void *val, int len);
extern struct mutex of_set_property_mutex;
int of_getintprop_default(struct device_node *np,
const char *name,
int def);
int of_find_in_proplist(const char *list, const char *match, int len);
void prom_build_devicetree(void);
void of_populate_present_mask(void);
void of_fill_in_cpu_data(void);
struct resource;
void __iomem *of_ioremap(struct resource *res, unsigned long offset, unsigned long size, char *name);
void of_iounmap(struct resource *res, void __iomem *base, unsigned long size);
extern struct device_node *of_console_device;
extern char *of_console_path;
extern char *of_console_options;
void irq_trans_init(struct device_node *dp);
char *build_path_component(struct device_node *dp);
#endif /* __KERNEL__ */
#endif /* _SPARC_PROM_H */
Annotation
- Immediate include surface: `linux/of.h`, `linux/types.h`, `linux/of_pdt.h`, `linux/proc_fs.h`, `linux/mutex.h`, `linux/atomic.h`, `linux/irqdomain.h`, `linux/spinlock.h`.
- Detected declarations: `struct of_irq_controller`, `struct resource`.
- Atlas domain: Architecture Layer / arch/sparc.
- 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.