updated Makefile.common
[org.ibex.core.git] / src / org / ibex / util / MSPack.java
index c6c988d..6236df6 100644 (file)
@@ -1,11 +1,10 @@
-package org.ibex.translators;
+package org.ibex.util;
 
-import org.ibex.Main;
+import org.ibex.core.Main;
 import org.ibex.util.*;
-import org.xwt.mips.*;
 import java.io.*;
-
-import org.xwt.mips.Runtime;
+import org.ibex.nestedvm.*;
+import org.ibex.nestedvm.Runtime;
 
 public class MSPack {
     private static byte[] image;
@@ -18,7 +17,7 @@ public class MSPack {
         
     public MSPack(InputStream cabIS) throws IOException {
         try {
-            Runtime vm = (Runtime)Class.forName("org.ibex.translators.MIPSApps").newInstance();
+            Runtime vm = (Runtime)Class.forName("org.ibex.util.MIPSApps").newInstance();
             byte[] cab = InputStreamToByteArray.convert(cabIS);
             int cabAddr = vm.sbrk(cab.length);
             if(cabAddr < 0) throw new MSPackException("sbrk failed");