X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fnestedvm%2FRuntime.java;fp=src%2Forg%2Fibex%2Fnestedvm%2FRuntime.java;h=e909b81396fdaad7b24901492c83be0d072b5c1c;hp=af846192584c59416ae2c79d0ec78f67e53eafd0;hb=e31fa57da728fa1c76760af23e62bd312a50e4df;hpb=79be771d6242d4ed6831d737c701587e87528572 diff --git a/src/org/ibex/nestedvm/Runtime.java b/src/org/ibex/nestedvm/Runtime.java index af84619..e909b81 100644 --- a/src/org/ibex/nestedvm/Runtime.java +++ b/src/org/ibex/nestedvm/Runtime.java @@ -731,7 +731,6 @@ public abstract class Runtime implements UsermodeConstants,Registers,Cloneable { if((flags & ~(3|O_CREAT|O_EXCL|O_APPEND|O_TRUNC)) != 0) { if(STDERR_DIAG) System.err.println("WARNING: Unsupported flags passed to open(\"" + f + "\"): " + toHex(flags & ~(3|O_CREAT|O_EXCL|O_APPEND|O_TRUNC))); - throw new ErrnoException(ENOTSUP); } boolean write = (flags&3) != RD_ONLY; @@ -1023,7 +1022,7 @@ public abstract class Runtime implements UsermodeConstants,Registers,Cloneable { return -ENOSYS; } } - + /** The syscall dispatcher. The should be called by subclasses when the syscall instruction is invoked. syscall should be the contents of V0 and a, b, c, and d should be