On 9/6/19 8:47 AM, Alex Bennée wrote: > + if (arm_dc_feature(s, ARM_FEATURE_M) && > + semihosting_enabled() && > +#ifndef CONFIG_USER_ONLY > + s->current_el != 0 && > +#endif
This last should be !IS_USER(s), no ifdef. r~
On 9/6/19 8:47 AM, Alex Bennée wrote: > + if (arm_dc_feature(s, ARM_FEATURE_M) && > + semihosting_enabled() && > +#ifndef CONFIG_USER_ONLY > + s->current_el != 0 && > +#endif
This last should be !IS_USER(s), no ifdef. r~