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:
authorMichael <gbps@ctf.re>2018-12-08 19:10:01 +0300
committerAlex Ionescu <ionescu007@users.noreply.github.com>2018-12-09 04:51:37 +0300
commit989d33b1bc6569965d7aad3bd50a8d35fa4c359e (patch)
treee396de4bffeeebe2cdd65be7fb650544a7514063
parente4a9bd6d91e829b5f42266943d5fb92fecd0a402 (diff)
Added parens to match code styleHEADmaster
-rw-r--r--shvvmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shvvmx.c b/shvvmx.c
index f2dc98f..1c65b01 100644
--- a/shvvmx.c
+++ b/shvvmx.c
@@ -96,7 +96,7 @@ ShvVmxMtrrAdjustEffectiveMemoryType (
// Check if this large page falls within the boundary. If a single
// physical page (4KB) touches it, we need to override the entire 2MB.
//
- if (((LargePageAddress + _2MB - 1) >= VpData->MtrrData[i].PhysicalAddressMin) &&
+ if (((LargePageAddress + (_2MB - 1)) >= VpData->MtrrData[i].PhysicalAddressMin) &&
(LargePageAddress <= VpData->MtrrData[i].PhysicalAddressMax))
{
//