qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Robert Reif <reif@earthlink.net>
To: qemu-devel@nongnu.org
Cc: Blue Swirl <blauwirbel@gmail.com>
Subject: Re: [Qemu-devel] [RFC] 64 bit device I/O
Date: Tue, 24 Feb 2009 18:46:25 -0500	[thread overview]
Message-ID: <49A486D1.3000305@earthlink.net> (raw)
In-Reply-To: <f43fc5580902241216t61a395d6qfddd1a226fd734c7@mail.gmail.com>

Blue Swirl wrote:
> Would it be better to use a structure with four elements with correct
> types (including uint8/16_t)  instead of the cast? This could also be
> limited to only cpu_register_io_memory64.
>
>
>   
This is what I would prefer and is what the first version of this patch
that I submitted a year ago did:   http://landley.net/qemu/2008-01-01.html

The problem is that every hardware driver would need to be changed and
some of them would need to be changed drastically because they use the
same functions for all three data sizes.  No one seemed interested in this
approach so I abandoned it.

This approach while uglier requires no changes to the hardware drivers
unless they need 64 bit support so I hoped it would be better received.

  reply	other threads:[~2009-02-24 23:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-21 15:05 [Qemu-devel] [RFC] 64 bit device I/O Robert Reif
2009-02-24 12:50 ` Robert Reif
2009-02-24 20:16   ` Blue Swirl
2009-02-24 23:46     ` Robert Reif [this message]
2009-02-25  7:24       ` Avi Kivity
2009-02-25  7:25       ` Avi Kivity
2009-02-25 11:55         ` Robert Reif
2009-02-25 20:02           ` Blue Swirl
2009-02-25 11:55       ` Paul Brook

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=49A486D1.3000305@earthlink.net \
    --to=reif@earthlink.net \
    --cc=blauwirbel@gmail.com \
    --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).