RTEMS | Draft: sparc: removed uses, prototype and implementation of set_vector() (!447)
Sunil Hegde (@sunil-hegde)
gitlab at rtems.org
Wed Jun 25 15:26:40 UTC 2025
Sunil Hegde commented on a discussion on bsps/sparc/shared/start/leontrap.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/447#note_125291
> + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
> + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
> + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
> + * POSSIBILITY OF SUCH DAMAGE.
> + */
> +
> +#include <bsp.h>
> +#include "leon.h"
> +
> +void LEON_Clear_and_unmask_interrupt(rtems_vector_number vector)
> +{
> + if (SPARC_IS_INTERRUPT_TRAP(vector)) {
> + uint32_t source = SPARC_INTERRUPT_TRAP_TO_SOURCE(vector);
> + LEON_Clear_interrupt(source);
> + LEON_Unmask_interrupt(source);
> + }
ok i will work on using this approach and update the mr asap
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/447#note_125291
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250625/cd7be62f/attachment.htm>
More information about the bugs
mailing list