x86_emulate: Do not request emulation of REP instructions beyond the
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 19 Aug 2008 14:56:31 +0000 (15:56 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 19 Aug 2008 14:56:31 +0000 (15:56 +0100)
commit5dfe4aa4eeb6a4f49c4e90b378c6dea5bd99dc1c
tree3ef11c8d79d45fc97df7c3ad6aa9fc2245295b4a
parent154ef9e3cc7bb902df177d4942f5af53da7af67b
x86_emulate: Do not request emulation of REP instructions beyond the
point at which the index register (SI/DI) wraps. This can cause a
discontinuity in the address range accessed by the repeated
instruction.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c