1
0
mirror of https://github.com/momo5502/hypervisor.git synced 2025-09-03 07:27:25 +00:00

Add basic runner to start the driver

This commit is contained in:
momo5502
2022-03-15 18:57:19 +01:00
parent 81a2aff035
commit 7b77c1a0a6
15 changed files with 207 additions and 18 deletions

36
src/driver/nt_ext.hpp Normal file
View File

@@ -0,0 +1,36 @@
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
NTKERNELAPI
_IRQL_requires_max_(APC_LEVEL)
_IRQL_requires_min_(PASSIVE_LEVEL)
_IRQL_requires_same_
VOID
KeGenericCallDpc(
_In_ PKDEFERRED_ROUTINE Routine,
_In_opt_ PVOID Context
);
NTKERNELAPI
_IRQL_requires_(DISPATCH_LEVEL)
_IRQL_requires_same_
VOID
KeSignalCallDpcDone(
_In_ PVOID SystemArgument1
);
NTKERNELAPI
_IRQL_requires_(DISPATCH_LEVEL)
_IRQL_requires_same_
LOGICAL
KeSignalCallDpcSynchronize(
_In_ PVOID SystemArgument2
);
#ifdef __cplusplus
}
#endif