From: Philip Homburg Date: Mon, 23 Apr 2007 13:31:45 +0000 (+0000) Subject: Disallow unaligned access to I/O ports. X-Git-Tag: v3.1.4~423 X-Git-Url: http://zhaoyanbai.com/repos/%22../static/icons/index.html?a=commitdiff_plain;h=c082f607df80e84dea9b45e7a5dbc4679395e05c;p=minix.git Disallow unaligned access to I/O ports. --- diff --git a/kernel/system/do_vdevio.c b/kernel/system/do_vdevio.c index 0d6e3c718..268d25baa 100644 --- a/kernel/system/do_vdevio.c +++ b/kernel/system/do_vdevio.c @@ -119,22 +119,54 @@ register message *m_ptr; /* pointer to request message */ outb( pvb[i].port, pvb[i].value); break; case _DIO_WORD: /* word values */ - if (io_in) for (i=0; i