Changeset 272c219 in mainline for arch/ppc32/loader/ofw.h
- Timestamp:
- 2006-03-13T18:42:58Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- eebd172
- Parents:
- 8cbe350
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/loader/ofw.h
r8cbe350 r272c219 56 56 57 57 extern void init(void); 58 extern int ofw_call(const char *service, const int nargs, const int nret, ...); 59 extern void ofw_write(const char *str, const int len); 60 extern void ofw_puts(const char *str); 61 extern void *ofw_claim(const void *addr, const int size, const int align); 58 void halt(void); 59 62 60 extern phandle ofw_find_device(const char *name); 63 61 extern int ofw_get_property(const phandle device, const char *name, const void *buf, const int buflen); 62 extern int ofw_call(const char *service, const int nargs, const int nret, ...); 63 #define ofw_call_method(instance, method, nargs, nret, ...) ofw_call("call-method", (nargs + 2), nret, method, instance, ##__VA_ARGS__) 64 65 extern ihandle ofw_open(const char *name); 66 extern void ofw_write(const char *str, const int len); 67 68 extern void *ofw_claim(const void *addr, const int size, const int align); 69 extern void *ofw_translate(const void *virt); 64 70 65 71 #endif
Note:
See TracChangeset
for help on using the changeset viewer.