lkml.org 
[lkml]   [2009]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [uClinux-dev] [PATCH/RFC] FDPIC: add hook for arches to customize program header parsing
Date
Mike Frysinger <vapier@gentoo.org> wrote:

> The Blackfin port has custom program header flags/addresses for
> automatically loading regions into the dedicated on-chip SRAM. So add a
> hook for ports to leverage.

Now that I've ACK'd this, I feel I'm going to have to NAK it. I'm not against
the general concept, but:

> + do_munmap(mm, *maddr, phdr->p_memsz + *disp);

There needs to be a mapping covering the SRAM region for the purposes of the
debugger. Do you have a chardev covering the SRAM device? Perhaps through
MTD?

David


\
 
 \ /
  Last update: 2009-12-04 18:49    [W:0.094 / U:4.200 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site