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)
Feb 27 2024, 1:12 AM
Unknown Object (File)
Feb 3 2024, 7:14 AM
Unknown Object (File)
Dec 20 2023, 6:26 AM
Unknown Object (File)
Dec 14 2023, 6:25 AM
Unknown Object (File)
Dec 13 2023, 1:11 AM
Unknown Object (File)
Sep 24 2023, 3:29 AM
Unknown Object (File)
Aug 7 2023, 10:10 AM
Unknown Object (File)
Aug 3 2023, 2:36 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

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.