<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Mar 12, 2018 7:40 AM, "Amaan Cheval" <<a href="mailto:amaan.cheval@gmail.com">amaan.cheval@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Agreed. I'll look into fixing CPU_Interrupt_frame up as time permits.<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">If you get it to compile before addressing the context switch synchronization point, one thought is to put an ifdef RTEMS_SMP with a #error where the fix needs to go with the message referencing the ticket number.</div><div dir="auto"><br></div><div dir="auto">At least that way, it still doesn't compile until that issue is also fixed. As Sebastian said, that failure is more subtle than a compile error.</div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Appreciate the help and follow-ups, thanks!<br>
<div class="elided-text"><br>
On Mon, Mar 12, 2018 at 6:06 PM Sebastian Huber <<br>
<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-<wbr>brains.de</a>> wrote:<br>
<br>
> On 12/03/18 13:32, Amaan Cheval wrote:<br>
> > I originally sent this patch with the intent of merely ridding the i386<br>
> > targets of compiler errors, for anyone interested in looking into SMP<br>
> > issues on the arch.<br>
> ><br>
> > Do you believe that I should look into fixing i386's incomplete SMP<br>
> > context-switch support for this patch too, or would that be okay as a<br>
> > follow-up later, given that it seems like there's more incompleteness<br>
> > regarding SMP for i386?<br>
<br>
> A compile-time error is a good hint that it is broken. I think this is<br>
> more user friendly compared to having to debug a run-time error which<br>
> takes place only under certain conditions.<br>
<br>
> --<br>
> Sebastian Huber, embedded brains GmbH<br>
<br>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
> Phone : <a href="tel:%2B49%2089%20189%2047%2041-16" value="+4989189474116">+49 89 189 47 41-16</a><br>
> Fax : <a href="tel:%2B49%2089%20189%2047%2041-09" value="+4989189474109">+49 89 189 47 41-09</a><br>
> E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-<wbr>brains.de</a><br>
> PGP : Public key available on request.<br>
<br>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a></div></blockquote></div><br></div></div></div>