From: Ben Gras Date: Fri, 21 Jul 2006 14:39:48 +0000 (+0000) Subject: Use grant address type in loadfont ioctl. X-Git-Tag: v3.1.3~238 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/openssl_button.gif?a=commitdiff_plain;h=cbfcdcc4c2a59e3fb258bb3582738e3b3486772d;p=minix.git Use grant address type in loadfont ioctl. --- diff --git a/drivers/tty/console.c b/drivers/tty/console.c index c6873e018..453e0a46c 100644 --- a/drivers/tty/console.c +++ b/drivers/tty/console.c @@ -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 */