mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
Replace cpu_abort with hw_error
Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
parent
e612a1f725
commit
2ac711791b
47 changed files with 180 additions and 262 deletions
|
@ -332,7 +332,7 @@ static uint32_t pl181_read(void *opaque, target_phys_addr_t offset)
|
|||
return value;
|
||||
}
|
||||
default:
|
||||
cpu_abort (cpu_single_env, "pl181_read: Bad offset %x\n", (int)offset);
|
||||
hw_error("pl181_read: Bad offset %x\n", (int)offset);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
@ -403,7 +403,7 @@ static void pl181_write(void *opaque, target_phys_addr_t offset,
|
|||
}
|
||||
break;
|
||||
default:
|
||||
cpu_abort (cpu_single_env, "pl181_write: Bad offset %x\n", (int)offset);
|
||||
hw_error("pl181_write: Bad offset %x\n", (int)offset);
|
||||
}
|
||||
pl181_update(s);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue