Issue: irq wait 0 irq 0 are translated as: irq(wait, 0) # 0 irq(nowait, 0) # 1 wait/nowait are incorrect, should be block or ommited (alt: noblock). After change: irq(block, 0) # 0 irq(0) # 1
This commit is contained in:
parent
215f77b836
commit
d831eff5a2
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
|
||||
* Copyright (c) 2021 Raspberry Pi (Trading) Ltd.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
@ -283,9 +283,7 @@ struct python_output : public output_format {
|
||||
if (arg1 & 0x2u) {
|
||||
guts += "clear, ";
|
||||
} else if (arg1 & 0x1u) {
|
||||
guts += "wait, ";
|
||||
} else {
|
||||
guts += "nowait, ";
|
||||
guts += "block, ";
|
||||
}
|
||||
auto irq = std::to_string(arg2 & 7u);
|
||||
if (arg2 & 0x10u) {
|
||||
|
Loading…
Reference in New Issue
Block a user