mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
exec: Make ldq/ldub_*_phys input an AddressSpace
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
This commit is contained in:
parent
fdfba1a298
commit
2c17449b30
25 changed files with 184 additions and 136 deletions
|
@ -30,6 +30,7 @@
|
|||
#include "hw/sysbus.h"
|
||||
#include "qemu/range.h"
|
||||
#include "ui/pixel_ops.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
/*
|
||||
* Status: 2010/05/07
|
||||
|
|
|
@ -120,7 +120,7 @@ static void glue(draw_hwc_line_, PIXEL_NAME)(SM501State * s, int crt,
|
|||
|
||||
/* get pixel value */
|
||||
if (i % 4 == 0) {
|
||||
bitset = ldub_phys(cursor_addr);
|
||||
bitset = ldub_phys(&address_space_memory, cursor_addr);
|
||||
cursor_addr++;
|
||||
}
|
||||
v = bitset & 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue