mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
Fix most warnings (errors with -Werror) when debugging is enabled
I used the following command to enable debugging: perl -p -i -e 's/^\/\/#define DEBUG/#define DEBUG/g' * */* */*/* Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
c0a2a096a0
commit
0bf9e31af1
21 changed files with 95 additions and 103 deletions
|
@ -197,8 +197,8 @@ static void slavio_timer_mem_writel(void *opaque, target_phys_addr_t addr,
|
|||
s->counthigh = val & (TIMER_MAX_COUNT64 >> 32);
|
||||
s->reached = 0;
|
||||
count = ((uint64_t)s->counthigh << 32) | s->count;
|
||||
DPRINTF("processor %d user timer set to %016llx\n", s->slave_index,
|
||||
count);
|
||||
DPRINTF("processor %d user timer set to %016" PRIx64 "\n",
|
||||
s->slave_index, count);
|
||||
if (s->timer)
|
||||
ptimer_set_count(s->timer, LIMIT_TO_PERIODS(s->limit - count));
|
||||
} else {
|
||||
|
@ -223,8 +223,8 @@ static void slavio_timer_mem_writel(void *opaque, target_phys_addr_t addr,
|
|||
s->count = val & TIMER_MAX_COUNT64;
|
||||
s->reached = 0;
|
||||
count = ((uint64_t)s->counthigh) << 32 | s->count;
|
||||
DPRINTF("processor %d user timer set to %016llx\n", s->slave_index,
|
||||
count);
|
||||
DPRINTF("processor %d user timer set to %016" PRIx64 "\n",
|
||||
s->slave_index, count);
|
||||
if (s->timer)
|
||||
ptimer_set_count(s->timer, LIMIT_TO_PERIODS(s->limit - count));
|
||||
} else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue