mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-28 12:34:53 +02:00
Add a note about _maxphyaddr.
This commit is contained in:
@@ -30,6 +30,8 @@ class Intel(interfaces.layers.TranslationLayerInterface):
|
||||
# These can vary depending on the type of space
|
||||
self._entry_format = "<I"
|
||||
self._bits_per_register = 32
|
||||
# NOTE: _maxphyaddr is MAXPHYADDR as defined in the Intel specs *NOT* the maximum physical address
|
||||
# Use bits_per_register to determine the range of an IntelTranslationLayer
|
||||
self._maxphyaddr = 32
|
||||
self._maxvirtaddr = self._maxphyaddr
|
||||
self._index_shift = int(math.ceil(math.log2(struct.calcsize(self._entry_format))))
|
||||
|
||||
Reference in New Issue
Block a user