Changeset 2e672fd in mainline for arch/ppc32/loader/ofw.c
- Timestamp:
- 2006-07-10T20:48:40Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- daab5145
- Parents:
- 822b64e
- File:
-
- 1 edited
-
arch/ppc32/loader/ofw.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/loader/ofw.c
r822b64e r2e672fd 30 30 #include <printf.h> 31 31 32 typedef int (* ofw_entry_t)(ofw_args_t *args); 33 34 int ofw(ofw_args_t *args) 35 { 36 return ((ofw_entry_t) ofw_cif)(args); 37 } 38 32 39 void write(const char *str, const int len) 33 40 { … … 49 56 if (ofw_get_property(device, "assigned-addresses", &macio, sizeof(macio)) <= 0) 50 57 return false; 51 keyboard->addr = (void *)macio.addr.addr_lo;58 keyboard->addr = macio.addr.addr_lo; 52 59 keyboard->size = macio.size_lo; 53 60 54 61 return true; 55 62 } 63 64 int ofw_translate_failed(ofw_arg_t flag) 65 { 66 return 0; 67 }
Note:
See TracChangeset
for help on using the changeset viewer.
