]> Zhao Yanbai Git Server - minix.git/commitdiff
Use grant address type in loadfont ioctl.
authorBen Gras <ben@minix3.org>
Fri, 21 Jul 2006 14:39:48 +0000 (14:39 +0000)
committerBen Gras <ben@minix3.org>
Fri, 21 Jul 2006 14:39:48 +0000 (14:39 +0000)
drivers/tty/console.c

index c6873e0188cd0488b06f4962b5e94900ba639a37..453e0a46cf039179502c83f06a8de5958e6fab09 100644 (file)
@@ -1302,7 +1302,7 @@ message *m;
   if (!machine.vdu_ega) return(ENOTTY);
   result = ga_program(seq1);   /* bring font memory into view */
 
-  result = sys_physcopy(m->IO_ENDPT, D, (vir_bytes) m->ADDRESS, 
+  result = sys_physcopy(m->IO_ENDPT, GRANT_SEG, (vir_bytes) m->ADDRESS, 
        NONE, PHYS_SEG, (phys_bytes) GA_VIDEO_ADDRESS, (phys_bytes)GA_FONT_SIZE);
 
   result = ga_program(seq2);   /* restore */