fix: reduce idle CPU wakeups and deferred-work polling

This commit is contained in:
daniel committed 2026-08-15 16:50:36 +02:00
1 parent f7677ac3f1
commit 788b662d44
10 files changed
+109 -14

No files matched your search

@@ -27,6 +27,11 @@ namespace Drivers::USB::Bluetooth {
// (PollEvents/DrainEvents/ProcessPendingCommands all self-serialize).
void ServiceEvents();
// True when boot-deferred initialization or queued HCI control work needs
// an idle-context service pass. USB receive events are signaled separately
// by xHCI and cause the dispatcher to service Bluetooth in the same pass.
bool HasDeferredWork();
// Query adapter state
bool IsInitialized();
uint8_t GetSlotId();