Added WiFi kernel drivers and refactored Wifi service (#557)

+ other improvements
This commit is contained in:
Ken Van Hoeylandt
2026-07-09 21:03:38 +02:00
committed by GitHub
parent dbb96a891c
commit 1c2806bddf
104 changed files with 2347 additions and 1428 deletions
+24
View File
@@ -0,0 +1,24 @@
#pragma once
#include <cstdint>
namespace tt::kernel::critical {
struct CriticalInfo {
uint32_t isrm;
bool fromIsr;
bool kernelRunning;
};
/** Enter a critical section
* @return info on the status
*/
CriticalInfo enter();
/**
* Exit a critical section
* @param[in] info the info from when the critical section was started
*/
void exit(CriticalInfo info);
} // namespace