of.h (fed23ed7ebf0fbea17ad8fed207ff35a747fecaf) of.h (926e6940f54313813d177b5cfb9ec31a441cd259)
1#ifndef _PPC_BOOT_OF_H_
2#define _PPC_BOOT_OF_H_
3
4typedef void *phandle;
5typedef void *ihandle;
6
7void of_init(void *promptr);
8int of_call_prom(const char *service, int nargs, int nret, ...);

--- 6 unchanged lines hidden (view full) ---

15int of_setprop(const void *phandle, const char *name, const void *buf,
16 const int buflen);
17
18/* Console functions */
19void of_console_init(void);
20
21typedef u32 __be32;
22
1#ifndef _PPC_BOOT_OF_H_
2#define _PPC_BOOT_OF_H_
3
4typedef void *phandle;
5typedef void *ihandle;
6
7void of_init(void *promptr);
8int of_call_prom(const char *service, int nargs, int nret, ...);

--- 6 unchanged lines hidden (view full) ---

15int of_setprop(const void *phandle, const char *name, const void *buf,
16 const int buflen);
17
18/* Console functions */
19void of_console_init(void);
20
21typedef u32 __be32;
22
23#define cpu_to_be32(x) (x)
24#define be32_to_cpu(x) (x)
25
23#endif /* _PPC_BOOT_OF_H_ */
26#endif /* _PPC_BOOT_OF_H_ */