From: Richard Earnshaw <rearnsha@arm.com>
To: Nick Clifton <nickc@cambridge.redhat.com>
Cc: gdb-patches@sources.redhat.com, Richard.Earnshaw@arm.com
Subject: Re: ARM SIM - add support to select SWI emulations to support.
Date: Fri, 17 May 2002 05:49:00 -0000 [thread overview]
Message-ID: <200205171248.NAA23580@cam-mail2.cambridge.arm.com> (raw)
In-Reply-To: Your message of "Fri, 17 May 2002 13:38:04 BST." <200205171238.NAA22578@cam-mail2.cambridge.arm.com>
> +
> + extern unsigned int swi_mask;
> +
> + #define SWI_MASK_DEMON (1 << 0)
> + #define SWI_MASK_ANGEL (1 << 1)
> + #define SWI_MASK_REDBOOT (1 << 2)
>
>
> Why make this a mask? A major part of the problem here is that these SWI
> sets may be mutually incompatible. Why not just require the user to
> select the right one?
Actually, DEMON and ANGEL are compatible (they were designed to be). But
that doesn't make this generally true of all SWI sets that we might want
to emulate.
The specific case here could be handled by allowing
--swi=demon
--swi=angel
--swi=angel+demon
--swi=redboot
Note the FPE in the ARMulator requires (a subset of) DEMON SWI support in
order to be able to handle floating point exceptions.
R.
next prev parent reply other threads:[~2002-05-17 12:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-17 2:11 Nick Clifton
2002-05-17 5:38 ` Richard Earnshaw
2002-05-17 5:49 ` Richard Earnshaw [this message]
2002-05-17 6:51 ` Nick Clifton
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=200205171248.NAA23580@cam-mail2.cambridge.arm.com \
--to=rearnsha@arm.com \
--cc=Richard.Earnshaw@arm.com \
--cc=gdb-patches@sources.redhat.com \
--cc=nickc@cambridge.redhat.com \
/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