2008-12-05 12:12:20 +08:00
|
|
|
#ifndef __PROM_H
|
|
|
|
#define __PROM_H
|
|
|
|
|
|
|
|
#include <linux/spinlock.h>
|
|
|
|
#include <asm/prom.h>
|
|
|
|
|
2008-12-05 16:40:43 +08:00
|
|
|
extern void * prom_early_alloc(unsigned long size);
|
2008-12-05 16:43:03 +08:00
|
|
|
extern void irq_trans_init(struct device_node *dp);
|
|
|
|
|
2008-12-05 16:50:22 +08:00
|
|
|
extern unsigned int prom_unique_id;
|
|
|
|
|
2008-12-05 17:21:41 +08:00
|
|
|
extern char *build_path_component(struct device_node *dp);
|
2008-12-06 10:16:48 +08:00
|
|
|
extern void of_console_init(void);
|
2008-12-05 17:21:41 +08:00
|
|
|
|
2008-12-06 10:16:48 +08:00
|
|
|
extern unsigned int prom_early_allocated;
|
2008-12-05 17:21:41 +08:00
|
|
|
|
2008-12-05 12:12:20 +08:00
|
|
|
#endif /* __PROM_H */
|