Simplifications and indentation correction.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37191 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a19f81b6c7
commit
8bcc0694ad
@ -293,8 +293,6 @@ X86VMTranslationMapPAE::Unmap(addr_t start, addr_t end)
|
||||
InvalidatePage(start);
|
||||
}
|
||||
}
|
||||
|
||||
pinner.Unlock();
|
||||
} while (start != 0 && start < end);
|
||||
|
||||
return B_OK;
|
||||
@ -542,7 +540,7 @@ X86VMTranslationMapPAE::Protect(addr_t start, addr_t end, uint32 attributes,
|
||||
oldEntry = X86PagingMethodPAE::TestAndSetPageTableEntry(
|
||||
&pageTable[index],
|
||||
(entry & ~(X86_PAE_PTE_PROTECTION_MASK
|
||||
| X86_PAE_PTE_MEMORY_TYPE_MASK))
|
||||
| X86_PAE_PTE_MEMORY_TYPE_MASK))
|
||||
| newProtectionFlags
|
||||
| X86PagingMethodPAE::MemoryTypeToPageTableEntryFlags(
|
||||
memoryType),
|
||||
@ -559,8 +557,6 @@ X86VMTranslationMapPAE::Protect(addr_t start, addr_t end, uint32 attributes,
|
||||
InvalidatePage(start);
|
||||
}
|
||||
}
|
||||
|
||||
pinner.Unlock();
|
||||
} while (start != 0 && start < end);
|
||||
|
||||
return B_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user