diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-08-15 14:47:30 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-08-15 14:47:30 +0000 |
commit | e82d8ade13e313a457ea2859470e1da56cc8bca9 (patch) | |
tree | 1c00c68d8c7106256dc68a463a0a820ce134bc1b /tests | |
parent | d2bfb39ad220a6431e366bdff72353b09f60e3db (diff) | |
download | qemu-e82d8ade13e313a457ea2859470e1da56cc8bca9.zip qemu-e82d8ade13e313a457ea2859470e1da56cc8bca9.tar.gz qemu-e82d8ade13e313a457ea2859470e1da56cc8bca9.tar.bz2 |
fixed bound memory reference
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1045 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-i386.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-i386.c b/tests/test-i386.c index 73a701f..29f0dfa 100644 --- a/tests/test-i386.c +++ b/tests/test-i386.c @@ -1364,7 +1364,7 @@ void test_exceptions(void) /* bound exception */ tab[0] = 1; tab[1] = 10; - asm volatile ("bound %0, %1" : : "r" (11), "m" (tab)); + asm volatile ("bound %0, %1" : : "r" (11), "m" (tab[0])); } printf("segment exceptions:\n"); |