Page MenuHomeFreeBSD

Implement pic_pre_ithread(), pic_post_ithread()
ClosedPublic

Authored by br on Apr 4 2019, 12:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 23, 12:19 AM
Unknown Object (File)
Thu, Oct 23, 12:19 AM
Unknown Object (File)
Thu, Oct 23, 12:19 AM
Unknown Object (File)
Wed, Oct 22, 4:35 PM
Unknown Object (File)
Sun, Oct 12, 1:13 AM
Unknown Object (File)
Mon, Oct 6, 4:30 PM
Unknown Object (File)
Sep 25 2025, 10:34 AM
Unknown Object (File)
Jul 7 2025, 12:10 PM
Subscribers

Details

Summary

These are required to properly handle interrupts in the interrupt thread.

Instead of disable/enable interrupts in pre_ithread()/post_ithread() respectively, play with priority register (priority 0 effectively disables interrupt on all the cores).

Test Plan

Tested with Cadence network adapter on HiFive Unleashed

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

This revision is now accepted and ready to land.Apr 4 2019, 11:05 PM
This revision was automatically updated to reflect the committed changes.