diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2023-06-05 12:54:43 +1000 |
---|---|---|
committer | Daniel Henrique Barboza <danielhb413@gmail.com> | 2023-06-10 10:19:24 -0300 |
commit | 392d328abe7534a6e852151740913e2cd50426bc (patch) | |
tree | 3463b632508105e414561b71a2c51257e8ffd01c /event-loop-base.c | |
parent | e025e8f5a8a7e32409bb4c7c509d752486113188 (diff) | |
download | qemu-392d328abe7534a6e852151740913e2cd50426bc.zip qemu-392d328abe7534a6e852151740913e2cd50426bc.tar.gz qemu-392d328abe7534a6e852151740913e2cd50426bc.tar.bz2 |
target/ppc: Ensure stcx size matches larx
Differently-sized larx/stcx. pairs can succeed if the starting address
matches. Add a check to require the size of stcx. exactly match the larx
that established the reservation. Use the term "reserve_length" for this
state, which matches the terminology used in the ISA.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Message-Id: <20230605025445.161932-2-npiggin@gmail.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'event-loop-base.c')
0 files changed, 0 insertions, 0 deletions