Browse files

MIPS JZ: Fixed spelling: "sdac" -> "sadc".

  • Loading branch information...
1 parent 7df9451 commit c0ad2e9d7fec084086e491f2eda361a06372fdd8 @mthuurne committed Jul 22, 2010
Showing with 6 additions and 6 deletions.
  1. +6 −6 hw/mips_jz.c
View
12 hw/mips_jz.c
@@ -2699,7 +2699,7 @@ static uint32_t jz4740_sadc_read8(void *opaque, target_phys_addr_t addr)
return 0;
}
-static uint32_t jz4740_sdac_read16(void *opaque, target_phys_addr_t addr)
+static uint32_t jz4740_sadc_read16(void *opaque, target_phys_addr_t addr)
{
struct jz4740_sadc_s *s = (struct jz4740_sadc_s *) opaque;
@@ -2714,13 +2714,13 @@ static uint32_t jz4740_sdac_read16(void *opaque, target_phys_addr_t addr)
return s->adsdat;
default:
cpu_abort(s->soc->env,
- "jz4740_sdac_read16 undefined addr " TARGET_FMT_plx "\n",
+ "jz4740_sadc_read16 undefined addr " TARGET_FMT_plx "\n",
addr);
}
return 0;
}
-static uint32_t jz4740_sdac_read32(void *opaque, target_phys_addr_t addr)
+static uint32_t jz4740_sadc_read32(void *opaque, target_phys_addr_t addr)
{
struct jz4740_sadc_s *s = (struct jz4740_sadc_s *) opaque;
switch (addr) {
@@ -2737,7 +2737,7 @@ static uint32_t jz4740_sdac_read32(void *opaque, target_phys_addr_t addr)
}
default:
cpu_abort(s->soc->env,
- "jz4740_sdac_read32 undefined addr " TARGET_FMT_plx "\n",
+ "jz4740_sadc_read32 undefined addr " TARGET_FMT_plx "\n",
addr);
}
return 0;
@@ -2834,8 +2834,8 @@ static void jz4740_sadc_reset(struct jz4740_sadc_s *s)
static CPUReadMemoryFunc *jz4740_sadc_readfn[] = {
jz4740_sadc_read8,
- jz4740_sdac_read16,
- jz4740_sdac_read32,
+ jz4740_sadc_read16,
+ jz4740_sadc_read32,
};
static CPUWriteMemoryFunc *jz4740_sadc_writefn[] = {

0 comments on commit c0ad2e9

Please sign in to comment.