This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How can I allocate a nocache memory block, and this block can be used by others ??


Dear Andrew,

        I got it, and it works~~

    Thank you~

Steven Cheng


----- Original Message ----- 
From: "Andrew Lunn" <andrew@lunn.ch>
To: "Steven_cheng" <05071@alphanetworks.com>
Cc: "eCos Discussion" <ecos-discuss@ecos.sourceware.org>
Sent: Thursday, August 25, 2005 3:25 PM
Subject: Re: [ECOS] How can I allocate a nocache memory block, and this
block can be used by others ??


> On Thu, Aug 25, 2005 at 01:17:39PM +0800, Steven_cheng wrote:
> >
> > Dear All,
> >
> >     I want to allocate a non-cache memory for my nic driver,  and it
uses
> > the logic address CYGMEM_SECTION_pci_window_VIR (from 0x10000000 to
> > 0x11000000) and physical
> > address CYGMEM_SECTION_pci_window_PHY (from 0x0f000000 to 0x10000000).
> > But I find that the nocache buffer is used by others when I transfer
file
> > with xmodem in RedBoot.
> >
> > How can I allocate a nocache memory block, and this block can be used by
> > others ??
>
> One platform that i've used before which does this correctly is the
> EBSA285. Take a look at
>
> packages/hal/arm/ebsa285/current/include/pkgconf/mlt_arm_ebsa285_ram.*
>
> Its the __pci_window bits you are interested in.
>
>         Andrew
>
> -- 
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]