diff options
Diffstat (limited to 'hw/etraxfs_dma.c')
-rw-r--r-- | hw/etraxfs_dma.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/hw/etraxfs_dma.c b/hw/etraxfs_dma.c index e4bc82438b..12dd78db27 100644 --- a/hw/etraxfs_dma.c +++ b/hw/etraxfs_dma.c @@ -562,10 +562,7 @@ static inline int channel_in_run(struct fs_dma_ctrl *ctrl, int c) static uint32_t dma_rinvalid (void *opaque, target_phys_addr_t addr) { - struct fs_dma_ctrl *ctrl = opaque; - CPUState *env = ctrl->env; - cpu_abort(env, "Unsupported short access. reg=" TARGET_FMT_plx "\n", - addr); + hw_error("Unsupported short access. reg=" TARGET_FMT_plx "\n", addr); return 0; } @@ -600,10 +597,7 @@ dma_readl (void *opaque, target_phys_addr_t addr) static void dma_winvalid (void *opaque, target_phys_addr_t addr, uint32_t value) { - struct fs_dma_ctrl *ctrl = opaque; - CPUState *env = ctrl->env; - cpu_abort(env, "Unsupported short access. reg=" TARGET_FMT_plx "\n", - addr); + hw_error("Unsupported short access. reg=" TARGET_FMT_plx "\n", addr); } static void |