From cbfcdcc4c2a59e3fb258bb3582738e3b3486772d Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Fri, 21 Jul 2006 14:39:48 +0000 Subject: [PATCH] Use grant address type in loadfont ioctl. --- drivers/tty/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */