mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
exec.h: fix coding style and change cpu_has_work to return bool
Before the next patch, fix coding style of the areas affected. Change the type of the return value from cpu_has_work() and qemu_cpu_has_work() to bool. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
d8108fb187
commit
f3e270377a
15 changed files with 24 additions and 24 deletions
|
@ -28,9 +28,9 @@ register struct CPUM68KState *env asm(AREG0);
|
|||
#include "softmmu_exec.h"
|
||||
#endif
|
||||
|
||||
static inline int cpu_has_work(CPUState *env)
|
||||
static inline bool cpu_has_work(CPUState *env)
|
||||
{
|
||||
return (env->interrupt_request & (CPU_INTERRUPT_HARD));
|
||||
return env->interrupt_request & (CPU_INTERRUPT_HARD);
|
||||
}
|
||||
|
||||
static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue