Re: Mapping large PCMCIA common memory in NDIS miniport
From: Seung Yi (seungyi_at_codetelligence_NOSPAMMERS_.com)
Date: 04/01/04
- Next message: Dean Ramsier: "Re: PWM Driver"
- Previous message: Paul: "ekct has anyone actually used it?"
- In reply to: removethis_nospam: "Mapping large PCMCIA common memory in NDIS miniport"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 01 Apr 2004 10:33:01 -0800
The problem will even be more extensive as the size of the PCMCIA memory
window is platform specific. Generally you should have enough window space
as early Flash cards were flash chip arrays mapped into the local
processor space (up to 64MB). But as these cards become more scarce there
isn't much of a need to make the window large anymore. You could try to
take the base address which should just be the physical address (system
bus address) and perform your own virtualalloc/copy. You also have to
consider that you are operating in the device.exe process, you could be
running out of virtual memory or mapping resources.
On Wed, 31 Mar 2004 23:21:07 -0800, JM Son
<minibrain(removethis_nospam)@hotmail.com> wrote:
> Dear all,
>
> I'm porting PCMCIA wireless LAN adapter to Windows CE 4.2 on Samsung
> SMDK2410 board
>
> Since, our PCMCIA adapter use large common memmory about 2.25MB,
> I tried to map common memory space in MiniportInitialize() with
> NdisMMapIoSpace() function like this:
> --------------------
> Status = NdisMMapIoSpace( (PVOID *)(&(pAdapter->pMemVirtual)),
> pAdapter->MiniportAdapterHandle,
> pAdapter->MemBaseAddr,
> pAdapter->MemSpaceSize); // MemSpaceSize =
> 0x240000
> -------------------
> but, this code generates OUT_OF_RESOURCE error.
>
> I suppose that the reason of error is the memory size is too large.
>
> Is it possible to map such large size of PCMCIA common memory?
> If possible, how can I do that?
>
>
> Thanks in advance...
-- Seung Yi Chief Technologist Codetelligence, Inc. Web : www.codetelligence.com
- Next message: Dean Ramsier: "Re: PWM Driver"
- Previous message: Paul: "ekct has anyone actually used it?"
- In reply to: removethis_nospam: "Mapping large PCMCIA common memory in NDIS miniport"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|