mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-14 16:59:20 +00:00
DriverInterruptHook::OnInterruptReceived should have SafeFunction macro
This commit is contained in:
@ -188,11 +188,11 @@ namespace Driver
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__amd64__)
|
#if defined(__amd64__)
|
||||||
void DriverInterruptHook::OnInterruptReceived(CPU::x64::TrapFrame *Frame)
|
SafeFunction void DriverInterruptHook::OnInterruptReceived(CPU::x64::TrapFrame *Frame)
|
||||||
#elif defined(__i386__)
|
#elif defined(__i386__)
|
||||||
void DriverInterruptHook::OnInterruptReceived(void *Frame)
|
SafeFunction void DriverInterruptHook::OnInterruptReceived(void *Frame)
|
||||||
#elif defined(__aarch64__)
|
#elif defined(__aarch64__)
|
||||||
void DriverInterruptHook::OnInterruptReceived(void *Frame)
|
SafeFunction void DriverInterruptHook::OnInterruptReceived(void *Frame)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
SmartCriticalSection(DriverInterruptLock);
|
SmartCriticalSection(DriverInterruptLock);
|
||||||
|
Reference in New Issue
Block a user