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)
Mon, Jan 20, 6:34 PM
Unknown Object (File)
Dec 10 2024, 6:46 PM
Unknown Object (File)
Dec 3 2024, 5:32 AM
Unknown Object (File)
Nov 28 2024, 12:02 AM
Unknown Object (File)
Nov 27 2024, 12:04 PM
Unknown Object (File)
Nov 10 2024, 11:27 PM
Unknown Object (File)
Nov 8 2024, 2:51 AM
Unknown Object (File)
Nov 7 2024, 4:49 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.