x86 c++ exception handling

Karel Gardas karel.gardas at centrum.cz
Sat Sep 12 19:41:45 UTC 2020


On 9/12/20 5:33 AM, Joel Sherrill wrote:
> I suspect if you want a common floor it is a Pentium II. That's where SMP
> appeared.
> 
> We can't sanity check the cpu model if we don't know the rules. And if we
> know the rules, we should just drop those low models. And error if someone
> runs on an older model.

Well, I think we may also change a perspective this way: RSB supports
pc.set which builds pc686 by default. So this is SMP safe BSP. I guess
that's what majority of user will use as it is very convenient.

Once someone would like to build variant of pc386 BSP by hand, we may
add clear error/warning about SMP being unsupported on the particular
old BSP.

Attached patch implements this (clear error). It basically allows
--enable-smp only for pc686 and pcp4 BSPs.

Comments welcome!

Thanks,
Karel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-pc-BSPs-error-on-attempt-to-enable-SMP-for-older-BSP.patch
Type: text/x-patch
Size: 1279 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200912/830ec2ce/attachment.bin>


More information about the devel mailing list