diff options
author | Paul Brook <paul@codesourcery.com> | 2009-05-08 02:35:15 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-05-08 02:35:15 +0100 |
commit | 2ac711791b2e4aabc5e4046b7428727828c705eb (patch) | |
tree | c4ed47028dee4949cc7eace9760a20d1759406e2 /hw/etraxfs_dma.c | |
parent | e612a1f7256bb3546cf3e9ae6cad3997c4153663 (diff) |
Replace cpu_abort with hw_error
Signed-off-by: Paul Brook <paul@codesourcery.com>
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 |