public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Yves Rutschle <y.rutschle@indigovision.com>
To: 'Jens-Christian Lache' <lache@tu-harburg.de>,
	'Philip Blundell' <philb@gnu.org>
Cc: "'crossgcc@sources.redhat.com'" <crossgcc@sources.redhat.com>
Subject: RE: gcc compile
Date: Sun, 01 Apr 2001 00:00:00 -0000	[thread overview]
Message-ID: <c=US%a=_%p=Indigo_Active_Vi%l=CRIANLARICH-010122113839Z-575@crianlarich.indigo-avs.com> (raw)
Message-ID: <20010401000000.6jZaaWInL466-V6V4hjRy-sOPot9ErIE7NsUvPOKI-I@z> (raw)

> Unfortunately the ARM simulator does not support the several 
> CPU modes, that
> the ARM7TDMI has. I made a software trap using "swi", and the 
> pc was set
> correctly to 0x8. It did also execute the jump instruction 
> from this place
> leading to my own swi handler. But when leaving it, returning to the
> code containing the swi, the mode was still 0x10, which is 
> not supervisor
> mode. 


How do you return from your SWI handler? Don't forget
you have to make
	movs	pc, lr
to copy SPSR in CPSR at the same time you return, so
the mode gets changed.

CPU modes have been in existence since the very beginning
of the ARM cores, so I doubt it's not supported!

Cheers,
Yves



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

             reply	other threads:[~2001-04-01  0:00 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-22  3:45 Yves Rutschle [this message]
2001-01-22  3:58 ` Jens-Christian Lache
2001-04-01  0:00   ` Jens-Christian Lache
2001-01-22  4:07 ` Jens-Christian Lache
2001-04-01  0:00   ` Jens-Christian Lache
2001-01-22  4:37 ` Jens-Christian Lache
2001-04-01  0:00   ` Jens-Christian Lache
2001-04-01  0:00 ` Yves Rutschle
  -- strict thread matches above, loose matches on Subject: below --
2001-01-23  9:21 Jens-Christian Lache
2001-01-23  9:29 ` Philip Blundell
2001-04-01  0:00   ` Philip Blundell
2001-04-01  0:00 ` Jens-Christian Lache
2001-01-22  7:08 Yves Rutschle
2001-04-01  0:00 ` Yves Rutschle
2001-01-22  4:27 Yves Rutschle
2001-01-22  4:41 ` Jens-Christian Lache
2001-04-01  0:00   ` Jens-Christian Lache
2001-01-22 13:38 ` Philip Blundell
2001-01-23  2:18   ` Richard Earnshaw
2001-01-23  2:26     ` Philip Blundell
2001-04-01  0:00       ` Philip Blundell
2001-04-01  0:00     ` Richard Earnshaw
2001-04-01  0:00   ` Philip Blundell
2001-04-01  0:00 ` Yves Rutschle
     [not found] <718D38CAB6E0D011B2C90060970C28A56425F0@EXCHANGESERVER>
2001-01-19  2:49 ` Jens-Christian Lache
2001-04-01  0:00   ` Jens-Christian Lache
2001-01-19  2:29 David Korn
2001-01-20  9:51 ` Philip Blundell
2001-01-20 17:15   ` David Feustel
2001-01-21  1:51     ` Philip Blundell
2001-04-01  0:00       ` Philip Blundell
2001-04-01  0:00     ` David Feustel
2001-01-22  2:53   ` Jens-Christian Lache
2001-01-22  3:08     ` Philip Blundell
2001-01-22  7:00       ` Jens-Christian Lache
2001-04-01  0:00         ` Jens-Christian Lache
2001-04-01  0:00       ` Philip Blundell
2001-01-22  3:22     ` Richard Earnshaw
2001-04-01  0:00       ` Richard Earnshaw
2001-04-01  0:00     ` Jens-Christian Lache
2001-04-01  0:00   ` Philip Blundell
2001-04-01  0:00 ` David Korn
2001-01-19  2:21 Jens-Christian Lache
2001-01-19  2:58 ` Pierre Saucourt-Harmel (r54698)
2001-04-01  0:00   ` Pierre Saucourt-Harmel (r54698)
2001-04-01  0:00 ` Jens-Christian Lache
2001-01-19  1:56 David Korn
2001-04-01  0:00 ` David Korn
2001-01-18 15:43 Hua Ji
2001-01-18 22:35 ` Helmut Kolb
2001-01-19  3:13   ` Kai Ruottu
2001-04-01  0:00     ` Kai Ruottu
2001-04-01  0:00   ` Helmut Kolb
2001-04-01  0:00 ` Hua Ji
2001-01-18  9:27 Sascha Andres
2001-01-18 13:39 ` Jonathan Larmour
2001-04-01  0:00   ` Jonathan Larmour
2001-01-18 15:23 ` Gerrit Peter Haase
2001-01-22  0:19   ` Sascha Andres
2001-01-22  2:43     ` Jens-Christian Lache
2001-04-01  0:00       ` Jens-Christian Lache
2001-04-01  0:00     ` Sascha Andres
2001-04-01  0:00   ` Gerrit Peter Haase
2001-04-01  0:00 ` Sascha Andres

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='c=US%a=_%p=Indigo_Active_Vi%l=CRIANLARICH-010122113839Z-575@crianlarich.indigo-avs.com' \
    --to=y.rutschle@indigovision.com \
    --cc=crossgcc@sources.redhat.com \
    --cc=lache@tu-harburg.de \
    --cc=philb@gnu.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).