qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Hervé Poussineau" <hpoussin@reactos.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] rc4030 chipset: enhancements
Date: Sun, 15 Mar 2009 18:37:05 +0100	[thread overview]
Message-ID: <49BD3CC1.4040009@reactos.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]

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 <hpoussin@reactos.org>

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

Hervé

[1] patch on the way

[-- Attachment #2: rc4030_enhancements.diff --]
[-- Type: plain/text, Size: 15663 bytes --]

                 reply	other threads:[~2009-03-15 17:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49BD3CC1.4040009@reactos.org \
    --to=hpoussin@reactos.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).