From: James Lemke Date: Wed, 11 Feb 1998 23:19:52 +0000 (+0000) Subject: Update DMA register addresses X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d5a459fd1c6dc40f12f0f4086ad30fac26477ed;p=binutils-gdb.git Update DMA register addresses --- diff --git a/sim/mips/sky-pke.c b/sim/mips/sky-pke.c index eb64cd32c7b..554371e3491 100644 --- a/sim/mips/sky-pke.c +++ b/sim/mips/sky-pke.c @@ -450,11 +450,11 @@ pke_io_write_buffer(device *me_, fqw = & me->fifo[me->fifo_num_elements]; memcpy((void*) fqw->data, src, nr_bytes); sim_read(CPU_STATE(cpu), - (SIM_ADDR) (me->pke_number == 0 ? DMA_CHANNEL0_SRCADDR : DMA_CHANNEL1_SRCADDR), + (SIM_ADDR) (me->pke_number == 0 ? DMA_D0_SRCADDR : DMA_D1_SRCADDR), (void*) & fqw->source_address, sizeof(address_word)); sim_read(CPU_STATE(cpu), - (SIM_ADDR) (me->pke_number == 0 ? DMA_CHANNEL0_PKTFLAG : DMA_CHANNEL1_PKTFLAG), + (SIM_ADDR) (me->pke_number == 0 ? DMA_D0_PKTFLAG : DMA_D1_PKTFLAG), (void*) & fqw->dma_tag_present, sizeof(unsigned_4));