Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ionescu007/SimpleVisor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaar Amar <saaramar5@gmail.com>2016-10-20 13:37:12 +0300
committerGitHub <noreply@github.com>2016-10-20 13:37:12 +0300
commit3a9f54d5e57a7817d68546a541848221a94938f0 (patch)
tree13e65b9edb8783bb5c6264f4c8da48744dde0418
parent99fa8feda896c7ed19ffb74a2b167345b9d8570e (diff)
Update shvos.c
In ShvVpInitialize, there is a branch checking for SHV_STATUS_SUCCESS, added in one of the commits supporting UEFI (f5dd1af). If you want to share code between nt and uefi, the nt version of ShvOsPrepareProcessor should return SHV_STATUS_SUCCESS in default flow :)
-rw-r--r--nt/shvos.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nt/shvos.c b/nt/shvos.c
index 5e44bd6..1a748b3 100644
--- a/nt/shvos.c
+++ b/nt/shvos.c
@@ -151,16 +151,16 @@ ShvOsDpcRoutine (
KeSignalCallDpcDone(SystemArgument1);
}
-VOID
+INT32
ShvOsPrepareProcessor (
_In_ PSHV_VP_DATA VpData
)
{
//
- // Nothing to do on NT
+ // Nothing to do on NT, only return SHV_STATUS_SUCCESS
//
UNREFERENCED_PARAMETER(VpData);
- NOTHING;
+ return SHV_STATUS_SUCCESS;
}
VOID