OpenCores
URL https://opencores.org/ocsvn/or1k_soc_on_altera_embedded_dev_kit/or1k_soc_on_altera_embedded_dev_kit/trunk

Subversion Repositories or1k_soc_on_altera_embedded_dev_kit

[/] [or1k_soc_on_altera_embedded_dev_kit/] [trunk/] [linux-2.6/] [linux-2.6.24/] [arch/] [powerpc/] [boot/] [of.h] - Blame information for rev 3

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 xianfeng
#ifndef _PPC_BOOT_OF_H_
2
#define _PPC_BOOT_OF_H_
3
 
4
typedef void *phandle;
5
typedef void *ihandle;
6
 
7
void of_init(void *promptr);
8
int of_call_prom(const char *service, int nargs, int nret, ...);
9
void *of_claim(unsigned long virt, unsigned long size, unsigned long align);
10
void *of_vmlinux_alloc(unsigned long size);
11
void of_exit(void);
12
void *of_finddevice(const char *name);
13
int of_getprop(const void *phandle, const char *name, void *buf,
14
               const int buflen);
15
int of_setprop(const void *phandle, const char *name, const void *buf,
16
               const int buflen);
17
 
18
/* Console functions */
19
void of_console_init(void);
20
 
21
#endif /* _PPC_BOOT_OF_H_ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.