Changeset c34f98f in mainline for arch/ppc32/loader/ofw.c
- Timestamp:
- 2006-06-06T17:09:10Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9d371cb
- Parents:
- 9fa072dc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/loader/ofw.c
r9fa072dc rc34f98f 246 246 return true; 247 247 } 248 249 250 int ofw_keyboard(keyboard_t *keyboard) 251 { 252 char device_name[BUF_SIZE]; 253 254 if (ofw_get_property(ofw_aliases, "macio", device_name, sizeof(char) * BUF_SIZE) <= 0) 255 return false; 256 257 phandle device = ofw_find_device(device_name); 258 if (device == -1) 259 return false; 260 261 // FIXME 262 keyboard->addr = (void *) 0x80816000; 263 keyboard->size = 7680; 264 265 return true; 266 }
Note:
See TracChangeset
for help on using the changeset viewer.