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)
Wed, Mar 12, 9:07 AM
Unknown Object (File)
Mar 7 2025, 11:10 PM
Unknown Object (File)
Mar 5 2025, 10:44 AM
Unknown Object (File)
Mar 4 2025, 5:38 PM
Unknown Object (File)
Mar 2 2025, 8:08 PM
Unknown Object (File)
Jan 20 2025, 6:34 PM
Unknown Object (File)
Dec 10 2024, 6:46 PM
Unknown Object (File)
Dec 3 2024, 5:32 AM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.