diff options
author | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-14 01:04:24 +0000 |
---|---|---|
committer | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-03-14 01:04:24 +0000 |
commit | e62b5b133b97e07711741e2a4e2bf3e4dbc254f8 (patch) | |
tree | b8ce3c5c96656259bf42a99be2f71b2ba5e461b7 /hw/etraxfs_ser.c | |
parent | 1ec6d2ea991a1605b9e0898aa9b6e0a2f56c6881 (diff) | |
download | qemu-e62b5b133b97e07711741e2a4e2bf3e4dbc254f8.zip qemu-e62b5b133b97e07711741e2a4e2bf3e4dbc254f8.tar.gz qemu-e62b5b133b97e07711741e2a4e2bf3e4dbc254f8.tar.bz2 |
* Add a model of the ETRAX interrupt controller.
* Clean up the interrupt handling a bit.
* Connect some NOR flash to the test board.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4055 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/etraxfs_ser.c')
-rw-r--r-- | hw/etraxfs_ser.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/hw/etraxfs_ser.c b/hw/etraxfs_ser.c index 44e75cc..dd84d2a 100644 --- a/hw/etraxfs_ser.c +++ b/hw/etraxfs_ser.c @@ -66,7 +66,7 @@ static uint32_t ser_readl (void *opaque, target_phys_addr_t addr) break; default: - printf ("%s %x p=%x\n", __func__, addr, env->pc); + D(printf ("%s %x p=%x\n", __func__, addr, env->pc)); break; } return r; @@ -100,10 +100,11 @@ ser_writel (void *opaque, target_phys_addr_t addr, uint32_t value) putchar(value); else putchar('.'); + fflush(stdout); break; default: - printf ("%s %x %x pc=%x\n", - __func__, addr, value, env->pc); + D(printf ("%s %x %x pc=%x\n", + __func__, addr, value, env->pc)); break; } } |