Remove space == 0 restriction in the simulator (dv-core)
authorStephane Carrez <stcarrez@nerim.fr>
Mon, 27 Nov 2000 19:49:46 +0000 (19:49 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Mon, 27 Nov 2000 19:49:46 +0000 (19:49 +0000)
sim/common/ChangeLog
sim/common/dv-core.c

index 473bb57..ec478ab 100644 (file)
@@ -1,3 +1,8 @@
+2000-11-26  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * dv-core.c (dv_core_attach_address_callback): Don't abort if
+       space is not zero.
+
 2000-11-24  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
 
        * hw-base.c (hw_delete): Don't free base_of_hw since it's freed.
index 1bf4f68..0a0c4a9 100644 (file)
@@ -57,8 +57,6 @@ dv_core_attach_address_callback (struct hw *me,
   /* NOTE: At preset the space is assumed to be zero.  Perhaphs the
      space should be mapped onto something for instance: space0 -
      unified memory; space1 - IO memory; ... */
-  if (space != 0)
-    hw_abort (me, "Hey! Unknown space %d", space);
   sim_core_attach (hw_system (me),
                   NULL, /*cpu*/
                   level,