Vivek Goyal <[EMAIL PROTECTED]> wrote:
- I think this patch will break compatibility with gdb as we are not mapping
  kernel in virtual address space. All the physical chunks are being mapped
  to linearly mapped region in virtual address space and none is being mapped
  to kernel text virtual address region.


Vivek,

Wouldn't it also break the algorithm used by the crash utility
to determine the kernel's physical base address?

Recall that we decided to search for the PT_LOAD segment
starting at  __START_KERNEL_map, and then calculate the
physical base address like so:

  phys_base = phdr->p_paddr - (phdr->p_vaddr & ~(__START_KERNEL_map));

Dave
 

_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to