Ensure maxaddr is never includes the volatile bit.

This commit is contained in:
Mike Auty
2018-05-23 19:41:13 +01:00
parent 347b4854ff
commit 8bc5a4e898
+1 -1
View File
@@ -48,7 +48,7 @@ class RegistryHive(interfaces.layers.TranslationLayerInterface):
self._minaddr = 0
# If there's no base_block, we don't know how big the address space is
# We also don't know the root_cell_offset, so we use a hardcoded value of 0x20
self._maxaddr = self._base_block.Length or 0xffffffff
self._maxaddr = self._base_block.Length or 0x7fffffff
@property
def hive_offset(self) -> int: