This commit is contained in:
Fabian 2018-10-01 18:48:15 -03:00
parent dd929f52c5
commit b83ed1b7c1
6 changed files with 4 additions and 7 deletions

View file

@ -374,8 +374,8 @@ Virtio9p.prototype.ReceiveRequest = async function (bufchain) { // jshint ignore
case 22: // TREADLINK
var req = marshall.Unmarshall(["w"], buffer, state);
var fid = req[0];
message.Debug("[readlink] fid=" + fid);
var inode = this.fs.GetInode(this.fids[fid].inodeid);
message.Debug("[readlink] fid=" + fid + " name=" + this.fids[fid].dbg_name + " target=" + inode.symlink);
size = marshall.Marshall(["s"], [inode.symlink], this.replybuffer, 7);
this.BuildReply(id, tag, size);
this.SendReply(bufchain);

View file

@ -505,5 +505,3 @@ function ScreenAdapter(screen_container, bus)
this.init();
}

View file

@ -10,7 +10,7 @@
var DEBUG = true;
/** @const
* Also needs to be set in config.h
* Also needs to be set in cargo.toml
*/
var ENABLE_PROFILER = false;

View file

@ -43,7 +43,7 @@ mod jit_cache_array {
const NO_NEXT_ENTRY: u32 = 0xffff_ffff;
pub const SIZE: u32 = 0x40000;
pub const MASK: u32 = (SIZE - 1);
pub const MASK: u32 = SIZE - 1;
#[derive(Copy, Clone)]
pub struct Entry {

View file

@ -225,7 +225,7 @@ if(cluster.isMaster)
{
name: "Windows 3.0",
skip_if_disk_image_missing: true,
timeout: 5 * 60,
timeout: 10 * 60,
cdrom: root_path + "/../v86-images/os/Win30.iso",
expected_texts: [
"Press any key to continue",

View file

@ -287,7 +287,6 @@ else {
// XXX: On gdb execution is stopped at this point. On v86 we
// currently don't have this ability, so we record the exception
// and continue execution
console.log("recorded", exception);
recorded_exceptions.push(exception);
return true;
};