From: Nick Clifton <nickc@cambridge.redhat.com>
To: Richard.Earnshaw@arm.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: ARM SIM - add support to select SWI emulations to support.
Date: Fri, 17 May 2002 06:51:00 -0000 [thread overview]
Message-ID: <m3adqy3msg.fsf@north-pole.nickc.cambridge.redhat.com> (raw)
In-Reply-To: <200205171238.NAA22578@cam-mail2.cambridge.arm.com>
Hi Richard,
> + 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.
Err really ? I was under the impression that all three SWI protocols
used completely different number sets and so could be supported
simultaneously. It certainly looks that way in the ARMul_OSHandleSWI
function.
> Why not just require the user to select the right one?
The user may need to support more than one protocol and the
user/script setting this option might not know which protocol is going
to be used by a given binary. For example the current newlib
implementation defaults to using ANGEL, but the libgloss
implementation uses REDBOOT.
Besides there are enough free bits that there is no reason not to be
flexible and provide the ability to support more than one protocol at
the same time.
Cheers
Nick
prev parent reply other threads:[~2002-05-17 13:51 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
2002-05-17 6:51 ` Nick Clifton [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=m3adqy3msg.fsf@north-pole.nickc.cambridge.redhat.com \
--to=nickc@cambridge.redhat.com \
--cc=Richard.Earnshaw@arm.com \
--cc=gdb-patches@sources.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