public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
From: "Frank Ch. Eigler" <fche@redhat.com>
To: Deaf Beed <deafbeed@gmail.com>
Cc: sid@sourceware.org
Subject: Re: Loading image-file in SID.
Date: Wed, 18 Aug 2010 20:34:00 -0000	[thread overview]
Message-ID: <20100818203433.GD29393@redhat.com> (raw)
In-Reply-To: <AANLkTinw3s-yGNXrKwFJASfzvneuSmhb_u1fp1WvkEpG@mail.gmail.com>

Hi -

On Wed, Aug 18, 2010 at 11:13:29PM +0530, Deaf Beed wrote:
> [...]
> However, once the prints have executed, the control passes to, I
> think, the OS idle loop and the simulation does not exit on its own. I
> have to stop it. Is there a way to make the simulation exit/finish on
> its own? maybe by programming some sid simulation component.

The software needs to decide how it wishes to signal its own
termination, then some piece of sid configuration needs to map that to
a signal to the cfgroot stop! pin.  

If the sw-gloss* is not used, nor is gdb, then you could jury-rig what
is in effect a breakpoint using triggerpoints (connect the
watch:pc:value:0xsomething pseudo-pin on the cpu to the cfgroot
stop!).

Or you could wire up a virtual device such as hw-glue-probe-bus into
the bus mapper tree at some particular address, then poke at that
address from the arm software code.

- FChE

      reply	other threads:[~2010-08-18 20:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-19 11:04 Deaf Beed
2010-07-19 11:09 ` Frank Ch. Eigler
2010-08-18 17:43   ` Deaf Beed
2010-08-18 20:34     ` Frank Ch. Eigler [this message]

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=20100818203433.GD29393@redhat.com \
    --to=fche@redhat.com \
    --cc=deafbeed@gmail.com \
    --cc=sid@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).