<div dir="ltr"><div dir="ltr"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><br></div></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Segher Boessenkool <<a href="mailto:segher@kernel.crashing.org">segher@kernel.crashing.org</a>> 于2021年4月1日周四 上午6:15写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Mar 31, 2021 at 08:58:17PM +1100, Michael Ellerman wrote:<br>
> So perhaps:<br>
> <br>
>   EXC_SYSTEM_RESET<br>
>   EXC_MACHINE_CHECK<br>
>   EXC_DATA_STORAGE<br>
>   EXC_DATA_SEGMENT<br>
>   EXC_INST_STORAGE<br>
>   EXC_INST_SEGMENT<br>
>   EXC_EXTERNAL_INTERRUPT<br>
>   EXC_ALIGNMENT<br>
>   EXC_PROGRAM_CHECK<br>
>   EXC_FP_UNAVAILABLE<br>
>   EXC_DECREMENTER<br>
>   EXC_HV_DECREMENTER<br>
>   EXC_SYSTEM_CALL<br>
>   EXC_HV_DATA_STORAGE<br>
>   EXC_PERF_MONITOR<br>
<br>
These are interrupt (vectors), not exceptions.  It doesn't matter all<br>
that much, but confusing things more isn't useful either!  There can be<br>
multiple exceptions that all can trigger the same interrupt.<br>
<br></blockquote><div> When looking at the reference manual of e500 and e600 from NXP</div><div> official, they call them as interrupts.While looking at the "The Programming Environments"</div><div> that is also from NXP, they call them exceptions. Looks like there is</div><div> no explicit distinction between interrupts and exceptions. </div><br>Here are the links for the reference manual of e600 and e500:</div><div class="gmail_quote"><a href="https://www.nxp.com.cn/docs/en/reference-manual/E600CORERM.pdf">https://www.nxp.com.cn/docs/en/reference-manual/E600CORERM.pdf</a></div><div class="gmail_quote"><a href="https://www.nxp.com/files-static/32bit/doc/ref_manual/EREF_RM.pdf">https://www.nxp.com/files-static/32bit/doc/ref_manual/EREF_RM.pdf</a><br><br></div><div class="gmail_quote">Here is the "The Programming Environments" link:</div><div class="gmail_quote"><a href="https://www.nxp.com.cn/docs/en/user-guide/MPCFPE_AD_R1.pdf">https://www.nxp.com.cn/docs/en/user-guide/MPCFPE_AD_R1.pdf</a></div><div class="gmail_quote"><br></div><div class="gmail_quote">As far as I know, the values of interrupts or exceptions above are defined</div><div class="gmail_quote">explicitly in reference manual or the programming environments. Could</div><div class="gmail_quote">you please provide more details about multiple exceptions with the same</div><div class="gmail_quote">interrupts? </div><div class="gmail_quote"><br></div><div class="gmail_quote">Xiongwei</div></div>