The cyclic mode uses two member variables in struct DumpInfo to store
the cyclic region each time. Since there's a global instance of struct
DumpInfo, then those two member variables, cyclic_start_pfn and
cyclic_end_pfn would be the same as global variable on behavior. So
with this attribute, the
v1-v2:
In first_cycle(), start_pfn assignation is not aligned to info-pfn_cyclic.
Now in v2 change this. Accordingly the pfn in write_elf_header() and
write_elf_pages_cyclic() need be adjusted to the real beginning of a
load segment, but not the cycle-start_pfn which may be lower
Now member variables to store cyclic pfn region in struct DumpInfo
is not needed any more, remove them.
Signed-off-by: Baoquan He b...@redhat.com
---
makedumpfile.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/makedumpfile.h b/makedumpfile.h
index 38df2b3..0d5b086 100644
---
Per struct cycle and the relevant helper functions, it's simple to
update cyclic region only. update_cyclic_region() is broken and not
needed any more. cycle containing the cyclic region is passed down,
and not global.
Related clean up is also done in this patch.
Signed-off-by: Baoquan He
On Wed, 22 Jan 2014, Wang Nan wrote:
This patch allows the kernel to be loaded at the middle of kernel awared
physical memory. Before this patch, users must use mem= or device tree to
cheat
kernel about the start address of physical memory.
This feature is useful in some special cases,
On Thu, Jan 23, 2014 at 02:15:07PM -0500, Nicolas Pitre wrote:
On Wed, 22 Jan 2014, Wang Nan wrote:
This patch allows the kernel to be loaded at the middle of kernel awared
physical memory. Before this patch, users must use mem= or device tree to
cheat
kernel about the start address of
On Thu, 23 Jan 2014, Russell King - ARM Linux wrote:
On Thu, Jan 23, 2014 at 02:15:07PM -0500, Nicolas Pitre wrote:
On Wed, 22 Jan 2014, Wang Nan wrote:
This patch allows the kernel to be loaded at the middle of kernel awared
physical memory. Before this patch, users must use mem= or