]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/9/pc/vga.c
kernel: cleanup makefile for $CONF.$O target
[plan9front.git] / sys / src / 9 / pc / vga.c
index 430ce89fc630e18d603ccbf0a192243eed12d717..2cfbd8078b3dafe3af74470361bb5af985d6cadd 100644 (file)
@@ -193,6 +193,7 @@ vgascreenwin(VGAscr* scr)
                freememimage(i);
        }
 
+       r = scr->gscreen->clipr;
        window = insetrect(r, 20);
        memimagedraw(scr->gscreen, window, conscol, ZP, memopaque, ZP, S);
        window = insetrect(window, 4);
@@ -256,7 +257,7 @@ addvgaseg(char *name, ulong pa, ulong size)
        Physseg seg;
 
        memset(&seg, 0, sizeof seg);
-       seg.attr = SG_PHYSICAL;
+       seg.attr = SG_PHYSICAL | SG_DEVICE | SG_NOEXEC;
        seg.name = name;
        seg.pa = pa;
        seg.size = size;