Removed TEXT_OFFSET parameter from linux configuration

This parameter does not significantly pose a restriction on configuration.
It can be adjusted depending on phys_offset. Therefore we don't maintain it.
This commit is contained in:
Bahadir Balban
2009-09-28 14:13:16 +03:00
parent fb1de576cb
commit 2f2e448667
2 changed files with 0 additions and 8 deletions

View File

@@ -14,7 +14,6 @@ class Container:
self.pager_size = 0
self.linux_page_offset = 0
self.linux_phys_offset = 0
self.linux_text_offset = 0
self.linux_mapsize = 0
self.physmem = {}
self.physmem["START"] = {}
@@ -85,10 +84,6 @@ class configuration:
elif param[:len("LINUX_PHYS_OFFSET")] == "LINUX_PHYS_OFFSET":
self.containers[id].linux_phys_offset = int(val, 0)
self.containers[id].pager_lma += int(val, 0)
elif param[:len("LINUX_TEXT_OFFSET")] == "LINUX_TEXT_OFFSET":
self.containers[id].linux_text_offset = int(val, 0)
self.containers[id].pager_lma += int(val, 0)
self.containers[id].pager_vma += int(val, 0)
elif re.match(r"(VIRT|PHYS){1}([0-9]){1}(_){1}(START|END){1}", param):
matchobj = re.match(r"(VIRT|PHYS){1}([0-9]){1}(_){1}(START|END){1}", param)
virtphys, regionidstr, discard1, startend = matchobj.groups()