mirror of
https://github.com/xemu-project/xemu.git
synced 2025-04-02 11:11:48 -04:00
Give a error when running out of iomem areas.
The limit of iomem areas is quite low. Without the debug print, it is quite hard to figure out why more devices are not getting registered. Signed-off-by: Riku Voipio <riku.voipio@nokia.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
9a0c6a3373
commit
c6703b4761
1 changed files with 1 additions and 1 deletions
2
exec.c
2
exec.c
|
@ -2919,7 +2919,7 @@ static int get_free_io_mem_idx(void)
|
|||
io_mem_used[i] = 1;
|
||||
return i;
|
||||
}
|
||||
|
||||
fprintf(stderr, "RAN out out io_mem_idx, max %d !\n", IO_MEM_NB_ENTRIES);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue