Rev 424 | Rev 493 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 424 | Rev 426 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
29 | #ifndef __ppc32_OFW_H__ |
29 | #ifndef __OFW_H__ |
30 | #define __ppc32_OFW_H__ |
30 | #define __OFW_H__ |
31 | 31 | ||
32 | #include <arch/types.h> |
32 | #include <arch/types.h> |
33 | 33 | ||
34 | #define MAX_OFW_ARGS 10 |
34 | #define MAX_OFW_ARGS 10 |
35 | 35 | ||
Line 56... | Line 56... | ||
56 | extern __native ofw_call(const char *service, const int nargs, const int nret, ...); |
56 | extern __native ofw_call(const char *service, const int nargs, const int nret, ...); |
57 | extern void ofw_putchar(const char ch); |
57 | extern void ofw_putchar(const char ch); |
58 | extern phandle ofw_find_device(const char *name); |
58 | extern phandle ofw_find_device(const char *name); |
59 | extern int ofw_get_property(const phandle device, const char *name, void *buf, const int buflen); |
59 | extern int ofw_get_property(const phandle device, const char *name, void *buf, const int buflen); |
60 | extern void *ofw_claim(const void *addr, const int size, const int align); |
60 | extern void *ofw_claim(const void *addr, const int size, const int align); |
61 | extern void putchar(const char ch); |
- | |
62 | 61 | ||
63 | #endif |
62 | #endif |