No. The sram device can not be accessed by any user space application.
The applications can only do malloc/free via system call.

Sonic 

-----Original Message-----
From: uclinux-dist-devel-boun...@blackfin.uclinux.org
[mailto:uclinux-dist-devel-boun...@blackfin.uclinux.org] On Behalf Of
Jie Zhang
Sent: Saturday, December 05, 2009 8:28 AM
To: David Howells
Cc: uclinux-dist-de...@blackfin.uclinux.org; Greg Ungerer; uClinux
development list; David McCullough; linux-ker...@vger.kernel.org
Subject: Re: [Uclinux-dist-devel] [uClinux-dev] [PATCH/RFC] FDPIC: add
hook for arches to customize program header parsing

On 12/05/2009 01:44 AM, 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

Our GDB is still lack of the feature to debug applications using SRAM. 
So this part of code was not got exercised. So if we remove this line,
can this patch got merged?

> debugger.  Do you have a chardev covering the SRAM device?  Perhaps 
> through MTD?
>
Sorry, I don't know the answer to these two questions.


Jie


_______________________________________________
Uclinux-dist-devel mailing list
uclinux-dist-de...@blackfin.uclinux.org
https://blackfin.uclinux.org/mailman/listinfo/uclinux-dist-devel
_______________________________________________
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

Reply via email to