Marcel Moolenaar 5f96573141 Add support for virtual cores (aka minidumps). To that end, refactor this
file as follows:
1.  Common ia64-specific support functions have the ia64_ prefix.
2.  Functions that work on physical cores have the phys_ prefix.
3.  Functions that work on virtual cores have the virt_ prefix.

With that:
1.  _kvm_kvatop() has been renamed to phys_kvatop() as it handles
    physical cores only.
2.  The new _kvm_kvatop() is nothing but a wrapper that calls either
    phys_kvatop() or virt_kvatop() by virtue of the kvatop function
    pointer in the vmstate structure.
3.  virt_kvatop() is nothing but a wrapper around virt_addr2off().
4.  virt_addr2off() iterates over the Phdrs to find the segment in
    which the address falls and return the file offset for it.

Now it's up to the kernel to populate the core file appropriately.
2013-12-29 02:31:40 +00:00
..
2011-01-23 11:08:28 +00:00
2011-01-23 11:08:28 +00:00
2011-01-23 11:08:28 +00:00
2011-01-23 11:08:28 +00:00
2011-01-23 11:08:28 +00:00
2013-04-11 13:05:38 +00:00
2011-01-23 11:08:28 +00:00
2011-01-23 11:08:28 +00:00
2011-01-23 11:08:28 +00:00
2011-01-23 11:08:28 +00:00
2011-01-23 11:08:28 +00:00
2011-01-23 11:08:28 +00:00
2010-11-07 03:26:22 +00:00
2011-01-23 11:08:28 +00:00