projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7be9d0e
)
target-xtensa: add fallthrough markers
author
Max Filippov
<jcmvbkbc@gmail.com>
Mon, 21 Jan 2013 14:40:04 +0000
(18:40 +0400)
committer
Max Filippov
<jcmvbkbc@gmail.com>
Mon, 29 Jul 2013 14:24:27 +0000
(18:24 +0400)
Explicitly mark cases where we are deliberately falling through to the
following code.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
target-xtensa/op_helper.c
patch
|
blob
|
history
diff --git
a/target-xtensa/op_helper.c
b/target-xtensa/op_helper.c
index 4c41de066872bb92f66422de9aed183396cd589f..834fe9087debe23c2b4714dcc58f8f0d5c771d8a 100644
(file)
--- a/
target-xtensa/op_helper.c
+++ b/
target-xtensa/op_helper.c
@@
-448,8
+448,10
@@
void HELPER(check_atomctl)(CPUXtensaState *env, uint32_t pc, uint32_t vaddr)
switch (access & PAGE_CACHE_MASK) {
case PAGE_CACHE_WB:
atomctl >>= 2;
+ /* fall through */
case PAGE_CACHE_WT:
atomctl >>= 2;
+ /* fall through */
case PAGE_CACHE_BYPASS:
if ((atomctl & 0x3) == 0) {
HELPER(exception_cause_vaddr)(env, pc,