Skip to content

Commit

Permalink
connecting file system to sys-runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
coltonmercurio committed Apr 1, 2016
1 parent fab0cc8 commit 3a0ad53
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/sys-runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import GccOutputParser from 'app/gcc-output-parser';
import * as Jor1k from 'cjs!jor1k/master/master';
import LinuxTerm from 'cjs!jor1k/plugins/terminal-linux';
import { jor1kBaseFsUrl, jor1kWorkerUrl } from 'app/config';
import SysFileSystem from 'app/sys-filesystem';

// Encapsulates the virtual machine interface
class SysRuntime {
Expand Down Expand Up @@ -34,6 +35,10 @@ class SysRuntime {

var onBootFinished = () => {
if (this.tty0ready && this.tty1ready) {

//Attach persistent filesystem
SysFileSystem.initialize(this.jor1kgui.fs);

// LiveEdit uses the bootFinished value when sent the ready event,
// so bootFinished must be updated before broadcasting the event
this.bootFinished = true;
Expand Down

0 comments on commit 3a0ad53

Please sign in to comment.