All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Cc: "Edgar E. Iglesias" <edgar.iglesias@axis.com>
Subject: Re: [Qemu-devel] TARGET_PAGE_SIZE > host page size
Date: Fri, 21 Sep 2007 16:43:37 +0100	[thread overview]
Message-ID: <200709211643.38028.paul@codesourcery.com> (raw)
In-Reply-To: <20070921132947.GN20171@edgar.underground.se.axis.com>

On Friday 21 September 2007, Edgar E. Iglesias wrote:
> Hello,
>
> I'm working on a new target port and the linux-user emulation is fairly
> functional and passing quite extensive test-suites.
>
> I've got a problem though, my target has 8K page sizes, so for example when
> running on a x86 host TARGET_PAGE_SIZE > host page size.
>
> I'm not very familiar with linux-user/mmap.c, but I though I'd let you know
> that with this patch things seem to be working fine for me. I am not sure
> if the patch is correct so if anyone with more experience sees an obvious
> flaw I'd appreciate to know.

qemu_host_page_size is always >= TARGET_PAGE_SIZE. See exec.c.
There are several existing target that have >4k page sizes.

Paul

  reply	other threads:[~2007-09-21 15:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-21 13:29 [Qemu-devel] TARGET_PAGE_SIZE > host page size Edgar E. Iglesias
2007-09-21 15:43 ` Paul Brook [this message]
2007-09-22  1:08   ` Edgar E. Iglesias
2007-09-22  7:34   ` Edgar E. Iglesias

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=200709211643.38028.paul@codesourcery.com \
    --to=paul@codesourcery.com \
    --cc=edgar.iglesias@axis.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.