mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
Hexagon (target/hexagon) change variables from int to bool when appropriate
Suggested-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <1617930474-31979-8-git-send-email-tsimpson@quicinc.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
6c677c60ae
commit
92cfa25fd2
6 changed files with 60 additions and 59 deletions
|
@ -47,7 +47,7 @@ static inline uint32_t iclass_bits(uint32_t encoding)
|
|||
return iclass;
|
||||
}
|
||||
|
||||
static inline int is_packet_end(uint32_t endocing)
|
||||
static inline bool is_packet_end(uint32_t endocing)
|
||||
{
|
||||
uint32_t bits = parse_bits(endocing);
|
||||
return ((bits == 0x3) || (bits == 0x0));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue