static void
hw_core_attach_address_callback(device *me,
- const char *name,
attach_type attach,
int space,
unsigned_word addr,
unsigned nr_bytes,
access_type access,
- device *who) /*callback/default*/
+ device *client) /*callback/default*/
{
core *memory = (core*)device_data(me);
if (space != 0)
access,
addr,
nr_bytes,
- who);
+ client);
}
hw_core_dma_write_buffer_callback, },
{ NULL, }, /* interrupt */
{ generic_device_unit_decode,
- generic_device_unit_encode, }
+ generic_device_unit_encode,
+ generic_device_address_to_attach_address,
+ generic_device_size_to_attach_size, },
};