fixed bound memory reference
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1045 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
d2bfb39ad2
commit
e82d8ade13
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user