mirror of
https://github.com/Fennix-Project/Drivers.git
synced 2025-05-25 22:14:31 +00:00
Do not load AHCI driver if the debugger is attached
This commit is contained in:
parent
5d0cc519ae
commit
1e7632657e
@ -428,6 +428,10 @@ int DriverEntry(void *Data)
|
||||
KAPI = (KernelAPI *)Data;
|
||||
if (KAPI->Version.Major < 0 || KAPI->Version.Minor < 0 || KAPI->Version.Patch < 0)
|
||||
return KERNEL_API_VERSION_NOT_SUPPORTED;
|
||||
|
||||
if (KAPI->Info.KernelDebug) /* FIXME: TCG doesn't like this driver. */
|
||||
return NOT_AVAILABLE;
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user