Use grant address type in loadfont ioctl.

This commit is contained in:
Ben Gras 2006-07-21 14:39:48 +00:00
parent f7c36e31e5
commit cbfcdcc4c2

View 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 */