sim: punt zfree()
[deliverable/binutils-gdb.git] / sim / ppc / hw_core.c
index 8dba11b9323502ff36f1a086164b7b65a4b27a2d..1a439576bd9f8d99ab9dfee95f25cc523947e34f 100644 (file)
@@ -59,13 +59,12 @@ hw_core_init_address_callback(device *me)
 
 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)
@@ -76,7 +75,7 @@ hw_core_attach_address_callback(device *me,
              access,
              addr,
              nr_bytes,
-             who);
+             client);
 }
 
 
@@ -121,7 +120,9 @@ static device_callbacks const hw_core_callbacks = {
     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, },
 };
 
 
This page took 0.024824 seconds and 4 git commands to generate.