* interp.c (sim_open): Map 4M of memory at zero for SKY sim only.
authorJames Lemke <jlemke@cygnus>
Wed, 4 Mar 1998 23:33:36 +0000 (23:33 +0000)
committerJames Lemke <jlemke@cygnus>
Wed, 4 Mar 1998 23:33:36 +0000 (23:33 +0000)
sim/mips/interp.c

index aa151c1a9230686270fdb8454833e0598339b2d7..b794fb7656636a8c6d5db9ce211598c4e48ffe0e 100644 (file)
@@ -314,6 +314,9 @@ sim_open (kind, cb, abfd, argv)
                   K1BASE, K0SIZE,
                   MEM_SIZE, /* actual size */
                   K0BASE);
+#ifdef TARGET_SKY
+  sim_do_command (sd, "memory region 0x00000000,0x00100000"); /* 1M */
+#endif
 
   device_init(sd);