Update DMA register addresses
This commit is contained in:
parent
e0deacd295
commit
5d5a459fd1
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue