All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice.bellard@free.fr>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Alpha update
Date: Sun, 11 May 2003 15:10:23 +0200	[thread overview]
Message-ID: <3EBE4BBF.1020403@free.fr> (raw)
In-Reply-To: 87ptmqjm3q.fsf@student.uni-tuebingen.de

Falk Hueffner wrote:
 > Hi,
 >
 > this patch does gp and __op_param handling correctly, following a
 > suggestion from Richard Henderson. Also adds support for PC-relative
 > jumps. I believe the translation engine itself is now complete. And I
 > added an Alpha disassembler lifted from binutils.
 >
 > However, there are still problems with the ELF loader. It seems like
 > some binaries want a mmaping at an offset that is not divisible by the
 > page size:
 >
 > ./qemu -d /usr/local/qemu-i386/bin/ls-i386
 > [...]
 > mmap4k(start = 0x8052000, length = 592, prot = 0x3 (rw),
 >        flags = 0x2102 (MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE),
 >        fd = 4, offset = 39040)
 >
 > 39040 % 4096 == 2176
 >
 > Alpha Linux 2.5.69 doesn't seem to handle unaligned offsets. Do other
 > architecures? Or earlier versions? The em86 code doesn't seem to care
 > about this at all. The only thing to handle this I can think of is to
 > mmap anonymously and use read() to fill in the data... or am I missing
 > something?

Hi,

I commited your latest patches for Alpha.

For the mmap problem, I will integrate something like mmap4k, but I need
to make some patches in it so that the 'pagemap' stuff can be used in
the CPU emulator to handle self-modifying code and explicit translation
cache invalidation.

BTW, it was mentionned that variable host page size support was
necessary. Would a configure time probe be OK or should it be
dynamically probed ?

Fabrice.

  reply	other threads:[~2003-05-11 13:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-11  1:41 [Qemu-devel] Alpha update Falk Hueffner
2003-05-11 13:10 ` Fabrice Bellard [this message]
2003-05-11 18:40   ` David S. Miller
2003-05-11 22:27   ` Fabrice Bellard
  -- strict thread matches above, loose matches on Subject: below --
2003-04-30 11:34 Falk Hueffner
2003-04-30 10:48 ` David S. Miller
2003-04-30 14:01   ` David S. Miller
2003-05-01 19:27     ` Falk Hueffner
2003-05-01 18:48       ` David S. Miller
2003-05-03 17:29         ` fabrice.bellard
2003-05-03 16:32           ` David S. Miller

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=3EBE4BBF.1020403@free.fr \
    --to=fabrice.bellard@free.fr \
    --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.