From ddfd071788a732a20a2411911cb5800614f70010 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 18 Dec 2022 14:34:35 +0200 Subject: [PATCH] DriverInterruptHook::OnInterruptReceived should have SafeFunction macro --- Core/Driver/Driver.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/Driver/Driver.cpp b/Core/Driver/Driver.cpp index 7967097..8d1efb7 100644 --- a/Core/Driver/Driver.cpp +++ b/Core/Driver/Driver.cpp @@ -188,11 +188,11 @@ namespace Driver } #if defined(__amd64__) - void DriverInterruptHook::OnInterruptReceived(CPU::x64::TrapFrame *Frame) + SafeFunction void DriverInterruptHook::OnInterruptReceived(CPU::x64::TrapFrame *Frame) #elif defined(__i386__) - void DriverInterruptHook::OnInterruptReceived(void *Frame) + SafeFunction void DriverInterruptHook::OnInterruptReceived(void *Frame) #elif defined(__aarch64__) - void DriverInterruptHook::OnInterruptReceived(void *Frame) + SafeFunction void DriverInterruptHook::OnInterruptReceived(void *Frame) #endif { SmartCriticalSection(DriverInterruptLock);