qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] rc4030 chipset: enhancements


From: Hervé Poussineau
Subject: [Qemu-devel] [PATCH] rc4030 chipset: enhancements
Date: Sun, 15 Mar 2009 18:37:05 +0100
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

Hi,

rc4030 chipset contains the DMA controller. Some devices (like the Jazz netcard[1]) need to access the DMA memory without using a DMA channel. The chosen prototype "void (*memory_rw)(void *opaque, target_phys_addr_t addr, uint8_t *buf, int len, int is_write);" is quite similar to cpu_physical_memory_rw().
Document also some registers and remove one hack.

I also put all returned functions/pointers by the rc4030 init function to a structure to not add two new output parameters to the init function.

Signed-off-by: Hervé Poussineau <address@hidden>

Changes have been tested on Linux, NetBSD, and Windows NT/MIPS.

Hervé

[1] patch on the way

Attachment: rc4030_enhancements.diff
Description: plain/text


reply via email to

[Prev in Thread] Current Thread [Next in Thread]