On Fri, Dec 4, 2009 at 12:44, David Howells wrote: > Mike Frysinger <vap...@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?
SRAM is accessed directly by kernel/user space. there is no device indirection nor are there any mappings. -mike _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev