Rev 201 | Rev 210 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 201 | Rev 207 | ||
---|---|---|---|
Line 90... | Line 90... | ||
90 | int ofw_get_property(const phandle device, const char *name, void *buf, const int buflen) |
90 | int ofw_get_property(const phandle device, const char *name, void *buf, const int buflen) |
91 | { |
91 | { |
92 | return ofw_call("getprop", 4, 1, device, name, buf, buflen); |
92 | return ofw_call("getprop", 4, 1, device, name, buf, buflen); |
93 | } |
93 | } |
94 | 94 | ||
- | 95 | void *ofw_claim(const void *addr, const int size, const int align) |
|
- | 96 | { |
|
- | 97 | return (void *) ofw_call("claim", 3, 1, addr, size, align); |
|
- | 98 | } |
|
- | 99 | ||
95 | void putchar(const char ch) |
100 | void putchar(const char ch) |
96 | { |
101 | { |
97 | ofw_putchar(ch); |
102 | ofw_putchar(ch); |
98 | } |
103 | } |