diff options
author | Saar Amar <saaramar5@gmail.com> | 2016-10-20 13:37:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-20 13:37:12 +0300 |
commit | 3a9f54d5e57a7817d68546a541848221a94938f0 (patch) | |
tree | 13e65b9edb8783bb5c6264f4c8da48744dde0418 | |
parent | 99fa8feda896c7ed19ffb74a2b167345b9d8570e (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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |