On 11/29/20 2:39 PM, Peter Maydell wrote: > In rom_check_and_register_reset() we detect overlaps by looking at > whether the ROM blob we're currently examining is in the same address > space and starts before the previous ROM blob ends. (This works > because the ROM list is kept sorted in order by AddressSpace and then > by address.) > > Instead of keeping the AddressSpace and last address of the previous ROM > blob in local variables, just keep a pointer to it. > > This will allow us to print more useful information when we do detect > an overlap. > > Signed-off-by: Peter Maydell <[email protected]> > --- > hw/core/loader.c | 23 +++++++++++++++-------- > 1 file changed, 15 insertions(+), 8 deletions(-)
Reviewed-by: Richard Henderson <[email protected]> r~
