Neel Natu 6303b65d35 Fix issue with restarting an "insb/insw/insl" instruction because of a page
fault on the destination buffer.

Prior to this change a page fault would be detected in vm_copyout(). This
was done after the I/O port access was done. If the I/O port access had
side-effects (e.g. reading the uart FIFO) then restarting the instruction
would result in incorrect behavior.

Fix this by validating the guest linear address before doing the I/O port
emulation. If the validation results in a page fault exception being injected
into the guest then the instruction can now be restarted without any
side-effects.
2014-05-26 18:21:08 +00:00
..
2013-03-17 06:54:04 +00:00
2013-07-10 07:40:30 +00:00
2014-02-22 07:18:06 +00:00
2014-02-08 13:37:02 +00:00
2012-10-07 19:53:04 +00:00
2013-10-30 11:41:28 +00:00
2014-04-24 11:28:23 +00:00
2013-05-10 16:41:26 +00:00
2012-03-26 21:22:53 +00:00
2012-03-26 15:18:14 +00:00
2014-05-15 18:34:31 +00:00
2014-05-17 02:53:10 +00:00
2014-04-30 18:11:53 +00:00
2012-09-01 10:56:15 +00:00
2010-12-20 08:54:30 +00:00
2013-04-11 18:46:41 +00:00
2014-01-30 21:32:25 +00:00
2012-05-17 11:50:12 +00:00
2013-12-25 01:20:14 +00:00
2014-05-09 14:24:02 +00:00
2014-01-30 21:32:25 +00:00
2012-07-04 10:17:02 +00:00
2014-04-22 22:02:06 +00:00
2013-09-07 20:25:22 +00:00
2013-04-22 18:31:39 +00:00
2013-05-13 18:13:50 +00:00
2013-05-12 22:22:12 +00:00
2014-02-08 13:37:02 +00:00
2012-03-26 21:22:53 +00:00
2013-07-15 05:09:13 +00:00