All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ormaetxea Xabier <xormaetxea@ikerlan.es>
To: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Code source modifying
Date: Mon, 10 Jul 2017 09:14:58 +0000	[thread overview]
Message-ID: <B1DA44315104F94D9F3F23C74275EA9D729B34@Ikerlan-12.ikerlan.es> (raw)

Hello!

I need  to modify the source code of QEMU to apply a little change. My final idea is to prove the utility of a virtual platform as a way of reusing software designed for an obsolete hardware. For that I've created a "real timer", connected to my board. Now... the problem:

My standalone program writes "0xffffffff" in the position 0x95000000 when the timer should start, and "0x00000000" when it have to finish. I want to modify the code so every single (standalone) program step reads the virtual 0x95000000 and changes the value of a gpio. But I can't find how I can read from the source code the virtual memory, and I can't find neither where/how does the program process (step by step) the standalone program.

I don't know if I have explained well my doubts...

Thankyou in advance!

Xabi

             reply	other threads:[~2017-07-10  9:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-10  9:14 Ormaetxea Xabier [this message]
2017-07-10  9:26 ` [Qemu-devel] Code source modifying Peter Maydell
     [not found]   ` <B1DA44315104F94D9F3F23C74275EA9D729B4B@Ikerlan-12.ikerlan.es>
     [not found]     ` <CAFEAcA_CF7KVq2MAhR3twsXfio3RNFRJ-SiK2pO7g1ZEzGvpGg@mail.gmail.com>
2017-07-10 10:16       ` Ormaetxea Xabier
2017-07-10 10:54         ` Peter Maydell
2017-07-11  7:07   ` Ormaetxea Xabier

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=B1DA44315104F94D9F3F23C74275EA9D729B34@Ikerlan-12.ikerlan.es \
    --to=xormaetxea@ikerlan.es \
    --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.