mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
DriverInterruptHook::OnInterruptReceived should have SafeFunction macro
This commit is contained in:
parent
e4ec9d87b8
commit
ddfd071788
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user