vmx(1): VGA framebuffer should be normal memory
This commit is contained in:
parent
b0997d16c6
commit
721160290f
1 changed files with 1 additions and 1 deletions
|
@ -651,7 +651,7 @@ threadmain(int argc, char **argv)
|
||||||
|
|
||||||
if(gmemsz < 1<<20) sysfatal("640 KB of RAM is not enough for everyone");
|
if(gmemsz < 1<<20) sysfatal("640 KB of RAM is not enough for everyone");
|
||||||
mkregion(0, 0xa0000, REGALLOC|REGFREE|REGRWX);
|
mkregion(0, 0xa0000, REGALLOC|REGFREE|REGRWX);
|
||||||
mkregion(0xa0000, 0xc0000, REGALLOC);
|
mkregion(0xa0000, 0xc0000, REGALLOC|REGRWX);
|
||||||
mkregion(0xc0000, 0x100000, REGALLOC|REGRES|REGRWX);
|
mkregion(0xc0000, 0x100000, REGALLOC|REGRES|REGRWX);
|
||||||
if(fbsz != 0 && fbaddr < gmemsz){
|
if(fbsz != 0 && fbaddr < gmemsz){
|
||||||
mkregion(0x100000, fbaddr, REGALLOC|REGFREE|REGRWX);
|
mkregion(0x100000, fbaddr, REGALLOC|REGFREE|REGRWX);
|
||||||
|
|
Loading…
Reference in a new issue