DriverInterruptHook::OnInterruptReceived should have SafeFunction macro

This commit is contained in:
Alex 2022-12-18 14:34:35 +02:00
parent e4ec9d87b8
commit ddfd071788
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -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);