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 473bb57e12e704c8663907c5ba1c2ba1e41ed7cd..ec478ab924ef84efaa519909506b3373da423650 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 1bf4f68b4ce08732013d6765b4f4f286ae88a520..0a0c4a9acbda7219b5e965f26fd1262bb54dae1e 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,