More PAGEBLOCKS support
This commit is contained in:
parent
6108fb25ab
commit
453d84c6d8
7 changed files with 252 additions and 48 deletions
|
|
@ -307,6 +307,11 @@ X86.opMOVcr = function MOVcr()
|
|||
break;
|
||||
case 0x3:
|
||||
this.regCR3 = this.regEBX;
|
||||
/*
|
||||
* Normal use of regCR3 involves adding a 0-4K (12-bit) offset to obtain a page directory entry, so
|
||||
* let's ensure that the low 12 bits of regCR3 are always zero.
|
||||
*/
|
||||
this.assert(!(this.regCR3 & X86.LADDR.OFFSET));
|
||||
this.regEBX = temp;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue