public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
From: Peter Gavin <pgavin@gmail.com>
To: cgen@sourceware.org
Subject: cgen, GNU gdb/sim, and full system simulation
Date: Fri, 11 May 2012 11:57:00 -0000	[thread overview]
Message-ID: <CAKEMJMqCY3DrU++LRZQMRCFwxndp0EK+4n-ufHMTz7OUGG7aiQ@mail.gmail.com> (raw)

Hello,

I'm working on a port of the gdb simulator for OpenRISC.  I was
wondering if anyone had any input on how difficult a full-system
simulator would be to implement vs. the syscall emulated simulators
the other ports seem to use.

The primary thing I'm concerned about at the moment is virtual memory.
 It doesn't look like there's an easy way to add virtual memory to the
simulators.  It would be easy enough to do for load and store
instructions, just by adding a call to an address translation function
prior to accessing the memory.  But it doesn't look like there's a way
to translate the PC prior to fetching an instruction.

I don't mind do a little hacking on the framework, but I don't want to
break things, and I'd like to get some input from you guys before I
start doing that :)

Thanks for your help,
-Pete

             reply	other threads:[~2012-05-11 11:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-11 11:57 Peter Gavin [this message]
2012-05-16 17:07 ` Frank Ch. Eigler
2012-05-18 12:46   ` Peter Gavin
2012-05-18 12:52     ` Frank Ch. Eigler

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=CAKEMJMqCY3DrU++LRZQMRCFwxndp0EK+4n-ufHMTz7OUGG7aiQ@mail.gmail.com \
    --to=pgavin@gmail.com \
    --cc=cgen@sourceware.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 read-only IMAP folder(s) and NNTP newsgroup(s).